Version Description
Download this release
Release Info
Developer | zorem |
Plugin | Advanced Shipment Tracking for WooCommerce |
Version | 3.1.8 |
Comparing to | |
See all releases |
Code changes from version 3.3 to 3.1.8
- assets/css/admin.css +0 -2284
- assets/css/customizer-styles.css +0 -128
- assets/css/customizer.css +0 -637
- assets/css/icons/ast-icon.png +0 -0
- assets/css/icons/available-for-picup-o.png +0 -0
- assets/css/icons/available-for-picup.png +0 -0
- assets/css/icons/carrier-unsupported-o.png +0 -0
- assets/css/icons/carrier-unsupported.png +0 -0
- assets/css/icons/delivered-o.png +0 -0
- assets/css/icons/delivered.png +0 -0
- assets/css/icons/failure-o.png +0 -0
- assets/css/icons/failure.png +0 -0
- assets/css/icons/in-transit-o.png +0 -0
- assets/css/icons/in-transit.png +0 -0
- assets/css/icons/invalid-o.png +0 -0
- assets/css/icons/invalid-tracking-number-o.png +0 -0
- assets/css/icons/invalid-tracking-number.png +0 -0
- assets/css/icons/invalid-user-key-o.png +0 -0
- assets/css/icons/invalid-user-key.png +0 -0
- assets/css/icons/invalid.png +0 -0
- assets/css/icons/label_cancelled-o.png +0 -0
- assets/css/icons/label_cancelled.png +0 -0
- assets/css/icons/on-hold-o.png +0 -0
- assets/css/icons/on-hold.png +0 -0
- assets/css/icons/out-for-delivery-o.png +0 -0
- assets/css/icons/out-for-delivery.png +0 -0
- assets/css/icons/pending-trackship-o.png +0 -0
- assets/css/icons/pending-trackship.png +0 -0
- assets/css/icons/pre-transit-o.png +0 -0
- assets/css/icons/pre-transit.png +0 -0
- assets/css/icons/return-to-sender-o.png +0 -0
- assets/css/icons/return-to-sender.png +0 -0
- assets/css/icons/unknown-o.png +0 -0
- assets/css/icons/unknown.png +0 -0
- assets/css/icons/wrong-shipiing-provider-o.png +0 -0
- assets/css/icons/wrong-shipiing-provider.png +0 -0
- assets/css/preview-styles.css +0 -12
- assets/images/3plwinner.png +0 -0
- assets/images/WooCommerce-PDF-Invoices-Packing-Slips.png +0 -0
- assets/images/WooCommerce-PDF-Invoices.png +0 -0
- assets/images/aliexpress.png +0 -0
- assets/images/alp.png +0 -0
- assets/images/aosm.png +0 -0
- assets/images/ast-logo.png +0 -0
- assets/images/ast-pro-banner.png +0 -0
- assets/images/cart-rover.png +0 -0
- assets/images/cbr.png +0 -0
- assets/images/cev-icon.png +0 -0
- assets/images/customcat.png +0 -0
- assets/images/dear-system.png +0 -0
- assets/images/dianxiaomi.png +0 -0
- assets/images/eiz.png +0 -0
- assets/images/icon-default.png +0 -0
- assets/images/ordoro.png +0 -0
- assets/images/paypal-addon-banner.png +0 -0
- assets/images/picqer.png +0 -0
- assets/images/printify.png +0 -0
- assets/images/quickbooks.png +0 -0
- assets/images/readytoship.png +0 -0
- assets/images/royal-mail.png +0 -0
- assets/images/shipstation.png +0 -0
- assets/images/smswoo-addons-icon.jpg +0 -0
- assets/images/smswoo-icon.png +0 -0
- assets/images/sre.png +0 -0
- assets/images/timeline-round.png +0 -0
- assets/images/tpi-addon-icon.png +0 -0
- assets/images/trackship-ast-banner.png +0 -0
- assets/images/trackship-logo.png +0 -0
- assets/images/trackship.png +0 -0
- assets/images/ts-header-banner.png +0 -0
- assets/images/usps.png +0 -0
- assets/images/wc-addon-banner.jpg +0 -0
- assets/images/woo-UPS-shipping.png +0 -0
- assets/images/woo-shipping.png +0 -0
- assets/images/zorem-logo.png +0 -0
- assets/js/admin.js +0 -486
- assets/js/customizer-scripts.js +0 -110
- assets/js/customizer.js +0 -608
- assets/js/hip.js +0 -341
- assets/js/jquery.ajax.queue.js +0 -74
- assets/js/preview-scripts.js +0 -236
- assets/js/settings.js +0 -99
- assets/js/shipping_row.js +0 -956
- assets/shipment-provider-img/wahana.png +0 -0
- assets/shipment-provider-img/xpressbees.png +0 -0
- assets/shipment-provider-img/yamato.png +0 -0
- assets/shipment-provider-img/yanwen.png +0 -0
- assets/shipment-provider-img/yodel.png +0 -0
- assets/shipment-provider-img/yun-express-tracking.png +0 -0
- assets/shipment-provider-img/yurtici-kargo.png +0 -0
- assets/tracking.csv +0 -4
- includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php +0 -479
- includes/class-wc-admin-notices.php +0 -111
- includes/class-wc-advanced-shipment-tracking-admin-notice.php +0 -163
- includes/class-wc-advanced-shipment-tracking-admin.php +0 -2256
- includes/class-wc-advanced-shipment-tracking-install.php +0 -419
- includes/class-wc-advanced-shipment-tracking-settings.php +0 -704
- includes/class-wc-advanced-shipment-tracking.php +0 -1685
- includes/customizer/class-wc-partial-shipped-email-customizer.php +0 -375
- includes/customizer/class-wc-tracking-info-customizer.php +0 -1163
- includes/customizer/class-wc-updated-tracking-email-customizer.php +0 -420
- includes/customizer/class-wcast-customizer.php +0 -465
- includes/customizer/custom-controls.php +0 -170
- includes/customizer/preview/partial_shipped_preview.php +0 -29
- includes/customizer/preview/preview.php +0 -29
- includes/customizer/preview/updated_tracking_preview.php +0 -29
- includes/email-manager.php +0 -116
- includes/emails/class-shipment-partial-shipped-email.php +0 -197
- includes/emails/class-shipment-updated-tracking-email.php +0 -184
- includes/tracking-info.php +0 -82
- includes/views/activity_panel.php +0 -70
- includes/views/admin_options_addons.php +0 -170
- includes/views/admin_options_bulk_upload.php +0 -122
- includes/views/admin_options_osm.php +0 -88
- includes/views/admin_options_settings.php +0 -79
- includes/views/admin_options_shipping_provider.php +0 -130
- includes/views/admin_options_trackship_integration.php +0 -28
- includes/views/integrations_admin_options.php +0 -25
- includes/views/zorem_admin_addons_sidebar.php +30 -0
- includes/views/zorem_admin_bulk_upload_sidebar.php +56 -0
- includes/views/zorem_admin_sidebar.php +53 -0
- lang/woo-advanced-shipment-tracking-bg_BG.mo +0 -0
- lang/woo-advanced-shipment-tracking-bg_BG.po +1328 -593
- lang/woo-advanced-shipment-tracking-da_DK.mo +0 -0
- lang/woo-advanced-shipment-tracking-da_DK.po +1316 -603
- lang/woo-advanced-shipment-tracking-de_DE.mo +0 -0
- lang/woo-advanced-shipment-tracking-de_DE.po +1355 -609
- lang/woo-advanced-shipment-tracking-el.mo +0 -0
- lang/woo-advanced-shipment-tracking-el.po +1341 -609
- lang/woo-advanced-shipment-tracking-es_ES.mo +0 -0
- lang/woo-advanced-shipment-tracking-es_ES.po +356 -291
assets/css/admin.css
DELETED
@@ -1,2284 +0,0 @@
|
|
1 |
-
/* fallback */
|
2 |
-
.zorem-layout__header {
|
3 |
-
height: 60px;
|
4 |
-
background: #fff;
|
5 |
-
display: flex;
|
6 |
-
justify-content: space-between;
|
7 |
-
flex-direction: row;
|
8 |
-
box-sizing: border-box;
|
9 |
-
padding: 0;
|
10 |
-
width: 100%;
|
11 |
-
z-index: 1001;
|
12 |
-
align-items: center;
|
13 |
-
position: relative;
|
14 |
-
}
|
15 |
-
.zorem-layout__header * {
|
16 |
-
box-sizing: border-box;
|
17 |
-
}
|
18 |
-
.zorem-layout__header .zorem-layout__header-logo{
|
19 |
-
width: 100px;
|
20 |
-
padding: 0 20px;
|
21 |
-
margin: 0;;
|
22 |
-
}
|
23 |
-
.zorem-layout__header .page_heading {
|
24 |
-
font-size: 14px;
|
25 |
-
color: #3c4758;
|
26 |
-
padding: 0 20px;
|
27 |
-
margin: auto 0;
|
28 |
-
font-weight: 400;
|
29 |
-
}
|
30 |
-
.zorem-layout__header .page_heading a {
|
31 |
-
text-decoration: none;
|
32 |
-
}
|
33 |
-
.zorem-layout__header .page_heading .dashicons {
|
34 |
-
font-size: 14px;
|
35 |
-
vertical-align: middle;
|
36 |
-
line-height: 20px;
|
37 |
-
}
|
38 |
-
.woocommerce-layout__activity-panel-tabs {
|
39 |
-
right: 0;
|
40 |
-
position: absolute;
|
41 |
-
}
|
42 |
-
.woocommerce-layout__activity-panel-tabs .dashicons{
|
43 |
-
width: 24px;
|
44 |
-
height: 24px;
|
45 |
-
font-size: 24px;
|
46 |
-
line-height: 24px;
|
47 |
-
color: #6e708c;
|
48 |
-
}
|
49 |
-
.woocommerce-layout__activity-panel-tabs label {
|
50 |
-
color: #005b9a;
|
51 |
-
}
|
52 |
-
.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab {
|
53 |
-
display: flex;
|
54 |
-
flex-direction: column;
|
55 |
-
justify-content: center;
|
56 |
-
align-items: center;
|
57 |
-
position: relative;
|
58 |
-
border: none;
|
59 |
-
outline: none;
|
60 |
-
cursor: pointer;
|
61 |
-
background-color: transparent;
|
62 |
-
max-width: -webkit-min-content;
|
63 |
-
max-width: min-content;
|
64 |
-
min-width: 80px;
|
65 |
-
width: 100%;
|
66 |
-
height: 60px;
|
67 |
-
color: #757575;
|
68 |
-
white-space: nowrap;
|
69 |
-
height: 44px;
|
70 |
-
}
|
71 |
-
.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.is-active{
|
72 |
-
color: #1e1e1e;
|
73 |
-
box-shadow: none;
|
74 |
-
}
|
75 |
-
.woocommerce-layout__activity-panel-wrapper {
|
76 |
-
height: calc(100vh - 60px);
|
77 |
-
background: #f0f0f0;
|
78 |
-
width: 510px;
|
79 |
-
transition-property: transform box-shadow;
|
80 |
-
transition-duration: .3s;
|
81 |
-
transition-timing-function: ease-in-out;
|
82 |
-
position: absolute;
|
83 |
-
right: 0;
|
84 |
-
top: 105px;
|
85 |
-
z-index: 1000;
|
86 |
-
overflow-x: hidden;
|
87 |
-
overflow-y: auto;
|
88 |
-
visibility: hidden;
|
89 |
-
opacity: 0;
|
90 |
-
}
|
91 |
-
|
92 |
-
.woocommerce-layout__activity-panel-wrapper.is-open {
|
93 |
-
box-shadow: 0 12px 12px 0 rgb(85 93 102 / 30%);
|
94 |
-
}
|
95 |
-
.woocommerce-layout__activity-panel-wrapper.is-switching {
|
96 |
-
animation: tabSwitch;
|
97 |
-
animation-duration: .3s;
|
98 |
-
visibility: visible;
|
99 |
-
opacity: 1;
|
100 |
-
}
|
101 |
-
.woocommerce-layout__activity-panel-header {
|
102 |
-
height: 50px;
|
103 |
-
background: #e0e0e0;
|
104 |
-
padding: 16px;
|
105 |
-
display: flex;
|
106 |
-
justify-content: space-between;
|
107 |
-
align-items: center;
|
108 |
-
}
|
109 |
-
.woocommerce-layout__inbox-title {
|
110 |
-
color: #1e1e1e;
|
111 |
-
display: flex;
|
112 |
-
align-items: center;
|
113 |
-
}
|
114 |
-
.css-activity-panel-Text {
|
115 |
-
font-size: 20px;
|
116 |
-
}
|
117 |
-
.woocommerce-list {
|
118 |
-
margin: 0;
|
119 |
-
padding: 0;
|
120 |
-
}
|
121 |
-
.woocommerce-list__item {
|
122 |
-
display: flex;
|
123 |
-
align-items: center;
|
124 |
-
margin-bottom: 0;
|
125 |
-
background-color: #fff;
|
126 |
-
}
|
127 |
-
.woocommerce-list__item:not(:first-child) {
|
128 |
-
border-top: 1px solid #f0f0f0;
|
129 |
-
}
|
130 |
-
.woocommerce-list__item.has-action {
|
131 |
-
cursor: pointer;
|
132 |
-
}
|
133 |
-
.woocommerce-list__item > .woocommerce-list__item-inner {
|
134 |
-
text-decoration: none;
|
135 |
-
width: 100%;
|
136 |
-
display: flex;
|
137 |
-
align-items: center;
|
138 |
-
padding: 16px 24px;
|
139 |
-
}
|
140 |
-
.woocommerce-list__item .woocommerce-list__item-before {
|
141 |
-
margin-right: 20px;
|
142 |
-
display: flex;
|
143 |
-
align-items: center;
|
144 |
-
}
|
145 |
-
.woocommerce-list__item .woocommerce-list__item-title {
|
146 |
-
color: #005b9a;
|
147 |
-
}
|
148 |
-
.woocommerce-list-Text {
|
149 |
-
font-weight: 600;
|
150 |
-
font-size: 14px;
|
151 |
-
}
|
152 |
-
.woocommerce-list__item .woocommerce-list__item-after {
|
153 |
-
margin-left: 16px;
|
154 |
-
display: flex;
|
155 |
-
align-items: center;
|
156 |
-
margin-left: auto;
|
157 |
-
}
|
158 |
-
@media (min-width: 783px) {
|
159 |
-
.woocommerce-layout__activity-panel-header {
|
160 |
-
padding: 16px 24px;
|
161 |
-
}
|
162 |
-
}
|
163 |
-
#woocommerce-advanced-shipment-tracking .inside {
|
164 |
-
padding: 0 12px 12px;
|
165 |
-
margin: 0
|
166 |
-
}
|
167 |
-
#woocommerce-advanced-shipment-tracking .button-show-tracking-form {
|
168 |
-
margin-top: 12px;
|
169 |
-
}
|
170 |
-
#woocommerce-advanced-shipment-tracking #shipment-tracking-form {
|
171 |
-
display: none
|
172 |
-
}
|
173 |
-
#woocommerce-advanced-shipment-tracking #shipment-tracking-form p.form-field {
|
174 |
-
margin-top: 0
|
175 |
-
}
|
176 |
-
#woocommerce-advanced-shipment-tracking input[type=text] {
|
177 |
-
width: 100%
|
178 |
-
}
|
179 |
-
#woocommerce-advanced-shipment-tracking input[type=checkbox]{
|
180 |
-
margin: 0px 8px 0 0px;
|
181 |
-
vertical-align: bottom;
|
182 |
-
}
|
183 |
-
#woocommerce-advanced-shipment-tracking #change_order_to_shipped_field{
|
184 |
-
margin: 0px 4px 0 4px;
|
185 |
-
}
|
186 |
-
#woocommerce-advanced-shipment-tracking .preview_tracking_link {
|
187 |
-
display: none;
|
188 |
-
margin-bottom: 0
|
189 |
-
}
|
190 |
-
#woocommerce-advanced-shipment-tracking .preview_tracking_link a {
|
191 |
-
padding: 0 16px 0 0;
|
192 |
-
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAVklEQVQYV2NkIBIwoqtTLJn9H13sfk8qI4ZCkCJ0xTgVoisGK0TWDRKAKQKxYXJwhTAFyIpg7gQpRlGIrBtbQICNR7cGJoasAa4QWRCnQmxWIbsbJA8AqXxEC1jaCvYAAAAASUVORK5CYII=) no-repeat right
|
193 |
-
}
|
194 |
-
#woocommerce-advanced-shipment-tracking .meta {
|
195 |
-
font-size: 11px;
|
196 |
-
color: #999;
|
197 |
-
padding: 10px;
|
198 |
-
margin: 0
|
199 |
-
}
|
200 |
-
#woocommerce-advanced-shipment-tracking .meta a.delete-tracking {
|
201 |
-
color: #a00
|
202 |
-
}
|
203 |
-
#woocommerce-advanced-shipment-tracking #tracking-items {
|
204 |
-
margin: 0
|
205 |
-
}
|
206 |
-
#woocommerce-advanced-shipment-tracking .tracking-content {
|
207 |
-
background: #efefef none repeat scroll 0 0;
|
208 |
-
padding: 10px;
|
209 |
-
position: relative;
|
210 |
-
margin: 0
|
211 |
-
}
|
212 |
-
#woocommerce-advanced-shipment-tracking #tracking-items .tracking-item:first-child {
|
213 |
-
margin-top: 10px;
|
214 |
-
}
|
215 |
-
#woocommerce-advanced-shipment-tracking .tracking-content:after {
|
216 |
-
content: "";
|
217 |
-
display: block;
|
218 |
-
position: absolute;
|
219 |
-
bottom: -10px;
|
220 |
-
left: 20px;
|
221 |
-
width: 0;
|
222 |
-
height: 0;
|
223 |
-
border-width: 10px 10px 0 0;
|
224 |
-
border-style: solid;
|
225 |
-
border-color: #efefef transparent
|
226 |
-
}
|
227 |
-
section.tab_section {
|
228 |
-
display: none;
|
229 |
-
}
|
230 |
-
section.inner_tab_section {
|
231 |
-
display: none;
|
232 |
-
padding: 0;
|
233 |
-
border-top: 1px solid #ddd;
|
234 |
-
}
|
235 |
-
.tab_container_without_bg_1000{
|
236 |
-
max-width: 1000px;
|
237 |
-
margin: 25px 20px;
|
238 |
-
}
|
239 |
-
.tab_container_without_bg{
|
240 |
-
margin: 25px 20px;
|
241 |
-
}
|
242 |
-
input.tab_input,input.inner_tab_input {
|
243 |
-
display: none;
|
244 |
-
}
|
245 |
-
label.tab_label {
|
246 |
-
text-decoration: none;
|
247 |
-
padding: 15px;
|
248 |
-
font-size: 14px;
|
249 |
-
color: #013047;
|
250 |
-
display: inline-block;
|
251 |
-
line-height: 1;
|
252 |
-
outline: none;
|
253 |
-
}
|
254 |
-
label.inner_tab_label {
|
255 |
-
text-decoration: none;
|
256 |
-
padding: 12px 12px 8px;
|
257 |
-
font-size: 14px;
|
258 |
-
display: inline-block;
|
259 |
-
line-height: 1;
|
260 |
-
outline: none;
|
261 |
-
font-weight: 600;
|
262 |
-
}
|
263 |
-
.ts_notifications_outer_table label.inner_tab_label{
|
264 |
-
padding: 15px 12px 15px;
|
265 |
-
}
|
266 |
-
.ts_notifications_outer_table input.inner_tab_input:checked + label {
|
267 |
-
border-bottom: 3px solid #005b9a;
|
268 |
-
padding: 15px 12px 12px;
|
269 |
-
}
|
270 |
-
.menu_link{
|
271 |
-
text-decoration: none;
|
272 |
-
padding: 15px;
|
273 |
-
font-size: 14px;
|
274 |
-
color: #3c4c58;
|
275 |
-
display: inline-block;
|
276 |
-
line-height: 1;
|
277 |
-
outline: none;
|
278 |
-
vertical-align: middle;
|
279 |
-
}
|
280 |
-
label.tab_label:hover {
|
281 |
-
color: #005b9a;
|
282 |
-
cursor: pointer;
|
283 |
-
}
|
284 |
-
input.tab_input:checked + label {
|
285 |
-
color: #3c4758;
|
286 |
-
border-bottom: 3px solid #3bc4e4;
|
287 |
-
margin-bottom: -3px;
|
288 |
-
font-weight: 600;
|
289 |
-
}
|
290 |
-
label.tab_label.first_label {
|
291 |
-
margin-left: 20px;
|
292 |
-
}
|
293 |
-
input.inner_tab_input:checked + label.ts_tabs_label{
|
294 |
-
border-bottom: 3px solid #09d3ac;
|
295 |
-
}
|
296 |
-
.menu_devider {
|
297 |
-
border-top: 1px solid #e0e0e0;
|
298 |
-
margin-bottom: 15px;
|
299 |
-
}
|
300 |
-
.tab_inner_container {
|
301 |
-
padding: 0;
|
302 |
-
margin: 0 auto;
|
303 |
-
max-width: 1000px;
|
304 |
-
}
|
305 |
-
.provider_settings_icon {
|
306 |
-
text-decoration: none;
|
307 |
-
margin: 5px;
|
308 |
-
line-height: 30px;
|
309 |
-
}
|
310 |
-
.provider_settings_icon span{
|
311 |
-
width: 26px;
|
312 |
-
height: 26px;
|
313 |
-
font-size: 26px;
|
314 |
-
vertical-align: middle;
|
315 |
-
}
|
316 |
-
.provider_settings .tgl-btn{
|
317 |
-
margin-left: 5px;
|
318 |
-
vertical-align: middle;
|
319 |
-
}
|
320 |
-
.tab_inner_container h4 {
|
321 |
-
margin-top: 0;
|
322 |
-
}
|
323 |
-
#tab1:checked ~ #content1, #tab2:checked ~ #content2, #tab3:checked ~ #content3, #tab4:checked ~ #content4, #tab5:checked ~ #content5, #tab6:checked ~ #content6, #tab7:checked ~ #content7, #tab8:checked ~ #content8, #tab9:checked ~ #content9, #tab10:checked ~ #content10,#tab_trackship_dashboard:checked ~ #content_trackship_dashboard,#tab_trackship_settings:checked ~ #content_trackship_settings,#tab_tracking_page:checked ~ #content_tracking_page,#tab_status_notifications:checked ~ #content_status_notifications,#tab_tools:checked ~ #content_tools, #tab_license:checked ~ #content_tab_license, #tab_addons:checked ~ #content_tab_addons, #tab_osm:checked ~ #content_osm, #trackship_tab:checked ~ #content_trackship_dashboard, #trackship:checked ~ #trackship_landing,#integrations_tab:checked ~ #integrations_content {
|
324 |
-
display: block !important;
|
325 |
-
}
|
326 |
-
#tab_email_notifications:checked ~ .shipment-status-email-section,#tab_sms_notifications:checked ~ .shipment-status-sms-section{
|
327 |
-
display: block !important;
|
328 |
-
}
|
329 |
-
.ast_admin_content {
|
330 |
-
vertical-align: top;
|
331 |
-
}
|
332 |
-
.spinner.active {
|
333 |
-
visibility: visible;
|
334 |
-
}
|
335 |
-
.success_msg{
|
336 |
-
border-left: 3px solid;
|
337 |
-
border-color: green;
|
338 |
-
background: #fff;
|
339 |
-
margin-top: 20px;
|
340 |
-
padding: 10px 15px;
|
341 |
-
}
|
342 |
-
#woocommerce-advanced-shipment-tracking #advanced-shipment-tracking-form {
|
343 |
-
display: none;
|
344 |
-
}
|
345 |
-
|
346 |
-
.ast_admin_content .form-table th.titledesc {
|
347 |
-
width: 40%;
|
348 |
-
}
|
349 |
-
.ast_admin_content .get_shipment_status_tool .form-table th.titledesc{
|
350 |
-
width: 70%;
|
351 |
-
}
|
352 |
-
.ast_admin_content .get_shipment_status_tool .form-table td:last-child{
|
353 |
-
text-align: right;
|
354 |
-
}
|
355 |
-
.ast_admin_content .get_shipment_status_tool .form-table.heading-table td:last-child{
|
356 |
-
text-align: left;
|
357 |
-
}
|
358 |
-
.ast_admin_content table.form-table.upload_csv_table th{
|
359 |
-
width: 40%;
|
360 |
-
}
|
361 |
-
.woocommerce .ast_admin_content table.form-table th label .woocommerce-help-tip{
|
362 |
-
margin: -4px 0 0 5px;
|
363 |
-
position: relative;
|
364 |
-
font-size: 21px;
|
365 |
-
}
|
366 |
-
|
367 |
-
.woocommerce .ast_admin_content table.form-table select{
|
368 |
-
width: 100%;
|
369 |
-
max-width:400px;
|
370 |
-
}
|
371 |
-
.ast_admin_content .form-table .wp-color-result.button {
|
372 |
-
margin: 0 6px 0px 0;
|
373 |
-
}
|
374 |
-
#wc_ast_status_label_color,#wc_ast_status_partial_shipped_label_color,#wc_ast_status_updated_tracking_label_color,#wc_ast_select_primary_color,#wc_ast_select_border_color,#wc_ast_shipped_status_label_color {
|
375 |
-
width: 80px;
|
376 |
-
}
|
377 |
-
|
378 |
-
.tab_page_heading {
|
379 |
-
font-size: 22px;
|
380 |
-
font-weight: 600;
|
381 |
-
color: #3c4758;
|
382 |
-
margin: 25px 20px;
|
383 |
-
}
|
384 |
-
.tab_section_heading {
|
385 |
-
font-size: 18px;
|
386 |
-
font-weight: 600;
|
387 |
-
color: #444;
|
388 |
-
margin: 0 0 10px;
|
389 |
-
padding-bottom: 10px;
|
390 |
-
}
|
391 |
-
.tab_container_without_bg_1000 .tab_page_heading{
|
392 |
-
margin: 25px 15px 25px 0;
|
393 |
-
}
|
394 |
-
.tab_section_heading.clear_spacing, .tab_page_heading.clear_spacing {
|
395 |
-
margin: 0;
|
396 |
-
padding: 0;
|
397 |
-
}
|
398 |
-
.botton_border {
|
399 |
-
border-bottom: 1px solid #e0e0e0;
|
400 |
-
}
|
401 |
-
.wp-core-ui .btn_green2 {
|
402 |
-
background: #09d3ac;
|
403 |
-
text-shadow: none;
|
404 |
-
border-color: #09d3ac;
|
405 |
-
box-shadow: none;
|
406 |
-
font-size: 14px;
|
407 |
-
line-height: 32px;
|
408 |
-
height: 35px;
|
409 |
-
padding: 0 10px;
|
410 |
-
}
|
411 |
-
.wp-core-ui .btn_ast2{
|
412 |
-
background: #005B9A;
|
413 |
-
text-shadow: none;
|
414 |
-
border-color: #005B9A;
|
415 |
-
box-shadow: none;
|
416 |
-
font-size: 14px;
|
417 |
-
line-height: 35px;
|
418 |
-
padding: 0 10px;
|
419 |
-
}
|
420 |
-
.wp-core-ui .btn_full{
|
421 |
-
width: 100%;
|
422 |
-
}
|
423 |
-
|
424 |
-
.wp-core-ui .btn_red {
|
425 |
-
background: red;
|
426 |
-
text-shadow: none;
|
427 |
-
border-color: red;
|
428 |
-
box-shadow: none;
|
429 |
-
font-size: 14px;
|
430 |
-
line-height: 35px;
|
431 |
-
}
|
432 |
-
.wp-core-ui .btn_ts_transparent{
|
433 |
-
background: transparent;
|
434 |
-
text-shadow: none;
|
435 |
-
border-color: #09d3ac;
|
436 |
-
color: #09d3ac;
|
437 |
-
box-shadow: none;
|
438 |
-
font-size: 14px;
|
439 |
-
line-height: 35px;
|
440 |
-
padding: 0 10px;
|
441 |
-
}
|
442 |
-
.wp-core-ui .btn_large {
|
443 |
-
line-height: 36px;
|
444 |
-
height: 40px;
|
445 |
-
padding: 0 20px;
|
446 |
-
font-size: 15px;
|
447 |
-
}
|
448 |
-
.wp-core-ui .btn_icon {
|
449 |
-
padding: 0 15px 0 0;
|
450 |
-
}
|
451 |
-
.wp-core-ui .btn_green2 .dashicons{
|
452 |
-
vertical-align: middle;
|
453 |
-
line-height: 0.9;
|
454 |
-
}
|
455 |
-
.wp-core-ui .btn_large.add_custom_provider .dashicons {
|
456 |
-
margin-left: 0;
|
457 |
-
margin-right: 5px;
|
458 |
-
}
|
459 |
-
.wp-core-ui .btn_red:hover, .wp-core-ui .btn_red:focus {
|
460 |
-
background: red;
|
461 |
-
border-color: rgba(0,0,0,0.05);
|
462 |
-
text-shadow: none;
|
463 |
-
box-shadow: none;
|
464 |
-
box-shadow: inset 0 0 0 100px rgba(0,0,0,0.2);
|
465 |
-
}
|
466 |
-
.wp-core-ui .btn_green:hover, .wp-core-ui .btn_green:focus {
|
467 |
-
background: rgb(35, 54, 152);
|
468 |
-
border-color: rgba(0,0,0,0.05);
|
469 |
-
color: #fff;
|
470 |
-
text-shadow: none;
|
471 |
-
box-shadow: inset 0 0 0 100px rgba(0,0,0,0.2);
|
472 |
-
}
|
473 |
-
.wp-core-ui .btn_ast2:hover, .wp-core-ui .btn_ast2:focus {
|
474 |
-
background: #005B9A;
|
475 |
-
border-color: rgba(0,0,0,0.05);
|
476 |
-
color: #fff;
|
477 |
-
text-shadow: none;
|
478 |
-
box-shadow: inset 0 0 0 100px rgba(0,0,0,0.2);
|
479 |
-
}
|
480 |
-
.wp-core-ui .btn_ts_transparent:hover, .wp-core-ui .btn_ts_transparent:focus {
|
481 |
-
background: transparent;
|
482 |
-
border-color: #09d3ac;
|
483 |
-
color: #09d3ac;
|
484 |
-
text-shadow: none;
|
485 |
-
}
|
486 |
-
.shipment_tracking_admin_settings.wp-core-ui .button-primary:disabled{
|
487 |
-
color: #fff!important;
|
488 |
-
background: #ccc!important;
|
489 |
-
border-color: #eee!important;
|
490 |
-
cursor: not-allowed;
|
491 |
-
}
|
492 |
-
|
493 |
-
#wc_ast_upload_csv_form .mdl-progress {
|
494 |
-
width: 100%;
|
495 |
-
margin-top: 0 0 20px;
|
496 |
-
height: 30px;
|
497 |
-
}
|
498 |
-
.csv_upload_status li{
|
499 |
-
padding: 0 0 5px;
|
500 |
-
border-bottom: 1px solid #e0e0e0;
|
501 |
-
}
|
502 |
-
.csv_upload_status li:before{
|
503 |
-
font-family: dashicons;
|
504 |
-
vertical-align: sub;
|
505 |
-
margin-right: 5px;
|
506 |
-
font-size: 18px;
|
507 |
-
font-weight: 600;
|
508 |
-
content: "\f153";
|
509 |
-
color: #f44336;
|
510 |
-
}
|
511 |
-
.csv_upload_status li.success:before {
|
512 |
-
content: "\f12a";
|
513 |
-
color: #09d3ac;
|
514 |
-
}
|
515 |
-
.bulk_upload_status_td h2{
|
516 |
-
color: #005b9a;
|
517 |
-
font-size: 20px;
|
518 |
-
margin: 0;
|
519 |
-
}
|
520 |
-
.form-table td p{
|
521 |
-
margin: 0;
|
522 |
-
}
|
523 |
-
#wc_ast_trackship_form .trackship_status_section .form-table tr{
|
524 |
-
border-bottom: 0;
|
525 |
-
}
|
526 |
-
#wc_ast_trackship_form .trackship_status_section .form-table tr:nth-last-child(2) {
|
527 |
-
border-bottom: 1px solid #eee;
|
528 |
-
}
|
529 |
-
|
530 |
-
.tracking-content-div{
|
531 |
-
margin-bottom: 5px;
|
532 |
-
}
|
533 |
-
.tracking-content-div a{
|
534 |
-
word-wrap: break-word;
|
535 |
-
}
|
536 |
-
.wcast-shipment-status-list .wcast-shipment-est-delivery {
|
537 |
-
display: block;
|
538 |
-
}
|
539 |
-
|
540 |
-
.has_est_delivery_0 .showif_has_est_delivery_0 {
|
541 |
-
display: block;
|
542 |
-
}
|
543 |
-
.post-type-shop_order .wp-list-table .column-woocommerce-advanced-shipment-tracking {
|
544 |
-
width: 20ch;
|
545 |
-
padding: .5em;
|
546 |
-
}
|
547 |
-
.post-type-shop_order .wp-list-table .column-shipment_status {
|
548 |
-
width: 20ch;
|
549 |
-
padding: .5em;
|
550 |
-
}
|
551 |
-
.ft11 {
|
552 |
-
font-size: 11px;
|
553 |
-
}
|
554 |
-
.wcast-tracking-number-list li, .wcast-shipment-status-list li {
|
555 |
-
position: relative;
|
556 |
-
padding: 5px;
|
557 |
-
min-height: 50px;
|
558 |
-
box-sizing: border-box;
|
559 |
-
margin-bottom: 0;
|
560 |
-
}
|
561 |
-
a.inline_tracking_delete{
|
562 |
-
display:none;
|
563 |
-
position: absolute;
|
564 |
-
top: 5px;
|
565 |
-
right: 5px;
|
566 |
-
font-size: 11px;
|
567 |
-
color: #a00;
|
568 |
-
}
|
569 |
-
a.inline_tracking_delete span.dashicons{
|
570 |
-
width: 16px;
|
571 |
-
height: 16px;
|
572 |
-
font-size: 16px;
|
573 |
-
}
|
574 |
-
.wcast-tracking-number-list li:hover a.inline_tracking_delete{
|
575 |
-
display:block;
|
576 |
-
}
|
577 |
-
ul.wcast-tracking-number-list, ul.wcast-shipment-status-list {
|
578 |
-
margin: 0;
|
579 |
-
}
|
580 |
-
.wcast-tracking-number-list li:last-child, .wcast-shipment-status-list li:last-child {
|
581 |
-
margin-bottom: 0;
|
582 |
-
}
|
583 |
-
.select2-results .select2-results__group, .select2-results .select2-results__option{
|
584 |
-
padding: 4px;
|
585 |
-
}
|
586 |
-
.edit_customizer_a{
|
587 |
-
margin-left: 10px;
|
588 |
-
line-height: 20px;
|
589 |
-
font-size: 13px;
|
590 |
-
float:right;
|
591 |
-
}
|
592 |
-
.edit_customizer_a:focus,.edit_customizer_a:hover{
|
593 |
-
outline:none;
|
594 |
-
box-shadow:none;
|
595 |
-
}
|
596 |
-
.shipment_tracking_admin_settings{
|
597 |
-
background: #f5f7fb;
|
598 |
-
}
|
599 |
-
.woocommerce_page_woocommerce-advanced-shipment-tracking #wpcontent{
|
600 |
-
padding-left: 0;
|
601 |
-
}
|
602 |
-
.woocommerce_page_woocommerce-advanced-shipment-tracking #wpbody-content{
|
603 |
-
padding-bottom: 40px;
|
604 |
-
}
|
605 |
-
.multiple_label{
|
606 |
-
font-weight:400;
|
607 |
-
line-height: 23px;
|
608 |
-
}
|
609 |
-
|
610 |
-
@media screen and (max-width: 650px) {
|
611 |
-
label.tab_label:before {
|
612 |
-
margin: 0;
|
613 |
-
font-size: 18px;
|
614 |
-
}
|
615 |
-
}
|
616 |
-
.widefat .column-wc_actions a.delivered_icon.button::after { font-family: woocommerce; content: "\e01a"; }
|
617 |
-
.widefat .column-wc_actions a.add_inline_tracking.button::after { content: "\f230"; }
|
618 |
-
|
619 |
-
.provider_list:after {
|
620 |
-
clear: both;
|
621 |
-
content: '';
|
622 |
-
display: block;
|
623 |
-
}
|
624 |
-
.provider {
|
625 |
-
padding: 0 5px;
|
626 |
-
width: 16.66%;
|
627 |
-
margin-bottom: 10px;
|
628 |
-
vertical-align: top;
|
629 |
-
box-sizing: border-box;
|
630 |
-
float: left;
|
631 |
-
}
|
632 |
-
table.wp-list-table img.provider-thumb{
|
633 |
-
margin: 1px 0 1px 0;
|
634 |
-
height: 45px;
|
635 |
-
vertical-align: middle;
|
636 |
-
}
|
637 |
-
span.provider_name {
|
638 |
-
font-weight: 500;
|
639 |
-
font-size: 14px;
|
640 |
-
margin-bottom: 5px;
|
641 |
-
display: block;
|
642 |
-
}
|
643 |
-
.default_label {
|
644 |
-
font-size: 12px;
|
645 |
-
vertical-align: top;
|
646 |
-
}
|
647 |
-
|
648 |
-
#search_provider{
|
649 |
-
width: 460px;
|
650 |
-
min-width: 250px;
|
651 |
-
font-size: 13px;
|
652 |
-
border: 1px solid #e0e0e0;
|
653 |
-
background: #fafafa;
|
654 |
-
padding: 0 10px 0;
|
655 |
-
line-height: 2;
|
656 |
-
min-height: 45px;
|
657 |
-
border-radius: 0;
|
658 |
-
}
|
659 |
-
.search_section .search-icon{
|
660 |
-
position: absolute;
|
661 |
-
right: 0;
|
662 |
-
padding: 12px;
|
663 |
-
color: #005b9a;
|
664 |
-
border-left: 1px solid #e0e0e0;
|
665 |
-
}
|
666 |
-
.provider_top:after{
|
667 |
-
content:'';
|
668 |
-
clear:both;
|
669 |
-
display:block;
|
670 |
-
}
|
671 |
-
.search_section{
|
672 |
-
float: left;
|
673 |
-
position: relative;
|
674 |
-
}
|
675 |
-
.provider_settings{
|
676 |
-
float: right;
|
677 |
-
margin-top: 7px;
|
678 |
-
}
|
679 |
-
.popupwrapper {
|
680 |
-
position: fixed;
|
681 |
-
top: 0;
|
682 |
-
left: 0;
|
683 |
-
background: rgb(250 250 250 / 0.8);
|
684 |
-
border: 1px solid #e0e0e0;
|
685 |
-
z-index: 100000;
|
686 |
-
width: 100%;
|
687 |
-
height: 100%;
|
688 |
-
text-align: center;
|
689 |
-
}
|
690 |
-
.trackingpopup_wrapper {
|
691 |
-
position: fixed;
|
692 |
-
top: 0;
|
693 |
-
left: 0;
|
694 |
-
background: rgb(250 250 250 / 0.8);
|
695 |
-
border: 1px solid #e0e0e0;
|
696 |
-
z-index: 100000;
|
697 |
-
width: 100%;
|
698 |
-
height: 100%;
|
699 |
-
text-align: center;
|
700 |
-
}
|
701 |
-
|
702 |
-
.popupwrapper:after {
|
703 |
-
content: '';
|
704 |
-
display: inline-block;
|
705 |
-
vertical-align: middle;
|
706 |
-
height: 100%;
|
707 |
-
}
|
708 |
-
.trackingpopup_wrapper:after {
|
709 |
-
content: '';
|
710 |
-
display: inline-block;
|
711 |
-
vertical-align: middle;
|
712 |
-
height: 100%;
|
713 |
-
}
|
714 |
-
.popuprow {
|
715 |
-
display: inline-block;
|
716 |
-
vertical-align: middle;
|
717 |
-
max-width: 400px;
|
718 |
-
background: #fff;
|
719 |
-
padding: 0;
|
720 |
-
position: relative;
|
721 |
-
z-index: 10;
|
722 |
-
border-radius: 3px;
|
723 |
-
width: 97%;
|
724 |
-
width: calc(100% - 5px);
|
725 |
-
max-height: 90%;
|
726 |
-
overflow-y: overlay;
|
727 |
-
text-align: left;
|
728 |
-
border: 1px solid #e0e0e0;
|
729 |
-
}
|
730 |
-
.uninstall_popup .popuprow{
|
731 |
-
max-width: 520px;
|
732 |
-
}
|
733 |
-
.uninstall_popup .popuprow .popup_body {
|
734 |
-
padding: 10px 30px 20px;
|
735 |
-
}
|
736 |
-
|
737 |
-
.zorem_admin_layout .sync_provider_popup h3.popup_title{
|
738 |
-
margin: 0 0 1em;
|
739 |
-
}
|
740 |
-
.reset_db_fieldset{
|
741 |
-
margin-bottom:10px;
|
742 |
-
}
|
743 |
-
.reset_db_message {
|
744 |
-
color: green;
|
745 |
-
font-size: 16px;
|
746 |
-
}
|
747 |
-
.how_to_video_popup .popuprow,.ts_video_popup .popuprow,.import_tracking_video_popup .popuprow{
|
748 |
-
max-width: 700px;
|
749 |
-
padding: 0;
|
750 |
-
}
|
751 |
-
.trackingpopup_row {
|
752 |
-
display: inline-block;
|
753 |
-
vertical-align: middle;
|
754 |
-
max-width: 600px;
|
755 |
-
text-align:left;
|
756 |
-
background: #fff;
|
757 |
-
border: 1px solid #e0e0e0;
|
758 |
-
padding: 0;
|
759 |
-
position: relative;
|
760 |
-
z-index: 10;
|
761 |
-
border-radius: 5px;
|
762 |
-
width: 97%;
|
763 |
-
width: calc(100% - 5px);
|
764 |
-
max-height: 90%;
|
765 |
-
overflow-y: overlay;
|
766 |
-
}
|
767 |
-
.trackingpopup_row .popup_header{
|
768 |
-
border-bottom: 1px solid #e0e0e0;
|
769 |
-
padding: 15px 30px;
|
770 |
-
}
|
771 |
-
.popuprow .popup_header {
|
772 |
-
border-bottom: 1px solid #e0e0e0;
|
773 |
-
padding: 15px 20px;
|
774 |
-
}
|
775 |
-
|
776 |
-
.trackingpopup_row .popup_header h3.popup_title,.popuprow .popup_header h3.popup_title{
|
777 |
-
font-size: 16px;
|
778 |
-
display: inline-block;
|
779 |
-
margin: 0;
|
780 |
-
color: #005b9a;
|
781 |
-
font-weight: 400;
|
782 |
-
}
|
783 |
-
.trackingpopup_row .popup_header img,.popuprow .popup_header img{
|
784 |
-
width: 55px;
|
785 |
-
position: absolute;
|
786 |
-
right: 70px;
|
787 |
-
}
|
788 |
-
.trackingpopup_row .popup_header .popup_close_icon,.popuprow .popup_header .popup_close_icon{
|
789 |
-
color: #005b9a;
|
790 |
-
width: 60px;
|
791 |
-
height: 50px;
|
792 |
-
font-size: 30px;
|
793 |
-
border-left: 1px solid #e0e0e0;
|
794 |
-
position: absolute;
|
795 |
-
right: 0;
|
796 |
-
top: 0px;
|
797 |
-
cursor: pointer;
|
798 |
-
line-height: 22px;
|
799 |
-
}
|
800 |
-
.trackingpopup_row .popup_body{
|
801 |
-
padding: 10px 30px;
|
802 |
-
}
|
803 |
-
.popuprow .popup_body{
|
804 |
-
padding: 20px 25px;
|
805 |
-
}
|
806 |
-
.popup_body .sync_message{
|
807 |
-
margin-top: 0;
|
808 |
-
}
|
809 |
-
.popuprow .popup_body button{
|
810 |
-
margin-bottom: 5px;
|
811 |
-
}
|
812 |
-
.popuprow .popup_body .synch_result{
|
813 |
-
display: none;
|
814 |
-
margin: 0 0 20px;
|
815 |
-
}
|
816 |
-
.synch_result li {
|
817 |
-
border-bottom: 1px solid #ccc;
|
818 |
-
padding-bottom: 10px;
|
819 |
-
font-size: 15px;
|
820 |
-
}
|
821 |
-
.sync_provider_popup .spinner{
|
822 |
-
display:none;
|
823 |
-
height: 25px;
|
824 |
-
float: none;
|
825 |
-
}
|
826 |
-
.sync_provider_popup .spinner.active{
|
827 |
-
display: inline-block;
|
828 |
-
}
|
829 |
-
.popupclose {
|
830 |
-
position: absolute;
|
831 |
-
width: 100%;
|
832 |
-
height: 100%;
|
833 |
-
z-index: 9;
|
834 |
-
top: 0;
|
835 |
-
left: 0;
|
836 |
-
}
|
837 |
-
.popupclose_btn {
|
838 |
-
position: absolute;
|
839 |
-
right: 20px;
|
840 |
-
top: 20px;
|
841 |
-
border: 1px solid #7e8993;
|
842 |
-
color: #7e8993;
|
843 |
-
border-radius: 2px;
|
844 |
-
cursor: pointer;
|
845 |
-
}
|
846 |
-
.popup_header .popup_close_icon:before {
|
847 |
-
vertical-align: middle;
|
848 |
-
vertical-align: -webkit-baseline-middle;
|
849 |
-
}
|
850 |
-
.popupwrapper input[type=text]{
|
851 |
-
line-height: 24px;
|
852 |
-
color: #424242;
|
853 |
-
width: 100%;
|
854 |
-
border-color: #e0e0e0;
|
855 |
-
border-radius: 3px;
|
856 |
-
padding: 5px 10px;
|
857 |
-
}
|
858 |
-
.trackingpopup_wrapper input[type=text]{
|
859 |
-
line-height: 24px;
|
860 |
-
color: #424242;
|
861 |
-
width: 90%;
|
862 |
-
margin: 5px 0 10px;
|
863 |
-
border-radius: 3px;
|
864 |
-
border-color: #e0e0e0;
|
865 |
-
padding: 5px 10px;
|
866 |
-
}
|
867 |
-
|
868 |
-
.popupwrapper .form-field{
|
869 |
-
margin-bottom: 10px;
|
870 |
-
}
|
871 |
-
.popupwrapper .form-field.form-50{
|
872 |
-
width: 47%;
|
873 |
-
display: inline-block;
|
874 |
-
margin-right:25px;
|
875 |
-
}
|
876 |
-
.popupwrapper.default_provider .form-field.form-50{
|
877 |
-
width: 100%;
|
878 |
-
}
|
879 |
-
.popupwrapper .form-field.form-50.margin-0{
|
880 |
-
margin-right: 0;
|
881 |
-
}
|
882 |
-
|
883 |
-
.popupwrapper .form-field label{
|
884 |
-
margin-bottom: 5px;
|
885 |
-
display: block;
|
886 |
-
}
|
887 |
-
.popupwrapper input[type=text].image_path{
|
888 |
-
width: calc(100% - 71px);
|
889 |
-
}
|
890 |
-
p.form-field.form-50 {
|
891 |
-
width: 49%;
|
892 |
-
display: inline-block;
|
893 |
-
}
|
894 |
-
.trackingpopup_wrapper input[type=text].image_path{
|
895 |
-
width: 100%;
|
896 |
-
}
|
897 |
-
.popupwrapper select,.popupwrapper .select2{
|
898 |
-
line-height: 24px;
|
899 |
-
color: #424242;
|
900 |
-
width: 100%;
|
901 |
-
max-width: 100%;
|
902 |
-
border-color: #e0e0e0;
|
903 |
-
border-radius: 3px;
|
904 |
-
padding: 5px 10px;
|
905 |
-
}
|
906 |
-
.popupwrapper.uninstall_popup select{
|
907 |
-
width: auto;
|
908 |
-
margin-bottom: 0px;
|
909 |
-
}
|
910 |
-
.trackingpopup_wrapper select,.trackingpopup_wrapper .select2{
|
911 |
-
line-height: 24px;
|
912 |
-
color: #0d0d0d;
|
913 |
-
width: 100%;
|
914 |
-
max-width: 100%;
|
915 |
-
margin: 5px 0 10px;
|
916 |
-
height: 30px;
|
917 |
-
}
|
918 |
-
.trackingpopup_wrapper hr{
|
919 |
-
margin: 5px -30px;
|
920 |
-
}
|
921 |
-
.trackingpopup_wrapper .select2-container .select2-selection--single {
|
922 |
-
border-color: #e0e0e0;
|
923 |
-
border-radius: 3px;
|
924 |
-
color: #424242;
|
925 |
-
padding: 3px 10px;
|
926 |
-
height: 36px;
|
927 |
-
}
|
928 |
-
.popupwrapper .popuprow .popup_title,.trackingpopup_wrapper .trackingpopup_row .popup_title{
|
929 |
-
color: #005B9A;
|
930 |
-
}
|
931 |
-
.custom_provider_instruction{
|
932 |
-
text-align:left;
|
933 |
-
margin-bottom: 10px;
|
934 |
-
}
|
935 |
-
.custom_provider_instruction p{
|
936 |
-
margin: 0 0 1em;
|
937 |
-
}
|
938 |
-
a.reset_default_provider {
|
939 |
-
margin-left: 10px;
|
940 |
-
}
|
941 |
-
.change_order_to_shipped_field ul{
|
942 |
-
margin: 5px 0 0 10px;
|
943 |
-
display: inline-block;
|
944 |
-
}
|
945 |
-
.postbox .change_order_to_shipped_field ul{
|
946 |
-
margin: 0;
|
947 |
-
}
|
948 |
-
.change_order_to_shipped_field ul li {
|
949 |
-
display: inline-block;
|
950 |
-
margin: 0 5px 8px;
|
951 |
-
}
|
952 |
-
.provider .edit_provider,.provider .remove{
|
953 |
-
display:none;
|
954 |
-
cursor:pointer;
|
955 |
-
}
|
956 |
-
.provider:hover .edit_provider{
|
957 |
-
display:inline-block;
|
958 |
-
}
|
959 |
-
.provider:hover .remove{
|
960 |
-
display:inline-block;
|
961 |
-
}
|
962 |
-
.provider a {
|
963 |
-
text-decoration: none;
|
964 |
-
color: #444;
|
965 |
-
}
|
966 |
-
.disable_label span {
|
967 |
-
color: #999;
|
968 |
-
}
|
969 |
-
.wp-core-ui .button-primary.close_synch_popup{
|
970 |
-
display:none;
|
971 |
-
}
|
972 |
-
.woocommerce.zorem_admin_layout table.form-table{
|
973 |
-
border: 0;
|
974 |
-
margin-top: 0;
|
975 |
-
margin-bottom: 0px;
|
976 |
-
}
|
977 |
-
.woocommerce.zorem_admin_layout table.form-table.order-status-table{
|
978 |
-
table-layout: auto;
|
979 |
-
}
|
980 |
-
.woocommerce.zorem_admin_layout table.form-table.upload_csv_table{
|
981 |
-
table-layout: auto;
|
982 |
-
}
|
983 |
-
.woocommerce.zorem_admin_layout table.form-table.heading-table{
|
984 |
-
margin: 0;
|
985 |
-
border: 0;
|
986 |
-
}
|
987 |
-
.woocommerce.zorem_admin_layout table.form-table.heading-table td{
|
988 |
-
padding: 12px 25px;
|
989 |
-
border-bottom: 1px solid #e0e0e0;
|
990 |
-
height: 40px;
|
991 |
-
}
|
992 |
-
.woocommerce.zorem_admin_layout .border_0 table.form-table.heading-table tr{
|
993 |
-
border-bottom: 1px solid #e0e0e0;
|
994 |
-
}
|
995 |
-
#wc_ast_upload_csv_form table.form-table.heading-table tr{
|
996 |
-
border-bottom: 0;
|
997 |
-
}
|
998 |
-
.woocommerce.zorem_admin_layout .border_0 table.form-table.heading-table td{
|
999 |
-
padding: 0 0 10px;
|
1000 |
-
}
|
1001 |
-
.woocommerce.zorem_admin_layout table.form-table.heading-table td h3{
|
1002 |
-
margin: 0;
|
1003 |
-
color:#005B9A;
|
1004 |
-
font-weight: 500;
|
1005 |
-
}
|
1006 |
-
.woocommerce.zorem_admin_layout table.form-table.heading-table td.button-column{
|
1007 |
-
text-align:right;
|
1008 |
-
}
|
1009 |
-
.ast_admin_content div.submit{
|
1010 |
-
padding: 0;
|
1011 |
-
margin: 10px 0 0;
|
1012 |
-
}
|
1013 |
-
.ast_admin_content #wc_ast_upload_csv_form div.submit{
|
1014 |
-
margin: 0 0 15px;
|
1015 |
-
}
|
1016 |
-
.woocommerce.zorem_admin_layout table.form-table th{
|
1017 |
-
padding: 20px;
|
1018 |
-
}
|
1019 |
-
.woocommerce.zorem_admin_layout table.form-table td{
|
1020 |
-
padding: 15px;
|
1021 |
-
}
|
1022 |
-
.woocommerce.zorem_admin_layout table.form-table td.button-column{
|
1023 |
-
padding: 0px 15px 15px;
|
1024 |
-
}
|
1025 |
-
.woocommerce.zorem_admin_layout table.form-table.order-status-table td{
|
1026 |
-
padding: 10px 0 10px 15px;
|
1027 |
-
}
|
1028 |
-
.woocommerce.zorem_admin_layout table.form-table.order-status-table td:first-child{
|
1029 |
-
padding:10px 0 10px;
|
1030 |
-
width: 37px;
|
1031 |
-
}
|
1032 |
-
.woocommerce.zorem_admin_layout table.form-table th label{
|
1033 |
-
font-weight: 600;
|
1034 |
-
color: #444;
|
1035 |
-
cursor: auto;
|
1036 |
-
}
|
1037 |
-
span.radio_section {
|
1038 |
-
margin-right: 10px;
|
1039 |
-
}
|
1040 |
-
span.multiple_checkbox {
|
1041 |
-
display: inline-block;
|
1042 |
-
line-height: 30px;
|
1043 |
-
width: 49%;
|
1044 |
-
}
|
1045 |
-
.woocommerce.zorem_admin_layout table.form-table p.description{
|
1046 |
-
font-size: 12px;
|
1047 |
-
font-weight: 400;
|
1048 |
-
margin-top: 5px;
|
1049 |
-
}
|
1050 |
-
.settings_ul{
|
1051 |
-
margin: 0;
|
1052 |
-
}
|
1053 |
-
.settings_ul li> input[type=checkbox] {
|
1054 |
-
vertical-align: -webkit-baseline-middle;
|
1055 |
-
}
|
1056 |
-
.settings_ul>li{
|
1057 |
-
padding: 5px 0;
|
1058 |
-
margin: 0;
|
1059 |
-
min-height: 30px;
|
1060 |
-
line-height: 25px;
|
1061 |
-
position: relative;
|
1062 |
-
}
|
1063 |
-
.settings_ul li:last-child {
|
1064 |
-
border-bottom: 0;
|
1065 |
-
}
|
1066 |
-
.settings_ul .settings_radio_li>label,.settings_ul .multiple_select_li>label {
|
1067 |
-
width: 20%;
|
1068 |
-
display: inline-block;
|
1069 |
-
}
|
1070 |
-
.settings_ul .settings_radio_li .radio_section{
|
1071 |
-
display: inline-block;
|
1072 |
-
padding: 0 10px;
|
1073 |
-
}
|
1074 |
-
.settings_ul fieldset {
|
1075 |
-
display: inline-block;
|
1076 |
-
vertical-align: middle;
|
1077 |
-
}
|
1078 |
-
.settings_ul fieldset input[type=text]{
|
1079 |
-
min-width: 500px;
|
1080 |
-
}
|
1081 |
-
.multiple_checkbox_parent {
|
1082 |
-
display: inline-block;
|
1083 |
-
vertical-align: top;
|
1084 |
-
width: 58%;
|
1085 |
-
}
|
1086 |
-
span.ast-tgl-btn-parent {
|
1087 |
-
vertical-align: middle;
|
1088 |
-
}
|
1089 |
-
.setting_ul_tgl_checkbox_label{
|
1090 |
-
margin: 0 15px;
|
1091 |
-
display: inline-block;
|
1092 |
-
vertical-align: middle;
|
1093 |
-
width: calc(100% - 100px);
|
1094 |
-
}
|
1095 |
-
.tgl_checkbox_desc {
|
1096 |
-
line-height: 18px;
|
1097 |
-
}
|
1098 |
-
.multiple_checkbox_label {
|
1099 |
-
display: inline-block;
|
1100 |
-
width: 40%;
|
1101 |
-
margin-right: 10px;
|
1102 |
-
}
|
1103 |
-
.multiple_checkbox_description{
|
1104 |
-
display: block;
|
1105 |
-
margin-top: 5px;
|
1106 |
-
max-width: 250px;
|
1107 |
-
}
|
1108 |
-
|
1109 |
-
.updated_details {
|
1110 |
-
margin-top: 10px;
|
1111 |
-
display:none;
|
1112 |
-
}
|
1113 |
-
.view_synch_details{
|
1114 |
-
display:none;
|
1115 |
-
padding-top: 5px;
|
1116 |
-
}
|
1117 |
-
.updated_details li {
|
1118 |
-
display: inline-block;
|
1119 |
-
border-bottom: 0;
|
1120 |
-
padding-bottom: 0;
|
1121 |
-
background: #74C2E1;
|
1122 |
-
color: #fff;
|
1123 |
-
padding: 5px;
|
1124 |
-
border-radius: 3px;
|
1125 |
-
}
|
1126 |
-
.woocommerce.zorem_admin_layout table.form-table select{
|
1127 |
-
width: auto;
|
1128 |
-
max-width: 400px;
|
1129 |
-
min-width: 90px;
|
1130 |
-
line-height: 20px;
|
1131 |
-
}
|
1132 |
-
.woocommerce.zorem_admin_layout table.form-table .input-text{
|
1133 |
-
width: 100%;
|
1134 |
-
max-width: 400px;
|
1135 |
-
min-width: 90px;
|
1136 |
-
line-height: 20px;
|
1137 |
-
}
|
1138 |
-
.add_tracking_number_form .form-field{
|
1139 |
-
margin: 0;
|
1140 |
-
text-align:left;
|
1141 |
-
}
|
1142 |
-
.add_tracking_number_form .form-field span {
|
1143 |
-
vertical-align: middle;
|
1144 |
-
}
|
1145 |
-
.add_tracking_number_form input[type=checkbox]{
|
1146 |
-
margin: 0px 4px 0 0px;
|
1147 |
-
vertical-align: text-bottom;
|
1148 |
-
}
|
1149 |
-
.d_table{
|
1150 |
-
display:table;
|
1151 |
-
width: 100%;
|
1152 |
-
}
|
1153 |
-
.zorem_admin_layout h4{
|
1154 |
-
margin: 1.33em 0;
|
1155 |
-
}
|
1156 |
-
.zorem_admin_layout h3{
|
1157 |
-
margin: 1em 0;
|
1158 |
-
}
|
1159 |
-
.ast_admin_content div.submit .spinner{
|
1160 |
-
display: none;
|
1161 |
-
float: none;
|
1162 |
-
margin: 0px 10px 0;
|
1163 |
-
}
|
1164 |
-
.ast_admin_content div.submit .spinner.active{
|
1165 |
-
display: inline-block;
|
1166 |
-
}
|
1167 |
-
.videoWrapper {
|
1168 |
-
position: relative;
|
1169 |
-
padding-bottom: 56.25%; /* 16:9 */
|
1170 |
-
padding-top: 25px;
|
1171 |
-
height: 0;
|
1172 |
-
}
|
1173 |
-
.videoWrapper iframe {
|
1174 |
-
position: absolute;
|
1175 |
-
top: 0;
|
1176 |
-
left: 0;
|
1177 |
-
width: 100%;
|
1178 |
-
height: 100%;
|
1179 |
-
}
|
1180 |
-
|
1181 |
-
.zorem_admin_layout .ast_admin_content .wp-picker-container .wp-picker-input-wrap label{
|
1182 |
-
margin: 0 5px 0 0!important;
|
1183 |
-
}
|
1184 |
-
.woocommerce.zorem_admin_layout .ast_admin_content .wp-picker-container .wp-picker-input-wrap .input-text{
|
1185 |
-
line-height: 15px;
|
1186 |
-
}
|
1187 |
-
|
1188 |
-
span.dashicons.dashicons-edit.edit_provider {
|
1189 |
-
cursor: pointer;
|
1190 |
-
}
|
1191 |
-
|
1192 |
-
/*** Dashboard Widget CSS ***/
|
1193 |
-
#trackship_dashboard_widget .widget_footer{
|
1194 |
-
padding: 8px 12px;
|
1195 |
-
}
|
1196 |
-
/**** -------- ****/
|
1197 |
-
|
1198 |
-
.woocommerce_page_woocommerce-advanced-shipment-tracking .zorem-layout .woocommerce-help-tip{
|
1199 |
-
color: #005B9A;
|
1200 |
-
font-size: 20px;
|
1201 |
-
height: 20px;
|
1202 |
-
vertical-align: middle;
|
1203 |
-
}
|
1204 |
-
.woocommerce_page_woocommerce-advanced-shipment-tracking #tiptip_content{
|
1205 |
-
background:#005B9A;
|
1206 |
-
padding: 15px;
|
1207 |
-
font-size: 12px;
|
1208 |
-
}
|
1209 |
-
.woocommerce_page_woocommerce-advanced-shipment-tracking #tiptip_holder.tip_top #tiptip_arrow_inner{
|
1210 |
-
border-top-color: #005B9A;
|
1211 |
-
}
|
1212 |
-
.woocommerce_page_woocommerce-advanced-shipment-tracking #tiptip_holder.tip_bottom #tiptip_arrow_inner{
|
1213 |
-
border-bottom-color: #005B9A;
|
1214 |
-
}
|
1215 |
-
|
1216 |
-
#trackship_dashboard_widget .inside h3{
|
1217 |
-
font-weight:600;
|
1218 |
-
}
|
1219 |
-
#trackship_dashboard_widget .inside{
|
1220 |
-
padding: 0;
|
1221 |
-
margin: 0;
|
1222 |
-
}
|
1223 |
-
|
1224 |
-
#woocommerce-advanced-shipment-tracking.postbox{
|
1225 |
-
background: #f9f9f9;
|
1226 |
-
}
|
1227 |
-
.order-status-table tr.disable_row{
|
1228 |
-
background: transparent;
|
1229 |
-
opacity: 0.7;
|
1230 |
-
}
|
1231 |
-
.order-status-table tr.disable_row td{
|
1232 |
-
pointer-events: none;
|
1233 |
-
}
|
1234 |
-
.order-status-table tr.disable_row td:first-child{
|
1235 |
-
pointer-events: auto;
|
1236 |
-
}
|
1237 |
-
.woocommerce.zorem_admin_layout table.form-table.order-status-table td.status_shipped_label{
|
1238 |
-
text-align:left;
|
1239 |
-
line-height: 30px;
|
1240 |
-
}
|
1241 |
-
.order-status-table .order-label{
|
1242 |
-
display: -webkit-inline-box;
|
1243 |
-
display: -webkit-inline-flex;
|
1244 |
-
display: inline-flex;
|
1245 |
-
line-height: 2.2em;
|
1246 |
-
color: #777;
|
1247 |
-
background: #e5e5e5;
|
1248 |
-
border-radius: 4px;
|
1249 |
-
border-bottom: 1px solid rgba(0,0,0,.05);
|
1250 |
-
margin: -.25em 0;
|
1251 |
-
cursor: inherit!important;
|
1252 |
-
white-space: nowrap;
|
1253 |
-
max-width: 100%;
|
1254 |
-
padding: 0 1em;
|
1255 |
-
}
|
1256 |
-
.order-status-table tr td.status-label-column{
|
1257 |
-
width:130px;
|
1258 |
-
}
|
1259 |
-
.form-table.order-status-table td .send_email_label {
|
1260 |
-
margin: 0 5px !important;
|
1261 |
-
}
|
1262 |
-
.form-table.order-status-table td a.settings_edit {
|
1263 |
-
background: #fafafa;
|
1264 |
-
color: #005b9a;
|
1265 |
-
border: 1px solid #005b9a;
|
1266 |
-
padding: 5px 10px 7px;
|
1267 |
-
text-decoration: none;
|
1268 |
-
border-radius: 4px;
|
1269 |
-
}
|
1270 |
-
|
1271 |
-
.ast_radio_label {
|
1272 |
-
min-width: 125px;
|
1273 |
-
display: inline-block;
|
1274 |
-
}
|
1275 |
-
.tracking_product_code_field{
|
1276 |
-
display:none;
|
1277 |
-
}
|
1278 |
-
.outer_form_table{
|
1279 |
-
border: 1px solid #e0e0e0;
|
1280 |
-
margin-top: 25px;
|
1281 |
-
border-radius: 3px;
|
1282 |
-
background: #fff;
|
1283 |
-
}
|
1284 |
-
#tab_general_settings:checked ~ #content_general_settings,#tab_order_status:checked ~ #content_osm_settings{
|
1285 |
-
display: block !important;
|
1286 |
-
}
|
1287 |
-
|
1288 |
-
#wc_ast_upload_csv_form .outer_form_table{
|
1289 |
-
margin-top: 20px;
|
1290 |
-
background-color: #fff;
|
1291 |
-
border-radius: 3px;
|
1292 |
-
}
|
1293 |
-
#wc_ast_upload_csv_form .csv_import_done .outer_form_table{
|
1294 |
-
padding: 50px 0;
|
1295 |
-
}
|
1296 |
-
|
1297 |
-
.tab_inner_container hr{
|
1298 |
-
margin: 0;
|
1299 |
-
}
|
1300 |
-
.provider_list .pagination{
|
1301 |
-
display: inline-block;
|
1302 |
-
padding-left: 0;
|
1303 |
-
margin: 0;
|
1304 |
-
border-radius: 4px;
|
1305 |
-
}
|
1306 |
-
.provider_list .pagination>li {
|
1307 |
-
margin-left: 5px;
|
1308 |
-
display: inline-block;
|
1309 |
-
}
|
1310 |
-
|
1311 |
-
.provider_list .pagination>li>a, .provider_list .pagination>li>span {
|
1312 |
-
position: relative;
|
1313 |
-
float: left;
|
1314 |
-
padding: 8px 12px;
|
1315 |
-
margin-left: -1px;
|
1316 |
-
line-height: 1.42857143;
|
1317 |
-
color: #005b9a;
|
1318 |
-
text-decoration: none;
|
1319 |
-
background-color: #f5f5f5;
|
1320 |
-
border: 1px solid #e0e0e0;
|
1321 |
-
border-radius: 3px;
|
1322 |
-
cursor: pointer;
|
1323 |
-
}
|
1324 |
-
.provider_list .pagination>.active>a, .provider_list .pagination>.active>a:focus, .provider_list .pagination>.active>a:hover, .provider_list .pagination>.active>span, .provider_list .pagination>.active>span:focus, .provider_list .pagination>.active>span:hover {
|
1325 |
-
z-index: 2;
|
1326 |
-
color: #424242;
|
1327 |
-
cursor: default;
|
1328 |
-
background-color: transparent;
|
1329 |
-
}
|
1330 |
-
|
1331 |
-
.csv_import_done .outer_form_table .completed_icon::before{
|
1332 |
-
font-family: WooCommerce;
|
1333 |
-
speak: none;
|
1334 |
-
font-weight: 400;
|
1335 |
-
font-variant: normal;
|
1336 |
-
text-transform: none;
|
1337 |
-
line-height: 1;
|
1338 |
-
margin: 0;
|
1339 |
-
text-indent: 0;
|
1340 |
-
position: absolute;
|
1341 |
-
top: 0;
|
1342 |
-
left: 0;
|
1343 |
-
width: 100%;
|
1344 |
-
height: 100%;
|
1345 |
-
content: "";
|
1346 |
-
color: #005B9A;
|
1347 |
-
position: static;
|
1348 |
-
font-size: 40px;
|
1349 |
-
display: block;
|
1350 |
-
text-align:center;
|
1351 |
-
}
|
1352 |
-
.ast_admin_content .woocommerce-progress-form-wrapper .wc-progress-steps li{
|
1353 |
-
width: 33.33%;
|
1354 |
-
}
|
1355 |
-
.ast_admin_content .woocommerce-progress-form-wrapper .wc-progress-steps{
|
1356 |
-
padding-bottom: 5px;
|
1357 |
-
}
|
1358 |
-
.ast_admin_content .woocommerce-progress-form-wrapper .wc-progress-steps li.active, .ast_admin_content .woocommerce-progress-form-wrapper .wc-progress-steps li.done{
|
1359 |
-
border-color: #005b9a;
|
1360 |
-
color: #005b9a;
|
1361 |
-
}
|
1362 |
-
.ast_admin_content .woocommerce-progress-form-wrapper .wc-progress-steps li.active::before{
|
1363 |
-
border-color: #005b9a;
|
1364 |
-
}
|
1365 |
-
.ast_admin_content .woocommerce-progress-form-wrapper .wc-progress-steps li.done::before{
|
1366 |
-
border-color: #005b9a;
|
1367 |
-
background: #005b9a;
|
1368 |
-
}
|
1369 |
-
.ast_admin_content .woocommerce-progress-form-wrapper{
|
1370 |
-
margin: 25px 0;
|
1371 |
-
max-width: 100%;
|
1372 |
-
}
|
1373 |
-
.bulk_upload_documentation_ul{
|
1374 |
-
text-align: left;
|
1375 |
-
}
|
1376 |
-
.bulk_upload_documentation_ul li {
|
1377 |
-
padding: 0 10px 0 0;
|
1378 |
-
display: inline-block;
|
1379 |
-
color: #005b9a;
|
1380 |
-
}
|
1381 |
-
.woocommerce.zorem_admin_layout table.form-table td.bulk_upload_status_td {
|
1382 |
-
text-align: center;
|
1383 |
-
padding-top: 30px;
|
1384 |
-
}
|
1385 |
-
.woocommerce.zorem_admin_layout table.form-table .bulk_upload_status_tr td{
|
1386 |
-
padding: 15px 15px 30px;
|
1387 |
-
}
|
1388 |
-
#wc_ast_upload_csv_form .form-table tr.bulk_upload_status_heading_tr{
|
1389 |
-
border-top: 0;
|
1390 |
-
}
|
1391 |
-
#wc_ast_upload_csv_form .form-table tr.bulk_upload_status_overview_tr .bulk_upload_status_overview_td{
|
1392 |
-
text-align: center;
|
1393 |
-
padding: 5px 0;
|
1394 |
-
display: none;
|
1395 |
-
}
|
1396 |
-
#wc_ast_upload_csv_form .form-table tr.bulk_upload_status_overview_tr .bulk_upload_status_overview_td span:before{
|
1397 |
-
font-family: dashicons;
|
1398 |
-
vertical-align: sub;
|
1399 |
-
margin-right: 5px;
|
1400 |
-
font-size: 18px;
|
1401 |
-
font-weight: 600;
|
1402 |
-
}
|
1403 |
-
#wc_ast_upload_csv_form .form-table tr.bulk_upload_status_overview_tr .bulk_upload_status_overview_td.csv_success_msg span:before{
|
1404 |
-
content: "\f12a";
|
1405 |
-
color: #09d3ac;
|
1406 |
-
}
|
1407 |
-
#wc_ast_upload_csv_form .form-table tr.bulk_upload_status_overview_tr .bulk_upload_status_overview_td.csv_fail_msg span:before{
|
1408 |
-
content: "\f153";
|
1409 |
-
color: #f44336;
|
1410 |
-
}
|
1411 |
-
#wc_ast_upload_csv_form .form-table .bulk_upload_status_action{
|
1412 |
-
text-align:center;
|
1413 |
-
}
|
1414 |
-
#wc_ast_upload_csv_form .form-table .bulk_upload_status_action td{
|
1415 |
-
padding: 15px 15px 0;
|
1416 |
-
}
|
1417 |
-
.woocommerce-help-tip.dashicons::after{
|
1418 |
-
content:none;
|
1419 |
-
}
|
1420 |
-
.woocommerce_page_woocommerce-advanced-shipment-tracking .woocommerce-help-tip.dashicons{
|
1421 |
-
font-size: 20px;
|
1422 |
-
}
|
1423 |
-
.open_tracking_details{
|
1424 |
-
cursor:pointer;
|
1425 |
-
}
|
1426 |
-
.plugins_section.free_plugin_section {
|
1427 |
-
display: flex;
|
1428 |
-
flex-wrap: wrap;
|
1429 |
-
}
|
1430 |
-
.single_plugin {
|
1431 |
-
flex-grow: 1;
|
1432 |
-
padding: 20px 20px 0 0;
|
1433 |
-
box-sizing: border-box;
|
1434 |
-
}
|
1435 |
-
.single_plugin.as-col-6:nth-child(2n){
|
1436 |
-
padding-right: 0;
|
1437 |
-
}
|
1438 |
-
.single_plugin.as-col-4:nth-child(3n){
|
1439 |
-
padding-right: 0;
|
1440 |
-
}
|
1441 |
-
.plugins_section.free_plugin_section .paid_plugin_image{
|
1442 |
-
text-align: center;
|
1443 |
-
margin: 0 -15px;
|
1444 |
-
border-bottom: 1px solid #e0e0e0;
|
1445 |
-
padding: 15px;
|
1446 |
-
height: 50px;
|
1447 |
-
display: flex;
|
1448 |
-
justify-content: left;
|
1449 |
-
align-items: center;
|
1450 |
-
}
|
1451 |
-
.plugins_section.free_plugin_section .paid_plugin_image img{
|
1452 |
-
height: 45px;
|
1453 |
-
}
|
1454 |
-
.plugins_section.free_plugin_section .plugin_title {
|
1455 |
-
font-size: 16px;
|
1456 |
-
font-weight: normal;
|
1457 |
-
margin-left: 20px;
|
1458 |
-
}
|
1459 |
-
.plugins_section.free_plugin_section .paid_plugin_description h3{
|
1460 |
-
margin: 1em 0 0;
|
1461 |
-
}
|
1462 |
-
.plugins_section.free_plugin_section .single_plugin .free_plugin_inner{
|
1463 |
-
border: 1px solid #e0e0e0;
|
1464 |
-
border-radius: 3px;
|
1465 |
-
background: #fff;
|
1466 |
-
padding: 0 15px 15px;
|
1467 |
-
}
|
1468 |
-
.border-bottom-1{
|
1469 |
-
border-bottom:1px solid #eee;
|
1470 |
-
}
|
1471 |
-
|
1472 |
-
/** Toggle CSS **/
|
1473 |
-
input[type=checkbox].ast-tgl {
|
1474 |
-
display: none;
|
1475 |
-
}
|
1476 |
-
.ast-tgl, .ast-tgl:after, .ast-tgl:before, .ast-tgl *, .ast-tgl *:after, .ast-tgl *:before, .ast-tgl + .ast-tgl-btn {
|
1477 |
-
box-sizing: border-box;
|
1478 |
-
}
|
1479 |
-
.ast-tgl::-moz-selection, .ast-tgl:after::-moz-selection, .ast-tgl:before::-moz-selection, .ast-tgl *::-moz-selection, .ast-tgl *:after::-moz-selection, .ast-tgl *:before::-moz-selection, .ast-tgl + .ast-tgl-btn::-moz-selection {
|
1480 |
-
background: none;
|
1481 |
-
}
|
1482 |
-
.ast-tgl::selection, .ast-tgl:after::selection, .ast-tgl:before::selection, .ast-tgl *::selection, .ast-tgl *:after::selection, .ast-tgl *:before::selection, .ast-tgl + .ast-tgl-btn::selection {
|
1483 |
-
background: none;
|
1484 |
-
}
|
1485 |
-
.ast-tgl + .ast-tgl-btn {
|
1486 |
-
outline: 0;
|
1487 |
-
display: inline-block;
|
1488 |
-
width: 36px;
|
1489 |
-
height: 18px;
|
1490 |
-
position: relative;
|
1491 |
-
cursor: pointer;
|
1492 |
-
-webkit-user-select: none;
|
1493 |
-
-moz-user-select: none;
|
1494 |
-
-ms-user-select: none;
|
1495 |
-
user-select: none;
|
1496 |
-
}
|
1497 |
-
.ast-tgl + .ast-tgl-btn:after, .ast-tgl + .ast-tgl-btn:before {
|
1498 |
-
position: relative;
|
1499 |
-
display: block;
|
1500 |
-
content: "";
|
1501 |
-
width: 40%;
|
1502 |
-
height: 100%;
|
1503 |
-
}
|
1504 |
-
.ast-tgl + .ast-tgl-btn:after {
|
1505 |
-
left: 0;
|
1506 |
-
}
|
1507 |
-
.ast-tgl + .ast-tgl-btn:before {
|
1508 |
-
display: none;
|
1509 |
-
}
|
1510 |
-
.ast-tgl:checked + .ast-tgl-btn:after {
|
1511 |
-
left: 50%;
|
1512 |
-
}
|
1513 |
-
.ast-tgl-flat + .ast-tgl-btn {
|
1514 |
-
padding: 2px;
|
1515 |
-
-webkit-transition: all .3s ease;
|
1516 |
-
transition: all .3s ease;
|
1517 |
-
background: #fff;
|
1518 |
-
border: 1px solid #ccc;
|
1519 |
-
border-radius: 2em;
|
1520 |
-
}
|
1521 |
-
.ast-tgl-flat:disabled + .ast-tgl-btn {
|
1522 |
-
opacity: 0.5;
|
1523 |
-
}
|
1524 |
-
.ast-tgl-flat + .ast-tgl-btn:after {
|
1525 |
-
-webkit-transition: all .2s ease;
|
1526 |
-
transition: all .2s ease;
|
1527 |
-
background: #bdbdbd;
|
1528 |
-
content: "";
|
1529 |
-
border-radius: 1em;
|
1530 |
-
}
|
1531 |
-
.ast-tgl-flat:checked + .ast-tgl-btn {
|
1532 |
-
border: 1px solid #ccc;
|
1533 |
-
}
|
1534 |
-
.ast-tgl-flat:checked + .ast-tgl-btn:after {
|
1535 |
-
left: 55%;
|
1536 |
-
background: #09d3ac;
|
1537 |
-
}
|
1538 |
-
|
1539 |
-
/** Snackbar CSS **/
|
1540 |
-
@-webkit-keyframes fadein {
|
1541 |
-
from {
|
1542 |
-
right: 0;
|
1543 |
-
opacity: 0;
|
1544 |
-
}
|
1545 |
-
to {
|
1546 |
-
right: 20px;
|
1547 |
-
opacity: 1;
|
1548 |
-
}
|
1549 |
-
}
|
1550 |
-
@keyframes fadein {
|
1551 |
-
from {
|
1552 |
-
right: 0;
|
1553 |
-
opacity: 0;
|
1554 |
-
}
|
1555 |
-
to {
|
1556 |
-
right: 20px;
|
1557 |
-
opacity: 1;
|
1558 |
-
}
|
1559 |
-
}
|
1560 |
-
.snackbar-logs {
|
1561 |
-
position: fixed;
|
1562 |
-
z-index: 5000;
|
1563 |
-
top: 95px;
|
1564 |
-
right: 10px;
|
1565 |
-
width: 300px;
|
1566 |
-
}
|
1567 |
-
.snackbar-log {
|
1568 |
-
-webkit-animation: fadein 0.5s;
|
1569 |
-
animation: fadein 0.5s;
|
1570 |
-
}
|
1571 |
-
.snackbar-log {
|
1572 |
-
display: block;
|
1573 |
-
margin-top: 10px;
|
1574 |
-
position: relative;
|
1575 |
-
right: -300px;
|
1576 |
-
opacity: 0;
|
1577 |
-
}
|
1578 |
-
.snackbar-log-show {
|
1579 |
-
right: 0;
|
1580 |
-
opacity: 1;
|
1581 |
-
}
|
1582 |
-
.snackbar-log {
|
1583 |
-
background: #3bc4e4;
|
1584 |
-
padding: 15px;
|
1585 |
-
border-radius: 4px;
|
1586 |
-
color: #FFF;
|
1587 |
-
}
|
1588 |
-
.snackbar-log-success {
|
1589 |
-
background: #3bc4e4;
|
1590 |
-
}
|
1591 |
-
.snackbar-log-error {
|
1592 |
-
background: #FE1A00;
|
1593 |
-
}
|
1594 |
-
.rtl .snackbar-logs{
|
1595 |
-
left: 10px;
|
1596 |
-
right: unset;
|
1597 |
-
}
|
1598 |
-
.rtl .snackbar-log {
|
1599 |
-
left: -300px;
|
1600 |
-
right: unset;
|
1601 |
-
}
|
1602 |
-
.rtl .snackbar-log-show{
|
1603 |
-
left: 0;
|
1604 |
-
right: unset;
|
1605 |
-
}
|
1606 |
-
/** End Snackbar CSS **/
|
1607 |
-
|
1608 |
-
/** Progress Bar CSS **/
|
1609 |
-
.upload_csv_table .progress2 {
|
1610 |
-
background-image: linear-gradient(to right, rgba(255,255,255, 0.7), rgba(255,255,255, 0.7)), linear-gradient(to right, rgb(63,81,181), rgb(63,81,181));
|
1611 |
-
}
|
1612 |
-
.upload_csv_table .progress-bar2 {
|
1613 |
-
height: 30px;
|
1614 |
-
transition: 0.4s linear;
|
1615 |
-
transition-property: width, background-color;
|
1616 |
-
}
|
1617 |
-
.upload_csv_table .progress-moved .progress-bar2 {
|
1618 |
-
width: 0%;
|
1619 |
-
background-color: #005b9a;
|
1620 |
-
}
|
1621 |
-
/** End Progress Bar CSS **/
|
1622 |
-
|
1623 |
-
a.view_csv_error_details {
|
1624 |
-
margin-left: 10px;
|
1625 |
-
}
|
1626 |
-
.woocommerce.zorem_admin_layout table.form-table tr.bulk_upload_status_detail_error_tr{
|
1627 |
-
display: none;
|
1628 |
-
}
|
1629 |
-
.woocommerce.zorem_admin_layout table.form-table tr.bulk_upload_status_detail_error_tr td {
|
1630 |
-
padding-top: 0;
|
1631 |
-
text-align: center;
|
1632 |
-
}
|
1633 |
-
ul.csv_error_details_ul {
|
1634 |
-
text-align: center;
|
1635 |
-
display: inline-block;
|
1636 |
-
margin-top: 5px;
|
1637 |
-
}
|
1638 |
-
ul.csv_error_details_ul li {
|
1639 |
-
border-bottom: 1px solid #eeee;
|
1640 |
-
padding: 0 0 5px;
|
1641 |
-
}
|
1642 |
-
ul.csv_error_details_ul li:before{
|
1643 |
-
font-family: dashicons;
|
1644 |
-
vertical-align: sub;
|
1645 |
-
margin-right: 5px;
|
1646 |
-
font-size: 18px;
|
1647 |
-
font-weight: 600;
|
1648 |
-
content: "\f153";
|
1649 |
-
color: #f44336;
|
1650 |
-
}
|
1651 |
-
.provider_message{
|
1652 |
-
padding-left: 10px;
|
1653 |
-
}
|
1654 |
-
.wp-core-ui .button-primary.add_custom_provider{
|
1655 |
-
margin-left: 10px;
|
1656 |
-
}
|
1657 |
-
.popupwrapper input[type=text].api_provider_name{
|
1658 |
-
margin-bottom: 5px;
|
1659 |
-
}
|
1660 |
-
.woocommerce_page_woocommerce-advanced-shipment-tracking .popupwrapper .add_more_api_provider{
|
1661 |
-
vertical-align: text-top;
|
1662 |
-
cursor: pointer;
|
1663 |
-
color: #005b9a;
|
1664 |
-
font-size: 25px;
|
1665 |
-
height: 25px;
|
1666 |
-
width: 25px;
|
1667 |
-
}
|
1668 |
-
|
1669 |
-
.ast-row {
|
1670 |
-
-js-display: flex;
|
1671 |
-
display: -ms-flexbox;
|
1672 |
-
display: flex;
|
1673 |
-
-ms-flex-flow: row wrap;
|
1674 |
-
flex-flow: row wrap;
|
1675 |
-
padding: 0 15px;
|
1676 |
-
align-items: center;
|
1677 |
-
justify-content: center;
|
1678 |
-
}
|
1679 |
-
.as-col-4 {
|
1680 |
-
max-width: 33.33%;
|
1681 |
-
-ms-flex-preferred-size: 33.33%;
|
1682 |
-
flex-basis: 33.33%;
|
1683 |
-
}
|
1684 |
-
.as-col-6 {
|
1685 |
-
max-width: 50%;
|
1686 |
-
-ms-flex-preferred-size: 50%;
|
1687 |
-
flex-basis: 50%;
|
1688 |
-
}
|
1689 |
-
.as-col-8 {
|
1690 |
-
max-width: 66%;
|
1691 |
-
-ms-flex-preferred-size: 66%;
|
1692 |
-
flex-basis: 66%;
|
1693 |
-
}
|
1694 |
-
.ast_pro_landing_header {
|
1695 |
-
font-size: 30px;
|
1696 |
-
line-height: 30px;
|
1697 |
-
margin: 0;
|
1698 |
-
font-weight: 500;
|
1699 |
-
color: #444;
|
1700 |
-
}
|
1701 |
-
.trackship_addon_section{
|
1702 |
-
background: #fff;
|
1703 |
-
border: 1px solid #e0e0e0;
|
1704 |
-
padding: 25px 20px;
|
1705 |
-
}
|
1706 |
-
.ast_ts_landing_banner img{
|
1707 |
-
max-width: 500px;
|
1708 |
-
width: 100%;
|
1709 |
-
}
|
1710 |
-
.paid_plugin_description p{
|
1711 |
-
display: -webkit-inline-box;
|
1712 |
-
-webkit-line-clamp: 3;
|
1713 |
-
-webkit-box-orient: vertical;
|
1714 |
-
overflow: hidden;
|
1715 |
-
text-overflow: ellipsis;
|
1716 |
-
}
|
1717 |
-
.ast_pro_features_list{
|
1718 |
-
margin: 20px 0;
|
1719 |
-
}
|
1720 |
-
.ast_pro_features_list li{
|
1721 |
-
margin: 0 0 10px;
|
1722 |
-
padding: 0 30px 0;
|
1723 |
-
line-height: 22px;
|
1724 |
-
position: relative;
|
1725 |
-
font-size: 14px;
|
1726 |
-
}
|
1727 |
-
.ast_pro_features_list li:before{
|
1728 |
-
content: "\f147";
|
1729 |
-
font-family: dashicons;
|
1730 |
-
font-size: 28px;
|
1731 |
-
vertical-align: middle;
|
1732 |
-
color: #3bc4e4;
|
1733 |
-
padding-right: 5px;
|
1734 |
-
position: absolute;
|
1735 |
-
left: 0;
|
1736 |
-
top: 3px;
|
1737 |
-
}
|
1738 |
-
|
1739 |
-
.multiple_select_container {
|
1740 |
-
display: inline-block;
|
1741 |
-
}
|
1742 |
-
.multiple_select_container .select2-container{
|
1743 |
-
width: 500px !important;
|
1744 |
-
}
|
1745 |
-
.multiple_select_container .select2-container .select2-selection--multiple .select2-selection__choice{
|
1746 |
-
line-height: 21px;
|
1747 |
-
height: 23px;
|
1748 |
-
}
|
1749 |
-
.multiple_select_container .select2-container .select2-search__field{
|
1750 |
-
min-width: 50px;
|
1751 |
-
}
|
1752 |
-
.wc-wp-version-gte-53 .multiple_select_container .select2-container .select2-selection--multiple{
|
1753 |
-
border-color: #e0e0e0;
|
1754 |
-
}
|
1755 |
-
.popupwrapper input[type=text].api_provider_name {
|
1756 |
-
width: calc(100% - 33px);
|
1757 |
-
}
|
1758 |
-
.ui-datepicker{
|
1759 |
-
z-index: 1000000 !important;
|
1760 |
-
}
|
1761 |
-
|
1762 |
-
/** Accordion Design **/
|
1763 |
-
.accordion_container{
|
1764 |
-
margin: 20px;
|
1765 |
-
max-width: 1000px;
|
1766 |
-
}
|
1767 |
-
.tab_section .accordion{
|
1768 |
-
padding: 15px;
|
1769 |
-
background: #fff;
|
1770 |
-
border: 1px solid #e0e0e0;
|
1771 |
-
border-radius: 3px;
|
1772 |
-
margin-top: 10px;
|
1773 |
-
cursor: pointer;
|
1774 |
-
}
|
1775 |
-
.tab_section .accordion.active {
|
1776 |
-
border-radius: 3px 3px 0 0;
|
1777 |
-
}
|
1778 |
-
.tab_section .panel {
|
1779 |
-
padding: 15px;
|
1780 |
-
display:none;
|
1781 |
-
border: 1px solid #e0e0e0;
|
1782 |
-
border-top: 0;
|
1783 |
-
border-radius: 3px;
|
1784 |
-
background: #fff;
|
1785 |
-
}
|
1786 |
-
.tab_section .panel.active {
|
1787 |
-
border-radius: 0 0 3px 3px;
|
1788 |
-
}
|
1789 |
-
.tab_section .accordion.heading label {
|
1790 |
-
font-weight: 600;
|
1791 |
-
font-size: 16px;
|
1792 |
-
line-height: 38px;
|
1793 |
-
pointer-events: none;
|
1794 |
-
color: #005B9A;
|
1795 |
-
}
|
1796 |
-
.tab_section .accordion.heading.active label{
|
1797 |
-
color: #3c4758;
|
1798 |
-
}
|
1799 |
-
.tab_section .accordion span.dashicons {
|
1800 |
-
float: right;
|
1801 |
-
pointer-events: none;
|
1802 |
-
padding: 5px 0;
|
1803 |
-
display: inline-table;
|
1804 |
-
}
|
1805 |
-
.tab_section .accordion.heading .dashicons.dashicons-arrow-right-alt2:before {
|
1806 |
-
color: #005b9a;
|
1807 |
-
font-size: 30px;
|
1808 |
-
}
|
1809 |
-
.tab_section .accordion.heading label .ast-accordion-btn {
|
1810 |
-
float: right;
|
1811 |
-
display: none;
|
1812 |
-
pointer-events: all;
|
1813 |
-
}
|
1814 |
-
/** End Accordion **/
|
1815 |
-
|
1816 |
-
/** Provider Grid **/
|
1817 |
-
.grid-row{
|
1818 |
-
display: grid;
|
1819 |
-
grid-template-columns: repeat(5, 1fr);
|
1820 |
-
}
|
1821 |
-
.provider-grid-row{
|
1822 |
-
margin-top: 25px;
|
1823 |
-
}
|
1824 |
-
.provider-grid-row .grid-item{
|
1825 |
-
padding: 10px;
|
1826 |
-
background: #ffffff;
|
1827 |
-
border: 1px solid #e0e0e0;
|
1828 |
-
border-radius: 3px;
|
1829 |
-
margin: 0 10px 10px 0;
|
1830 |
-
}
|
1831 |
-
.provider-grid-row .grid-item:hover{
|
1832 |
-
background: #f6f6f6;
|
1833 |
-
}
|
1834 |
-
|
1835 |
-
@media(min-width: 1550px) {
|
1836 |
-
.provider-grid-row .grid-item:nth-child(5n){
|
1837 |
-
margin: 0 0 10px 0;
|
1838 |
-
}
|
1839 |
-
}
|
1840 |
-
|
1841 |
-
@media(min-width: 1301px) and (max-width: 1500px){
|
1842 |
-
.grid-row{
|
1843 |
-
display: grid;
|
1844 |
-
grid-template-columns: repeat(4, 1fr);
|
1845 |
-
}
|
1846 |
-
.provider-grid-row .grid-item:nth-child(4n){
|
1847 |
-
margin: 0 0 10px 0;
|
1848 |
-
}
|
1849 |
-
}
|
1850 |
-
|
1851 |
-
|
1852 |
-
|
1853 |
-
@media(min-width: 768px) and (max-width: 1300px) {
|
1854 |
-
.grid-row{
|
1855 |
-
display: grid;
|
1856 |
-
grid-template-columns: repeat(3, 1fr);
|
1857 |
-
}
|
1858 |
-
.provider-grid-row .grid-item:nth-child(3n){
|
1859 |
-
margin: 0 0 10px 0;
|
1860 |
-
}
|
1861 |
-
}
|
1862 |
-
@media (min-width: 1100px) and (max-width: 1300px) {
|
1863 |
-
.integration-grid-row.grid-row {
|
1864 |
-
display: grid;
|
1865 |
-
grid-template-columns: repeat(4, 1fr);
|
1866 |
-
}
|
1867 |
-
}
|
1868 |
-
|
1869 |
-
@media(min-width: 500px) and (max-width: 767px) {
|
1870 |
-
.grid-row{
|
1871 |
-
display: grid;
|
1872 |
-
grid-template-columns: repeat(2, 1fr);
|
1873 |
-
}
|
1874 |
-
.provider-grid-row .grid-item:nth-child(2n){
|
1875 |
-
margin: 0 0 10px 0;
|
1876 |
-
}
|
1877 |
-
}
|
1878 |
-
|
1879 |
-
@media(max-width: 499px) {
|
1880 |
-
.grid-row{
|
1881 |
-
display: grid;
|
1882 |
-
grid-template-columns: repeat(1, 1fr);
|
1883 |
-
}
|
1884 |
-
.provider-grid-row .grid-item:nth-child(1n){
|
1885 |
-
margin: 0 0 10px 0;
|
1886 |
-
}
|
1887 |
-
}
|
1888 |
-
|
1889 |
-
.grid-top {
|
1890 |
-
display: flex;
|
1891 |
-
margin-bottom: 15px;
|
1892 |
-
}
|
1893 |
-
.grid-provider-img{
|
1894 |
-
display: flex;
|
1895 |
-
align-items: baseline;
|
1896 |
-
margin-right: 15px;
|
1897 |
-
}
|
1898 |
-
.grid-provider-img img{
|
1899 |
-
width: 40px;
|
1900 |
-
border-radius: 5px;
|
1901 |
-
}
|
1902 |
-
.grid-provider-settings {
|
1903 |
-
display: none;
|
1904 |
-
margin-left: auto;
|
1905 |
-
}
|
1906 |
-
.provider-grid-row .grid-item:hover .grid-provider-settings{
|
1907 |
-
display: flex;
|
1908 |
-
}
|
1909 |
-
.grid-provider-settings .provider_actions_btn{
|
1910 |
-
cursor: pointer;
|
1911 |
-
color: #616161;
|
1912 |
-
}
|
1913 |
-
span.dashicons.dashicons-trash.remove {
|
1914 |
-
cursor: pointer;
|
1915 |
-
vertical-align: middle;
|
1916 |
-
margin: 0 5px;
|
1917 |
-
}
|
1918 |
-
.grid-bottom {
|
1919 |
-
display: flex;
|
1920 |
-
}
|
1921 |
-
.grid-bottom .grid-provider-ts .dashicons-yes-alt{
|
1922 |
-
color: #09d3ac;
|
1923 |
-
}
|
1924 |
-
|
1925 |
-
.grid-provider-enable {
|
1926 |
-
margin-left: auto;
|
1927 |
-
}
|
1928 |
-
.hip-pagination {
|
1929 |
-
margin-top: 10px;
|
1930 |
-
}
|
1931 |
-
.hip-pagination a{
|
1932 |
-
line-height: 35px;
|
1933 |
-
padding: 8px 12px;
|
1934 |
-
color: #005b9a;
|
1935 |
-
text-decoration: none;
|
1936 |
-
background-color: #fff;
|
1937 |
-
border: 1px solid #e0e0e0;
|
1938 |
-
border-radius: 3px;
|
1939 |
-
margin-left: 5px;
|
1940 |
-
}
|
1941 |
-
.hip-pagination a.active{
|
1942 |
-
cursor: default;
|
1943 |
-
background-color: transparent;
|
1944 |
-
font-weight: normal;
|
1945 |
-
}
|
1946 |
-
/** End Provider CSS **/
|
1947 |
-
|
1948 |
-
/** Integration Panel CSS ***/
|
1949 |
-
.integration-grid-row .grid-item-wrapper {
|
1950 |
-
border: 1px solid #e0e0e0;
|
1951 |
-
text-align:center;
|
1952 |
-
background: #fff;
|
1953 |
-
}
|
1954 |
-
.integration-grid-row .grid-item-wrapper img {
|
1955 |
-
width: 100%;
|
1956 |
-
}
|
1957 |
-
.integration-grid-row .grid-img-bottom {
|
1958 |
-
border-top: 1px solid #e0e0e0;
|
1959 |
-
padding: 10px;
|
1960 |
-
text-align:left;
|
1961 |
-
}
|
1962 |
-
.integration-grid-row .integration-more-info{
|
1963 |
-
float: right;
|
1964 |
-
color: #005b9a;
|
1965 |
-
cursor: pointer;
|
1966 |
-
text-decoration: none;
|
1967 |
-
}
|
1968 |
-
.integration-grid-row .grid-item {
|
1969 |
-
margin: 0 10px 10px 0;
|
1970 |
-
}
|
1971 |
-
/** End CSS ***/
|
1972 |
-
|
1973 |
-
/** TrackShip Landing CSS ***/
|
1974 |
-
.trackship_section {
|
1975 |
-
border-radius: 3px;
|
1976 |
-
padding: 30px;
|
1977 |
-
margin-top: 30px;
|
1978 |
-
text-align: center;
|
1979 |
-
max-width: 930px;
|
1980 |
-
margin: 30px auto;
|
1981 |
-
}
|
1982 |
-
.ts_landing_logo{
|
1983 |
-
margin: 0 0 20px;
|
1984 |
-
}
|
1985 |
-
.ts_landing_header{
|
1986 |
-
font-size: 26px;
|
1987 |
-
line-height: 28px;
|
1988 |
-
margin: 0;
|
1989 |
-
font-weight: 700;
|
1990 |
-
}
|
1991 |
-
.ts_landing_description{
|
1992 |
-
font-size: 15px;
|
1993 |
-
max-width: 585px;
|
1994 |
-
margin: 1em auto;
|
1995 |
-
}
|
1996 |
-
.ts_landing_banner{
|
1997 |
-
text-align:center;
|
1998 |
-
background: #fafafa;
|
1999 |
-
border: 1px solid #e0e0e0;
|
2000 |
-
padding: 15px;
|
2001 |
-
max-width: 400px;
|
2002 |
-
margin: 30px auto;
|
2003 |
-
position: relative;
|
2004 |
-
}
|
2005 |
-
.ts_landing_banner img{
|
2006 |
-
width: 100%;
|
2007 |
-
}
|
2008 |
-
.open_ts_video{
|
2009 |
-
position: absolute;
|
2010 |
-
text-decoration: none;
|
2011 |
-
top: 42%;
|
2012 |
-
left: 44%;
|
2013 |
-
color: #09d3ac;
|
2014 |
-
background: #fff;
|
2015 |
-
cursor: pointer;
|
2016 |
-
}
|
2017 |
-
.open_ts_video span{
|
2018 |
-
width: 60px;
|
2019 |
-
height: 60px;
|
2020 |
-
font-size: 60px;
|
2021 |
-
}
|
2022 |
-
/** End CSS ***/
|
2023 |
-
|
2024 |
-
.upgrade_to_pro_popup .popuprow{
|
2025 |
-
max-width: 400px;
|
2026 |
-
}
|
2027 |
-
.upgrade_title{
|
2028 |
-
font-size: 26px;
|
2029 |
-
font-weight: 700;
|
2030 |
-
text-align: center;
|
2031 |
-
margin: 10px 0 30px;
|
2032 |
-
color: #3c4758;
|
2033 |
-
}
|
2034 |
-
.wp-core-ui .upgrade_to_pro_popup .btn_large{
|
2035 |
-
font-weight: 600;
|
2036 |
-
font-size: 18px;
|
2037 |
-
width: 100%;
|
2038 |
-
text-align: center;
|
2039 |
-
height: 50px;
|
2040 |
-
line-height: 47px;
|
2041 |
-
}
|
2042 |
-
|
2043 |
-
/*** RTL CSS ***/
|
2044 |
-
.rtl .tab_section .accordion span.dashicons {
|
2045 |
-
float: left;
|
2046 |
-
}
|
2047 |
-
.rtl .zorem_admin_settings .woocommerce-layout__activity-panel-tabs{
|
2048 |
-
left: 0;
|
2049 |
-
right: auto;
|
2050 |
-
}
|
2051 |
-
.rtl .tab_section .accordion.heading label .ast-accordion-btn {
|
2052 |
-
float: left;
|
2053 |
-
}
|
2054 |
-
.rtl.shipment_tracking_admin_settings #wpcontent {
|
2055 |
-
padding-right: 0;
|
2056 |
-
}
|
2057 |
-
.rtl label.tab_label.first_label{
|
2058 |
-
margin-right: 20px;
|
2059 |
-
margin-left: 0;
|
2060 |
-
}
|
2061 |
-
.rtl .provider_settings{
|
2062 |
-
margin-left:0;
|
2063 |
-
margin-right: 11px;
|
2064 |
-
}
|
2065 |
-
.rtl .paging.shipping_provider_paging {
|
2066 |
-
float: left;
|
2067 |
-
}
|
2068 |
-
.rtl table.wp-list-table img.provider-thumb {
|
2069 |
-
margin: 1px 1px 1px 10px;
|
2070 |
-
}
|
2071 |
-
.rtl .ast_admin_content table.form-table.upload_csv_table tr td{
|
2072 |
-
text-align: right;
|
2073 |
-
}
|
2074 |
-
.rtl .popupwrapper .popuprow .popup_title, .rtl .trackingpopup_wrapper .trackingpopup_row .popup_title{
|
2075 |
-
text-align: right;
|
2076 |
-
}
|
2077 |
-
.rtl .popupclose_btn{
|
2078 |
-
right: auto;
|
2079 |
-
left: 20px;
|
2080 |
-
}
|
2081 |
-
.rtl .popupwrapper .popuprow .button-primary, .rtl .trackingpopup_wrapper .trackingpopup_row .button-primary{
|
2082 |
-
float: right;
|
2083 |
-
}
|
2084 |
-
.rtl a.reset_default_provider{
|
2085 |
-
float: right;
|
2086 |
-
margin-right: 10px;
|
2087 |
-
line-height: 37px;
|
2088 |
-
}
|
2089 |
-
.rtl .popupwrapper .popuprow p{
|
2090 |
-
text-align: right;
|
2091 |
-
}
|
2092 |
-
.rtl .popupwrapper .popuprow .reset_db_fieldset{
|
2093 |
-
text-align: right;
|
2094 |
-
}
|
2095 |
-
.rtl .trackingpopup_wrapper .trackingpopup_row p{
|
2096 |
-
text-align: right;
|
2097 |
-
}
|
2098 |
-
.rtl .trackingpopup_wrapper .trackingpopup_row .ast_tracking_item_div{
|
2099 |
-
text-align:right;
|
2100 |
-
}
|
2101 |
-
.rtl .trackingpopup_wrapper .trackingpopup_row .add_tracking_number_form .form-field{
|
2102 |
-
text-align: right;
|
2103 |
-
}
|
2104 |
-
.rtl .trackingpopup_wrapper .trackingpopup_row .add_tracking_number_form input[type=checkbox] {
|
2105 |
-
margin: 0px 0 0 4px;
|
2106 |
-
}
|
2107 |
-
.rtl input.tab_input:checked + label, .rtl input.inner_tab_input:checked + label{
|
2108 |
-
margin-bottom: 0px;
|
2109 |
-
}
|
2110 |
-
|
2111 |
-
.rtl #content_tab_addons .single_plugin{
|
2112 |
-
text-align: left;
|
2113 |
-
}
|
2114 |
-
.rtl .ast-tgl + .ast-tgl-btn:after {
|
2115 |
-
right: 0;
|
2116 |
-
}
|
2117 |
-
.rtl .ast-tgl-flat:checked + .ast-tgl-btn:after {
|
2118 |
-
right: 55%;
|
2119 |
-
}
|
2120 |
-
.rtl .single_plugin{
|
2121 |
-
padding: 20px 0 0 20px;
|
2122 |
-
}
|
2123 |
-
.rtl .single_plugin.as-col-4:nth-child(3n) {
|
2124 |
-
padding-left: 0;
|
2125 |
-
}
|
2126 |
-
.rtl .single_plugin.as-col-6:nth-child(2n){
|
2127 |
-
padding-left: 0;
|
2128 |
-
}
|
2129 |
-
.rtl.wp-core-ui .btn_large .dashicons{
|
2130 |
-
margin-right: 5px;
|
2131 |
-
margin-left: auto;
|
2132 |
-
}
|
2133 |
-
.rtl .status_shipped_label{
|
2134 |
-
text-align:right !important;
|
2135 |
-
}
|
2136 |
-
.rtl table.provder_table td:first-child{
|
2137 |
-
border-right: 1px solid #e0e0e0;
|
2138 |
-
border-left: 0;
|
2139 |
-
}
|
2140 |
-
.rtl table.provder_table td:last-child{
|
2141 |
-
border-right: 0;
|
2142 |
-
border-left: 1px solid #e0e0e0;
|
2143 |
-
}
|
2144 |
-
.rtl .woocommerce.zorem_admin_layout table.form-table.order-status-table td:first-child{
|
2145 |
-
padding: 20px 0 20px 15px;
|
2146 |
-
}
|
2147 |
-
.rtl .woocommerce-layout__activity-panel-wrapper{
|
2148 |
-
left: 0;
|
2149 |
-
right: auto;
|
2150 |
-
}
|
2151 |
-
.rtl .search_section {
|
2152 |
-
float: right;
|
2153 |
-
}
|
2154 |
-
.rtl .search_section .search-icon {
|
2155 |
-
border-right: 1px solid #e0e0e0;
|
2156 |
-
left: 0;
|
2157 |
-
right: auto;
|
2158 |
-
border-left: 0;
|
2159 |
-
}
|
2160 |
-
.rtl .grid-provider-enable {
|
2161 |
-
margin-right: auto;
|
2162 |
-
margin-left: unset;
|
2163 |
-
}
|
2164 |
-
.rtl .provider_settings {
|
2165 |
-
float: left;
|
2166 |
-
}
|
2167 |
-
.rtl .grid-provider-img {
|
2168 |
-
margin-right: 0;
|
2169 |
-
margin-left: 15px;
|
2170 |
-
}
|
2171 |
-
.rtl .grid-provider-settings {
|
2172 |
-
margin-right: auto;
|
2173 |
-
margin-left: unset;
|
2174 |
-
}
|
2175 |
-
.rtl .integration-grid-row .grid-img-bottom {
|
2176 |
-
text-align: right;
|
2177 |
-
}
|
2178 |
-
.rtl .integration-grid-row .integration-more-info {
|
2179 |
-
float: left;
|
2180 |
-
}
|
2181 |
-
.rtl .ast_pro_features_list li:before{
|
2182 |
-
left: auto;
|
2183 |
-
right: 0;
|
2184 |
-
padding-right: 0;
|
2185 |
-
padding-left: 5px;
|
2186 |
-
}
|
2187 |
-
.rtl .plugins_section.free_plugin_section .paid_plugin_image {
|
2188 |
-
justify-content: right;
|
2189 |
-
}
|
2190 |
-
.rtl .plugins_section.free_plugin_section .plugin_title {
|
2191 |
-
margin-left: 0;
|
2192 |
-
margin-right: 20px;
|
2193 |
-
}
|
2194 |
-
|
2195 |
-
@media screen and (min-width: 768px) and (max-width: 1269px) {
|
2196 |
-
.provider-thumb {
|
2197 |
-
height: 40px;
|
2198 |
-
}
|
2199 |
-
span.provider_name {
|
2200 |
-
font-size: 12px;
|
2201 |
-
}
|
2202 |
-
}
|
2203 |
-
@media screen and (max-width: 1070px) {
|
2204 |
-
.order-status-table td:last-child {
|
2205 |
-
text-align: left;
|
2206 |
-
}
|
2207 |
-
a.settings_edit {
|
2208 |
-
line-height: 30px;
|
2209 |
-
}
|
2210 |
-
.form-table.order-status-table td .send_email_label {
|
2211 |
-
line-height: 30px;
|
2212 |
-
}
|
2213 |
-
}
|
2214 |
-
@media screen and (max-width: 820px) {
|
2215 |
-
.woocommerce.zorem_admin_layout table.form-table.heading-table td{
|
2216 |
-
display: table-cell;
|
2217 |
-
}
|
2218 |
-
.multiple_checkbox_label{
|
2219 |
-
width: 100%;
|
2220 |
-
}
|
2221 |
-
.multiple_checkbox_description{
|
2222 |
-
max-width: 100%;
|
2223 |
-
}
|
2224 |
-
.multiple_checkbox_parent{
|
2225 |
-
width: 100%;
|
2226 |
-
margin-top: 10px;
|
2227 |
-
}
|
2228 |
-
}
|
2229 |
-
@media screen and (max-width: 768px) {
|
2230 |
-
.provider{
|
2231 |
-
width: 33.3%;
|
2232 |
-
}
|
2233 |
-
.search_section,.provider_settings {
|
2234 |
-
float: none;
|
2235 |
-
}
|
2236 |
-
#search_provider{
|
2237 |
-
width: 100%;
|
2238 |
-
}
|
2239 |
-
table.provder_table td:nth-last-child(2) {
|
2240 |
-
text-align: left;
|
2241 |
-
}
|
2242 |
-
.single_plugin{
|
2243 |
-
width: 100%;
|
2244 |
-
max-width: 100%
|
2245 |
-
}
|
2246 |
-
.plugins_section.free_plugin_section .single_plugin{
|
2247 |
-
width: 100%;
|
2248 |
-
max-width: 100%
|
2249 |
-
}
|
2250 |
-
.settings_ul .settings_radio_li .radio_section{
|
2251 |
-
padding: 0;
|
2252 |
-
margin-top: 10px;
|
2253 |
-
display: block;
|
2254 |
-
}
|
2255 |
-
.woocommerce.zorem_admin_layout table.form-table.order-status-table td{
|
2256 |
-
padding: 12px 15px !important;
|
2257 |
-
}
|
2258 |
-
.woocommerce.zorem_admin_layout table.form-table.order-status-table td:first-child{
|
2259 |
-
width: auto;
|
2260 |
-
}
|
2261 |
-
.order-status-table tr td.status-label-column{
|
2262 |
-
width: auto;
|
2263 |
-
}
|
2264 |
-
.order-status-table td:last-child {
|
2265 |
-
text-align: unset;
|
2266 |
-
}
|
2267 |
-
.woocommerce.zorem_admin_layout table.form-table.order-status-table select{
|
2268 |
-
margin: 15px 0;
|
2269 |
-
}
|
2270 |
-
.ast_admin_content table.form-table.upload_csv_table th{
|
2271 |
-
width: auto;
|
2272 |
-
}
|
2273 |
-
.single_plugin:nth-child(2n){
|
2274 |
-
padding-right: 20px;
|
2275 |
-
}
|
2276 |
-
.tab_inner_container{
|
2277 |
-
padding: 0 10px;
|
2278 |
-
}
|
2279 |
-
}
|
2280 |
-
@media screen and (min-width: 1300px){
|
2281 |
-
content .woocommerce-progress-form-wrapper {
|
2282 |
-
max-width: 60%;
|
2283 |
-
}
|
2284 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
assets/css/customizer-styles.css
DELETED
@@ -1,128 +0,0 @@
|
|
1 |
-
#accordion-section-custom_order_status_email>h3:before{
|
2 |
-
font-family: 'Dashicons';
|
3 |
-
font-size: 20px;
|
4 |
-
font-weight: thin !important;
|
5 |
-
position: relative;
|
6 |
-
line-height: 0;
|
7 |
-
vertical-align: middle;
|
8 |
-
opacity: .6;
|
9 |
-
top: -1px;
|
10 |
-
content: "\f465";
|
11 |
-
}
|
12 |
-
#accordion-section-trackship_shipment_status_email>h3:before{
|
13 |
-
font-family: 'Dashicons';
|
14 |
-
font-size: 20px;
|
15 |
-
font-weight: thin !important;
|
16 |
-
position: relative;
|
17 |
-
line-height: 0;
|
18 |
-
vertical-align: middle;
|
19 |
-
opacity: .6;
|
20 |
-
top: -1px;
|
21 |
-
content: "\f465";
|
22 |
-
}
|
23 |
-
#accordion-section-ast_tracking_general_section>h3:before{
|
24 |
-
font-family: 'Dashicons';
|
25 |
-
font-size: 20px;
|
26 |
-
font-weight: thin !important;
|
27 |
-
position: relative;
|
28 |
-
line-height: 0;
|
29 |
-
vertical-align: middle;
|
30 |
-
opacity: .6;
|
31 |
-
top: -1px;
|
32 |
-
content: "\f231";
|
33 |
-
}
|
34 |
-
#accordion-section-ast_tracking_page_section>h3:before{
|
35 |
-
font-family: 'Dashicons';
|
36 |
-
font-size: 20px;
|
37 |
-
font-weight: thin !important;
|
38 |
-
position: relative;
|
39 |
-
line-height: 0;
|
40 |
-
vertical-align: middle;
|
41 |
-
opacity: .6;
|
42 |
-
top: -1px;
|
43 |
-
content: "\f231";
|
44 |
-
}
|
45 |
-
|
46 |
-
/* Mobile preview */
|
47 |
-
.preview-mobile #customize-preview iframe {
|
48 |
-
width:606px;
|
49 |
-
height: 1500px;
|
50 |
-
-ms-transform: scale(0.50);
|
51 |
-
-moz-transform: scale(0.50);
|
52 |
-
-o-transform: scale(0.50);
|
53 |
-
-webkit-transform: scale(0.50);
|
54 |
-
transform: scale(0.50);
|
55 |
-
-ms-transform-origin: 0 0;
|
56 |
-
-moz-transform-origin: 0 0;
|
57 |
-
-o-transform-origin: 0 0;
|
58 |
-
-webkit-transform-origin: 0 0;
|
59 |
-
transform-origin: 0 0;
|
60 |
-
}
|
61 |
-
.preview-mobile .wp-full-overlay-main {
|
62 |
-
overflow-y:scroll;
|
63 |
-
overflow-x:auto;
|
64 |
-
}
|
65 |
-
|
66 |
-
/* Template Control */
|
67 |
-
.customize-control-kwdtemplateload .image-radio-select label {
|
68 |
-
display: block;
|
69 |
-
height: auto;
|
70 |
-
float: none;
|
71 |
-
width: 100%;
|
72 |
-
margin-bottom: 8px;
|
73 |
-
padding: 8px 8px 0;
|
74 |
-
box-shadow: none;
|
75 |
-
box-sizing: border-box;
|
76 |
-
}
|
77 |
-
#customize-controls .customize-control-kwdtemplateload label img {
|
78 |
-
border: 4px solid #ccc;
|
79 |
-
box-sizing: border-box;
|
80 |
-
cursor: pointer;
|
81 |
-
height: auto;
|
82 |
-
max-width: 100%;
|
83 |
-
padding: 1px;
|
84 |
-
}
|
85 |
-
#customize-controls .customize-control-kwdtemplateload label.ktactive img {
|
86 |
-
border-color: #00a0d2;
|
87 |
-
}
|
88 |
-
.customize-control-kwdtemplateload .kt-template-woomail-load-controls:after {
|
89 |
-
clear: both;
|
90 |
-
display: table;
|
91 |
-
content: '';
|
92 |
-
}
|
93 |
-
.customize-control code {
|
94 |
-
padding: 10px;
|
95 |
-
display: block;
|
96 |
-
background: #f9f9f9;
|
97 |
-
color: #505050;
|
98 |
-
font-size: 12px;
|
99 |
-
}
|
100 |
-
#customize-controls li.customize-control h3{
|
101 |
-
margin-top: 0px;
|
102 |
-
margin-bottom: 0;
|
103 |
-
}
|
104 |
-
.customize-control-description{
|
105 |
-
font-size: 12px;
|
106 |
-
}
|
107 |
-
.customize-control+.customize-control:not(.customize-control-kirki-code)#customize-control-tracking_info_settings-display_shipment_provider_name,.customize-control+.customize-control:not(.customize-control-kirki-code)#customize-control-tracking_info_settings-table_header_block,.customize-control+.customize-control:not(.customize-control-kirki-code)#customize-control-tracking_info_settings-hide_table_header,.customize-control+.customize-control:not(.customize-control-kirki-code)#customize-control-table_header,.customize-control+.customize-control:not(.customize-control-kirki-code)#customize-control-tracking_info_settings-table_padding,.customize-control+.customize-control:not(.customize-control-kirki-code)#customize-control-tracking_info_settings-shipment_link_header,.customize-control+.customize-control:not(.customize-control-kirki-code)#customize-control-tracking_info_settings-tracking_link_font_color,.customize-control+.customize-control:not(.customize-control-kirki-code)#customize-control-tracking_info_settings-table_content_header{
|
108 |
-
border-top: 0;
|
109 |
-
padding-top: 0;
|
110 |
-
}
|
111 |
-
#customize-control-wcast_availableforpickup_email_settings-wcast_availableforpickup_email_content,#customize-control-wcast_intransit_email_settings-wcast_intransit_email_content,#customize-control-wcast_onhold_email_settings-wcast_onhold_email_content,#customize-control-wcast_returntosender_email_settings-wcast_returntosender_email_content,#customize-control-wcast_outfordelivery_email_settings-wcast_outfordelivery_email_content,#customize-control-wcast_delivered_email_settings-wcast_delivered_status_email_content,#customize-control-wcast_failure_email_settings-wcast_failure_email_content,#customize-control-late_shipments_email_settings-wcast_late_shipments_email_content,#customize-control-woocommerce_customer_updated_tracking_order_settings-wcast_updated_tracking_email_content,#customize-control-woocommerce_customer_partial_shipped_order_settings-wcast_partial_shipped_email_content,#customize-control-woocommerce_customer_delivered_order_settings-wcast_delivered_email_content {
|
112 |
-
margin-bottom: 0;
|
113 |
-
}
|
114 |
-
#customize-control-wcast_availableforpickup_email_settings-wcast_availableforpickup_email_code_block,#customize-control-wcast_intransit_email_settings-wcast_intransit_email_code_block,#customize-control-wcast_onhold_email_settings-wcast_onhold_email_code_block,#customize-control-wcast_returntosender_email_code_block,#customize-control-wcast_outfordelivery_email_settings-wcast_outfordelivery_email_code_block,#customize-control-wcast_delivered_email_settings-wcast_delivered_status_email_code_block,#customize-control-wcast_failure_email_settings-wcast_failure_email_code_block,#customize-control-late_shipments_email_settings-wcast_late_shipments_email_code_block,#customize-control-wcast_updated_tracking_code_block,#customize-control-wcast_partial_shipped_code_block,#customize-control-wcast_email_code_block {
|
115 |
-
margin-top: 0;
|
116 |
-
padding-top: 0;
|
117 |
-
border-top: 0;
|
118 |
-
}
|
119 |
-
li#accordion-panel-widgets {
|
120 |
-
display: none !important;
|
121 |
-
}
|
122 |
-
.customize-control+.customize-control {
|
123 |
-
border-top: 1px solid #ddd;
|
124 |
-
padding-top: 10px;
|
125 |
-
}
|
126 |
-
.wp-picker-container .wp-color-result.button {
|
127 |
-
border-color: #e0e0e0;
|
128 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
assets/css/customizer.css
DELETED
@@ -1,637 +0,0 @@
|
|
1 |
-
/* ==========================================================================
|
2 |
-
CSS for Customizer Custom Controls
|
3 |
-
========================================================================== */
|
4 |
-
|
5 |
-
/* ==========================================================================
|
6 |
-
Standard Selection
|
7 |
-
========================================================================== */
|
8 |
-
.customize-control select,
|
9 |
-
.select2-container--default .selection .select2-selection--single {
|
10 |
-
border: none;
|
11 |
-
position: relative;
|
12 |
-
border-radius: 0;
|
13 |
-
height: 27px;
|
14 |
-
line-height: 27px;
|
15 |
-
outline: none;
|
16 |
-
-webkit-box-shadow: none;
|
17 |
-
box-shadow: none;
|
18 |
-
border: 1px solid #eee;
|
19 |
-
}
|
20 |
-
|
21 |
-
.wp-customizer .select2-container--default .selection .select2-selection--multiple {
|
22 |
-
border: none;
|
23 |
-
background: #fcfcff;
|
24 |
-
border-radius: 0;
|
25 |
-
height: auto;
|
26 |
-
outline: none;
|
27 |
-
-webkit-box-shadow: none;
|
28 |
-
box-shadow: none;
|
29 |
-
}
|
30 |
-
|
31 |
-
.wp-customizer .select2-container--default .select2-selection--multiple .select2-selection__rendered {
|
32 |
-
width: 95%;
|
33 |
-
}
|
34 |
-
|
35 |
-
.wp-customizer .select2-container--default .select2-selection--multiple .select2-selection__clear {
|
36 |
-
position: absolute;
|
37 |
-
right: 0;
|
38 |
-
}
|
39 |
-
|
40 |
-
.wp-customizer .select2-container .select2-dropdown {
|
41 |
-
z-index: 900000;
|
42 |
-
}
|
43 |
-
|
44 |
-
.customize-control select:active,
|
45 |
-
.customize-control select:focus {
|
46 |
-
outline: none;
|
47 |
-
-webkit-box-shadow: none;
|
48 |
-
box-shadow: none;
|
49 |
-
}
|
50 |
-
|
51 |
-
/* ==========================================================================
|
52 |
-
Standard Input
|
53 |
-
========================================================================== */
|
54 |
-
input[type="text"],
|
55 |
-
input[type="number"],
|
56 |
-
input[type="url"],
|
57 |
-
input[type="email"],
|
58 |
-
input[type="date"] {
|
59 |
-
background: #fcfcff;
|
60 |
-
position: relative;
|
61 |
-
border-radius: 0;
|
62 |
-
border: 1px solid #eee;
|
63 |
-
height: 27px;
|
64 |
-
line-height: 27px;
|
65 |
-
outline: none;
|
66 |
-
-webkit-box-shadow: none;
|
67 |
-
box-shadow: none;
|
68 |
-
}
|
69 |
-
textarea{
|
70 |
-
background: #fcfcff;
|
71 |
-
position: relative;
|
72 |
-
border-radius: 0;
|
73 |
-
border: 1px solid #eee;
|
74 |
-
outline: none;
|
75 |
-
-webkit-box-shadow: none;
|
76 |
-
box-shadow: none;
|
77 |
-
}
|
78 |
-
input[type="text"]:active,
|
79 |
-
input[type="text"]:focus,
|
80 |
-
input[type="number"]:active,
|
81 |
-
input[type="number"]:focus {
|
82 |
-
outline: none;
|
83 |
-
-webkit-box-shadow: none;
|
84 |
-
box-shadow: none;
|
85 |
-
}
|
86 |
-
|
87 |
-
/* ==========================================================================
|
88 |
-
Simple Notice
|
89 |
-
========================================================================== */
|
90 |
-
|
91 |
-
.simple-notice-custom-control .customize-control-description {
|
92 |
-
line-height: 1.6
|
93 |
-
}
|
94 |
-
|
95 |
-
.simple-notice-custom-control code {
|
96 |
-
font-size: 90%;
|
97 |
-
padding: 2px 4px;
|
98 |
-
}
|
99 |
-
|
100 |
-
/* ==========================================================================
|
101 |
-
Textarea/TinyMCE
|
102 |
-
========================================================================== */
|
103 |
-
.tinymce-control textarea {
|
104 |
-
width: 100%;
|
105 |
-
padding: 10px;
|
106 |
-
height: 95px;
|
107 |
-
}
|
108 |
-
|
109 |
-
/* ==========================================================================
|
110 |
-
Text Radio Buttons
|
111 |
-
========================================================================== */
|
112 |
-
.text_radio_button_control:after {
|
113 |
-
content: " ";
|
114 |
-
display: block;
|
115 |
-
clear: both;
|
116 |
-
}
|
117 |
-
.text_radio_button_control .radio-buttons {
|
118 |
-
display: inline-block;
|
119 |
-
border: 1px solid #f9f9fe;
|
120 |
-
}
|
121 |
-
.text_radio_button_control .radio-button-label {
|
122 |
-
cursor: pointer;
|
123 |
-
float: left;
|
124 |
-
}
|
125 |
-
.text_radio_button_control .radio-button-label > input {
|
126 |
-
display: none;
|
127 |
-
}
|
128 |
-
.text_radio_button_control .radio-button-label span {
|
129 |
-
cursor: pointer;
|
130 |
-
font-weight: 500;
|
131 |
-
border: 2px solid #f9f9fe;
|
132 |
-
margin: 0;
|
133 |
-
background-color: #eee;
|
134 |
-
padding: 5px 15px;
|
135 |
-
display: inline-block;
|
136 |
-
}
|
137 |
-
.text_radio_button_control .radio-button-label span:hover {
|
138 |
-
background-color: rgba(255, 255, 255, .2);
|
139 |
-
color: #2885bb;
|
140 |
-
}
|
141 |
-
.text_radio_button_control .radio-button-label > input:checked + span {
|
142 |
-
background-color: #2084bd;
|
143 |
-
color: #fff;
|
144 |
-
}
|
145 |
-
.text_radio_button_control .radio-button-label > input:checked + span:hover {
|
146 |
-
color: #fff;
|
147 |
-
}
|
148 |
-
|
149 |
-
/* ==========================================================================
|
150 |
-
Image Radio Buttons
|
151 |
-
========================================================================== */
|
152 |
-
.image_radio_button_control .radio-button-label > input {
|
153 |
-
display: none;
|
154 |
-
}
|
155 |
-
.image_radio_button_control .radio-button-label > img {
|
156 |
-
cursor: pointer;
|
157 |
-
border: 3px solid #ddd;
|
158 |
-
}
|
159 |
-
.image_radio_button_control .radio-button-label > input:checked + img {
|
160 |
-
border: 3px solid #2885bb;
|
161 |
-
}
|
162 |
-
|
163 |
-
/* ==========================================================================
|
164 |
-
Image Checkboxes
|
165 |
-
========================================================================== */
|
166 |
-
.image_checkbox_control .checkbox-label > input {
|
167 |
-
display: none;
|
168 |
-
}
|
169 |
-
.image_checkbox_control .checkbox-label > img {
|
170 |
-
cursor: pointer;
|
171 |
-
border: 3px solid #ddd;
|
172 |
-
}
|
173 |
-
.image_checkbox_control .checkbox-label > input:checked + img {
|
174 |
-
border: 3px solid #2885bb;
|
175 |
-
}
|
176 |
-
|
177 |
-
/* ==========================================================================
|
178 |
-
Slider
|
179 |
-
========================================================================== */
|
180 |
-
.slider-custom-control {
|
181 |
-
margin-bottom: 30px;
|
182 |
-
}
|
183 |
-
.slider-custom-control input[type=number]::-webkit-inner-spin-button,
|
184 |
-
.slider-custom-control input[type=number]::-webkit-outer-spin-button {
|
185 |
-
-webkit-appearance: none;
|
186 |
-
margin: 0;
|
187 |
-
}
|
188 |
-
.slider-custom-control input[type=number] {
|
189 |
-
-moz-appearance: textfield;
|
190 |
-
}
|
191 |
-
.slider-custom-control input[type=number] {
|
192 |
-
width: 45px;
|
193 |
-
float: right;
|
194 |
-
margin: 7px 5px 0px 5px;
|
195 |
-
}
|
196 |
-
.slider-custom-control .slider {
|
197 |
-
width: 70%;
|
198 |
-
float: left;
|
199 |
-
margin: 20px 0 10px;
|
200 |
-
}
|
201 |
-
.slider-custom-control .slider-reset {
|
202 |
-
float: right;
|
203 |
-
cursor: pointer;
|
204 |
-
}
|
205 |
-
.slider-custom-control .slider-value {
|
206 |
-
border: none;
|
207 |
-
text-align: right;
|
208 |
-
width: 50px;
|
209 |
-
margin-right: 5px;
|
210 |
-
}
|
211 |
-
.slider-custom-control .slider-value,
|
212 |
-
.slider-custom-control .slider-unit {
|
213 |
-
float: right;
|
214 |
-
}
|
215 |
-
.slider-custom-control .ui-widget.ui-widget-content {
|
216 |
-
border: 1px solid #bdc3c7;
|
217 |
-
}
|
218 |
-
.slider-custom-control .ui-corner-all,
|
219 |
-
.slider-custom-control .ui-corner-bottom,
|
220 |
-
.slider-custom-control .ui-corner-right,
|
221 |
-
.slider-custom-control .ui-corner-br {
|
222 |
-
border-bottom-right-radius: 3px;
|
223 |
-
}
|
224 |
-
.slider-custom-control .ui-corner-all,
|
225 |
-
.slider-custom-control .ui-corner-bottom,
|
226 |
-
.slider-custom-control .ui-corner-left,
|
227 |
-
.slider-custom-control .ui-corner-bl {
|
228 |
-
border-bottom-left-radius: 3px;
|
229 |
-
}
|
230 |
-
.slider-custom-control .ui-corner-all,
|
231 |
-
.slider-custom-control .ui-corner-top,
|
232 |
-
.slider-custom-control .ui-corner-right,
|
233 |
-
.slider-custom-control .ui-corner-tr {
|
234 |
-
border-top-right-radius: 3px;
|
235 |
-
}
|
236 |
-
.slider-custom-control .ui-corner-all,
|
237 |
-
.slider-custom-control .ui-corner-top,
|
238 |
-
.slider-custom-control .ui-corner-left,
|
239 |
-
.slider-custom-control .ui-corner-tl {
|
240 |
-
border-top-left-radius: 3px;
|
241 |
-
}
|
242 |
-
.slider-custom-control .ui-widget-content {
|
243 |
-
background: #bdc3c7 none repeat scroll 0 0;
|
244 |
-
color: #333;
|
245 |
-
}
|
246 |
-
.slider-custom-control .ui-slider-horizontal {
|
247 |
-
height: 5px;
|
248 |
-
}
|
249 |
-
.slider-custom-control .ui-slider {
|
250 |
-
position: relative;
|
251 |
-
text-align: left;
|
252 |
-
}
|
253 |
-
.slider-custom-control .ui-state-default,
|
254 |
-
.slider-custom-control .ui-widget-content .ui-state-default,
|
255 |
-
.slider-custom-control .ui-widget-header .ui-state-default,
|
256 |
-
.slider-custom-control .ui-button,
|
257 |
-
.slider-custom-control .ui-button.ui-state-disabled:hover,
|
258 |
-
.slider-custom-control .ui-button.ui-state-disabled:active {
|
259 |
-
background: #005b9a none repeat scroll 0 0;
|
260 |
-
border: 1px solid #005b9a;
|
261 |
-
color: #454545;
|
262 |
-
font-weight: normal;
|
263 |
-
}
|
264 |
-
.slider-custom-control .ui-slider-horizontal .ui-slider-handle {
|
265 |
-
margin-left: -7px;
|
266 |
-
top: -7px;
|
267 |
-
border-radius: 50%;
|
268 |
-
}
|
269 |
-
.slider-custom-control .ui-slider .ui-slider-handle {
|
270 |
-
cursor: pointer;
|
271 |
-
height: 18px;
|
272 |
-
position: absolute;
|
273 |
-
width: 18px;
|
274 |
-
z-index: 2;
|
275 |
-
}
|
276 |
-
.slider-custom-control .dashicons-image-rotate {
|
277 |
-
margin-top: 10px;
|
278 |
-
color: #d4d4d4;
|
279 |
-
size: 16px;
|
280 |
-
}
|
281 |
-
.slider-custom-control .dashicons-image-rotate:hover {
|
282 |
-
color: #a7a7a7;
|
283 |
-
}
|
284 |
-
|
285 |
-
/* ==========================================================================
|
286 |
-
Toggle Switch
|
287 |
-
========================================================================== */
|
288 |
-
.toggle-switch-control .customize-control-title {
|
289 |
-
display: inline-block;
|
290 |
-
}
|
291 |
-
|
292 |
-
.toggle-switch {
|
293 |
-
position: relative;
|
294 |
-
width: 64px;
|
295 |
-
-webkit-user-select: none;
|
296 |
-
-moz-user-select: none;
|
297 |
-
-ms-user-select: none;
|
298 |
-
float: right;
|
299 |
-
}
|
300 |
-
|
301 |
-
.toggle-switch .toggle-switch-checkbox {
|
302 |
-
display: none;
|
303 |
-
}
|
304 |
-
|
305 |
-
.toggle-switch .toggle-switch-label {
|
306 |
-
display: block;
|
307 |
-
overflow: hidden;
|
308 |
-
cursor: pointer;
|
309 |
-
border: 2px solid #ddd;
|
310 |
-
border-radius: 20px;
|
311 |
-
padding: 0;
|
312 |
-
margin: 0;
|
313 |
-
}
|
314 |
-
|
315 |
-
.toggle-switch-inner {
|
316 |
-
display: block;
|
317 |
-
width: 200%;
|
318 |
-
margin-left: -100%;
|
319 |
-
transition: margin 0.3s ease-in 0s;
|
320 |
-
}
|
321 |
-
|
322 |
-
.toggle-switch-inner:before,
|
323 |
-
.toggle-switch-inner:after {
|
324 |
-
display: block;
|
325 |
-
float: left;
|
326 |
-
width: 50%;
|
327 |
-
height: 22px;
|
328 |
-
padding: 0;
|
329 |
-
line-height: 22px;
|
330 |
-
font-size: 14px;
|
331 |
-
color: white;
|
332 |
-
font-family: Trebuchet, Arial, sans-serif;
|
333 |
-
font-weight: bold;
|
334 |
-
box-sizing: border-box;
|
335 |
-
}
|
336 |
-
|
337 |
-
.toggle-switch-inner:before {
|
338 |
-
content: "ON";
|
339 |
-
padding-left: 8px;
|
340 |
-
background-color: #2885bb;
|
341 |
-
color: #FFFFFF;
|
342 |
-
}
|
343 |
-
|
344 |
-
.toggle-switch-inner:after {
|
345 |
-
content: "OFF";
|
346 |
-
padding-right: 8px;
|
347 |
-
background-color: #EEEEEE;
|
348 |
-
color: #999999;
|
349 |
-
text-align: right;
|
350 |
-
}
|
351 |
-
|
352 |
-
.toggle-switch-switch {
|
353 |
-
display: block;
|
354 |
-
width: 16px;
|
355 |
-
margin: 3px;
|
356 |
-
background: #FFFFFF;
|
357 |
-
position: absolute;
|
358 |
-
top: 0;
|
359 |
-
bottom: 0;
|
360 |
-
right: 38px;
|
361 |
-
border: 2px solid #ddd;
|
362 |
-
border-radius: 20px;
|
363 |
-
transition: all 0.3s ease-in 0s;
|
364 |
-
}
|
365 |
-
|
366 |
-
.toggle-switch-checkbox:checked + .toggle-switch-label .toggle-switch-inner {
|
367 |
-
margin-left: 0;
|
368 |
-
}
|
369 |
-
|
370 |
-
.toggle-switch-checkbox:checked + .toggle-switch-label .toggle-switch-switch {
|
371 |
-
right: 0px;
|
372 |
-
}
|
373 |
-
|
374 |
-
/* ==========================================================================
|
375 |
-
Sortable Repeater
|
376 |
-
========================================================================== */
|
377 |
-
.sortable {
|
378 |
-
list-style-type: none;
|
379 |
-
margin: 0;
|
380 |
-
padding: 0;
|
381 |
-
}
|
382 |
-
.sortable input[type="text"] {
|
383 |
-
margin: 5px 5px 5px 0;
|
384 |
-
width: 80%;
|
385 |
-
}
|
386 |
-
.sortable div {
|
387 |
-
cursor: move;
|
388 |
-
}
|
389 |
-
.customize-control-sortable-repeater-delete {
|
390 |
-
color: #d4d4d4;
|
391 |
-
}
|
392 |
-
.customize-control-sortable-repeater-delete:hover {
|
393 |
-
color: #f00;
|
394 |
-
}
|
395 |
-
.customize-control-sortable-repeater-delete .dashicons-no-alt {
|
396 |
-
text-decoration: none;
|
397 |
-
margin: 8px 0 0 0;
|
398 |
-
font-weight: 600;
|
399 |
-
}
|
400 |
-
.customize-control-sortable-repeater-delete:active,
|
401 |
-
.customize-control-sortable-repeater-delete:focus {
|
402 |
-
outline: none;
|
403 |
-
-webkit-box-shadow: none;
|
404 |
-
box-shadow: none;
|
405 |
-
}
|
406 |
-
.repeater .dashicons-sort {
|
407 |
-
margin: 8px 5px 0 5px;
|
408 |
-
color: #d4d4d4;
|
409 |
-
}
|
410 |
-
.repeater .dashicons-sort:hover {
|
411 |
-
color: #a7a7a7;
|
412 |
-
}
|
413 |
-
|
414 |
-
/* ==========================================================================
|
415 |
-
Single Accordion
|
416 |
-
========================================================================== */
|
417 |
-
.single-accordion-toggle {
|
418 |
-
font-size: 14px;
|
419 |
-
font-weight: 600;
|
420 |
-
line-height: 24px;
|
421 |
-
padding: 10px 5px 5px 0;
|
422 |
-
cursor: pointer;
|
423 |
-
}
|
424 |
-
.accordion-icon-toggle {
|
425 |
-
font-size: 18px;
|
426 |
-
margin-left: 5px;
|
427 |
-
margin-top: 5px;
|
428 |
-
-webkit-transition: -webkit-transform 0.3s ease-in-out;
|
429 |
-
-moz-transition: -moz-transform 0.3s ease-in-out;
|
430 |
-
-o-transition: -o-transform 0.3s ease-in-out;
|
431 |
-
transition: transform 0.3s ease-in-out;
|
432 |
-
}
|
433 |
-
.single-accordion-toggle-rotate .accordion-icon-toggle {
|
434 |
-
filter: progid: DXImageTransform.Microsoft.BasicImage(rotation=-0.5);
|
435 |
-
-webkit-transform: rotate(-45deg);
|
436 |
-
-moz-transform: rotate(-45deg);
|
437 |
-
-ms-transform: rotate(-45deg);
|
438 |
-
-o-transform: rotate(-45deg);
|
439 |
-
transform: rotate(-45deg);
|
440 |
-
display: inline-block;
|
441 |
-
}
|
442 |
-
.single-accordion {
|
443 |
-
display: none;
|
444 |
-
}
|
445 |
-
.single-accordion ul {
|
446 |
-
margin: 0;
|
447 |
-
padding: 0;
|
448 |
-
}
|
449 |
-
.single-accordion li {
|
450 |
-
background-color: #e4e4e4;
|
451 |
-
color: #888;
|
452 |
-
width: 115px;
|
453 |
-
display: inline-block;
|
454 |
-
padding: 5px;
|
455 |
-
margin: 5px;
|
456 |
-
text-align: center;
|
457 |
-
}
|
458 |
-
.single-accordion li i {
|
459 |
-
margin-left: 5px;
|
460 |
-
}
|
461 |
-
|
462 |
-
/* ==========================================================================
|
463 |
-
Alpha Color Picker
|
464 |
-
========================================================================== */
|
465 |
-
.customize-control-alpha-color .wp-picker-container .iris-picker {
|
466 |
-
border-bottom:none;
|
467 |
-
}
|
468 |
-
|
469 |
-
.customize-control-alpha-color .wp-picker-container {
|
470 |
-
max-width: 257px;
|
471 |
-
}
|
472 |
-
|
473 |
-
.customize-control-alpha-color .wp-picker-open + .wp-picker-input-wrap {
|
474 |
-
width: 100%;
|
475 |
-
}
|
476 |
-
|
477 |
-
.customize-control-alpha-color .wp-picker-input-wrap input[type="text"].wp-color-picker.alpha-color-control {
|
478 |
-
float: left;
|
479 |
-
width: 195px;
|
480 |
-
}
|
481 |
-
|
482 |
-
.customize-control-alpha-color .wp-picker-input-wrap .button {
|
483 |
-
margin-left: 0;
|
484 |
-
float: right;
|
485 |
-
}
|
486 |
-
|
487 |
-
.wp-picker-container .wp-picker-open ~ .wp-picker-holder .alpha-color-picker-container {
|
488 |
-
display: block;
|
489 |
-
}
|
490 |
-
|
491 |
-
.alpha-color-picker-container {
|
492 |
-
border: 1px solid #dfdfdf;
|
493 |
-
border-top: none;
|
494 |
-
display: none;
|
495 |
-
background: #FFF;
|
496 |
-
padding: 0 11px 10px;
|
497 |
-
position: relative;
|
498 |
-
}
|
499 |
-
|
500 |
-
.alpha-color-picker-container .ui-widget-content,
|
501 |
-
.alpha-color-picker-container .ui-widget-header,
|
502 |
-
.alpha-color-picker-wrap .ui-state-focus {
|
503 |
-
background: transparent;
|
504 |
-
border: none;
|
505 |
-
}
|
506 |
-
|
507 |
-
.alpha-color-picker-wrap a.iris-square-value:focus {
|
508 |
-
-webkit-box-shadow: none;
|
509 |
-
box-shadow: none;
|
510 |
-
}
|
511 |
-
|
512 |
-
.alpha-color-picker-container .ui-slider {
|
513 |
-
position: relative;
|
514 |
-
z-index: 1;
|
515 |
-
height: 24px;
|
516 |
-
text-align: center;
|
517 |
-
margin: 0 auto;
|
518 |
-
width: 88%;
|
519 |
-
width: calc( 100% - 28px );
|
520 |
-
}
|
521 |
-
|
522 |
-
.alpha-color-picker-container .ui-slider-handle,
|
523 |
-
.alpha-color-picker-container .ui-widget-content .ui-state-default {
|
524 |
-
color: #777;
|
525 |
-
background-color: #FFF;
|
526 |
-
text-shadow: 0 1px 0 #FFF;
|
527 |
-
text-decoration: none;
|
528 |
-
position: absolute;
|
529 |
-
z-index: 2;
|
530 |
-
box-shadow: 0 1px 2px rgba(0,0,0,0.2);
|
531 |
-
border: 1px solid #aaa;
|
532 |
-
-webkit-border-radius: 4px;
|
533 |
-
-moz-border-radius: 4px;
|
534 |
-
border-radius: 4px;
|
535 |
-
margin-top: -2px;
|
536 |
-
top: 0;
|
537 |
-
height: 26px;
|
538 |
-
width: 26px;
|
539 |
-
cursor: ew-resize;
|
540 |
-
font-size: 0;
|
541 |
-
padding: 0;
|
542 |
-
line-height: 27px;
|
543 |
-
margin-left: -14px;
|
544 |
-
}
|
545 |
-
|
546 |
-
.alpha-color-picker-container .ui-slider-handle.show-opacity {
|
547 |
-
font-size: 12px;
|
548 |
-
}
|
549 |
-
|
550 |
-
.alpha-color-picker-container .click-zone {
|
551 |
-
width: 14px;
|
552 |
-
height: 24px;
|
553 |
-
display: block;
|
554 |
-
position: absolute;
|
555 |
-
left: 10px;
|
556 |
-
}
|
557 |
-
|
558 |
-
.alpha-color-picker-container .max-click-zone {
|
559 |
-
right: 10px;
|
560 |
-
left: auto;
|
561 |
-
}
|
562 |
-
|
563 |
-
.alpha-color-picker-container .transparency {
|
564 |
-
height: 24px;
|
565 |
-
width: 100%;
|
566 |
-
background-color: #FFF;
|
567 |
-
background-image: url(../images/color-picker-transparency-grid.png);
|
568 |
-
box-shadow: 0 0 5px rgba(0,0,0,0.4) inset;
|
569 |
-
-webkit-border-radius: 3px;
|
570 |
-
-moz-border-radius: 3px;
|
571 |
-
border-radius: 3px;
|
572 |
-
padding: 0;
|
573 |
-
margin-top: -24px;
|
574 |
-
}
|
575 |
-
|
576 |
-
@media only screen and (max-width: 782px) {
|
577 |
-
.customize-control-alpha-color .wp-picker-input-wrap input[type="text"].wp-color-picker.alpha-color-control {
|
578 |
-
width: 184px;
|
579 |
-
}
|
580 |
-
}
|
581 |
-
|
582 |
-
@media only screen and (max-width: 640px) {
|
583 |
-
.customize-control-alpha-color .wp-picker-input-wrap input[type="text"].wp-color-picker.alpha-color-control {
|
584 |
-
width: 172px;
|
585 |
-
height: 33px;
|
586 |
-
}
|
587 |
-
}
|
588 |
-
|
589 |
-
/* ==========================================================================
|
590 |
-
Alpha Color Picker & Standard Color Picker
|
591 |
-
========================================================================== */
|
592 |
-
|
593 |
-
.customize-control-color .wp-color-result:after,
|
594 |
-
.customize-control-alpha-color .wp-color-result:after {
|
595 |
-
border: none;
|
596 |
-
}
|
597 |
-
|
598 |
-
.customize-control-color .wp-color-result .wp-color-result-text,
|
599 |
-
.customize-control-alpha-color .wp-color-result .wp-color-result-text {
|
600 |
-
border-left: none;
|
601 |
-
}
|
602 |
-
|
603 |
-
.wp-picker-holder .iris-picker .iris-palette {
|
604 |
-
box-shadow: none;
|
605 |
-
}
|
606 |
-
|
607 |
-
.wp-picker-container .iris-picker,
|
608 |
-
.wp-picker-container .alpha-color-picker-container {
|
609 |
-
border-radius: 0;
|
610 |
-
border: none;
|
611 |
-
}
|
612 |
-
|
613 |
-
.wp-picker-container .alpha-color-picker-container {
|
614 |
-
width: 233px;
|
615 |
-
}
|
616 |
-
|
617 |
-
/* ==========================================================================
|
618 |
-
Google Fonts Select
|
619 |
-
========================================================================== */
|
620 |
-
.google_fonts_select_control .google-fonts,
|
621 |
-
.google_fonts_select_control .weight-style {
|
622 |
-
margin-bottom: 10px;
|
623 |
-
}
|
624 |
-
|
625 |
-
.control_heading{
|
626 |
-
background-color: #3D4C5A;
|
627 |
-
color: #FFF;
|
628 |
-
font-size: 120%;
|
629 |
-
font-weight: bolder;
|
630 |
-
margin-left: -20px;
|
631 |
-
margin-right: -20px;
|
632 |
-
padding: 8px 25px;
|
633 |
-
border-top: 2px solid #23282d;
|
634 |
-
text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
|
635 |
-
font-size: 120%;
|
636 |
-
font-weight: bolder;
|
637 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
assets/css/icons/ast-icon.png
DELETED
Binary file
|
assets/css/icons/available-for-picup-o.png
DELETED
Binary file
|
assets/css/icons/available-for-picup.png
DELETED
Binary file
|
assets/css/icons/carrier-unsupported-o.png
DELETED
Binary file
|
assets/css/icons/carrier-unsupported.png
DELETED
Binary file
|
assets/css/icons/delivered-o.png
DELETED
Binary file
|
assets/css/icons/delivered.png
DELETED
Binary file
|
assets/css/icons/failure-o.png
DELETED
Binary file
|
assets/css/icons/failure.png
DELETED
Binary file
|
assets/css/icons/in-transit-o.png
DELETED
Binary file
|
assets/css/icons/in-transit.png
DELETED
Binary file
|
assets/css/icons/invalid-o.png
DELETED
Binary file
|
assets/css/icons/invalid-tracking-number-o.png
DELETED
Binary file
|
assets/css/icons/invalid-tracking-number.png
DELETED
Binary file
|
assets/css/icons/invalid-user-key-o.png
DELETED
Binary file
|
assets/css/icons/invalid-user-key.png
DELETED
Binary file
|
assets/css/icons/invalid.png
DELETED
Binary file
|
assets/css/icons/label_cancelled-o.png
DELETED
Binary file
|
assets/css/icons/label_cancelled.png
DELETED
Binary file
|
assets/css/icons/on-hold-o.png
DELETED
Binary file
|
assets/css/icons/on-hold.png
DELETED
Binary file
|
assets/css/icons/out-for-delivery-o.png
DELETED
Binary file
|
assets/css/icons/out-for-delivery.png
DELETED
Binary file
|
assets/css/icons/pending-trackship-o.png
DELETED
Binary file
|
assets/css/icons/pending-trackship.png
DELETED
Binary file
|
assets/css/icons/pre-transit-o.png
DELETED
Binary file
|
assets/css/icons/pre-transit.png
DELETED
Binary file
|
assets/css/icons/return-to-sender-o.png
DELETED
Binary file
|
assets/css/icons/return-to-sender.png
DELETED
Binary file
|
assets/css/icons/unknown-o.png
DELETED
Binary file
|
assets/css/icons/unknown.png
DELETED
Binary file
|
assets/css/icons/wrong-shipiing-provider-o.png
DELETED
Binary file
|
assets/css/icons/wrong-shipiing-provider.png
DELETED
Binary file
|
assets/css/preview-styles.css
DELETED
@@ -1,12 +0,0 @@
|
|
1 |
-
.ast_preview_body.wp-customizer-unloading #overlay{
|
2 |
-
position: fixed; /* Sit on top of the page content */
|
3 |
-
width: 100%; /* Full width (cover the whole page) */
|
4 |
-
height: 100%; /* Full height (cover the whole page) */
|
5 |
-
top: 0;
|
6 |
-
left: 0;
|
7 |
-
right: 0;
|
8 |
-
bottom: 0;
|
9 |
-
background-color: rgba(7, 29, 87, 0.5); /* Black background with opacity */
|
10 |
-
z-index: 2; /* Specify a stack order in case you're using a different order for other elements */
|
11 |
-
cursor: default; /* Add a pointer on hover */
|
12 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
assets/images/3plwinner.png
DELETED
Binary file
|
assets/images/WooCommerce-PDF-Invoices-Packing-Slips.png
DELETED
Binary file
|
assets/images/WooCommerce-PDF-Invoices.png
DELETED
Binary file
|
assets/images/aliexpress.png
DELETED
Binary file
|
assets/images/alp.png
DELETED
Binary file
|
assets/images/aosm.png
DELETED
Binary file
|
assets/images/ast-logo.png
DELETED
Binary file
|
assets/images/ast-pro-banner.png
DELETED
Binary file
|
assets/images/cart-rover.png
DELETED
Binary file
|
assets/images/cbr.png
DELETED
Binary file
|
assets/images/cev-icon.png
DELETED
Binary file
|
assets/images/customcat.png
DELETED
Binary file
|
assets/images/dear-system.png
DELETED
Binary file
|
assets/images/dianxiaomi.png
DELETED
Binary file
|
assets/images/eiz.png
DELETED
Binary file
|
assets/images/icon-default.png
DELETED
Binary file
|
assets/images/ordoro.png
DELETED
Binary file
|
assets/images/paypal-addon-banner.png
DELETED
Binary file
|
assets/images/picqer.png
DELETED
Binary file
|
assets/images/printify.png
DELETED
Binary file
|
assets/images/quickbooks.png
DELETED
Binary file
|
assets/images/readytoship.png
DELETED
Binary file
|
assets/images/royal-mail.png
DELETED
Binary file
|
assets/images/shipstation.png
DELETED
Binary file
|
assets/images/smswoo-addons-icon.jpg
DELETED
Binary file
|
assets/images/smswoo-icon.png
DELETED
Binary file
|
assets/images/sre.png
DELETED
Binary file
|
assets/images/timeline-round.png
DELETED
Binary file
|
assets/images/tpi-addon-icon.png
DELETED
Binary file
|
assets/images/trackship-ast-banner.png
DELETED
Binary file
|
assets/images/trackship-logo.png
DELETED
Binary file
|
assets/images/trackship.png
DELETED
Binary file
|
assets/images/ts-header-banner.png
DELETED
Binary file
|
assets/images/usps.png
DELETED
Binary file
|
assets/images/wc-addon-banner.jpg
ADDED
Binary file
|
assets/images/woo-UPS-shipping.png
DELETED
Binary file
|
assets/images/woo-shipping.png
DELETED
Binary file
|
assets/images/zorem-logo.png
ADDED
Binary file
|
assets/js/admin.js
DELETED
@@ -1,486 +0,0 @@
|
|
1 |
-
jQuery( function( $ ) {
|
2 |
-
|
3 |
-
var wc_shipment_tracking_items = {
|
4 |
-
|
5 |
-
// init Class
|
6 |
-
init: function() {
|
7 |
-
$( '#woocommerce-advanced-shipment-tracking' )
|
8 |
-
.on( 'click', 'a.delete-tracking', this.delete_tracking )
|
9 |
-
.on( 'click', 'button.button-show-tracking-form', this.show_form )
|
10 |
-
.on( 'click', 'button.button-save-form', this.save_form );
|
11 |
-
},
|
12 |
-
|
13 |
-
// When a user enters a new tracking item
|
14 |
-
save_form: function () {
|
15 |
-
var error;
|
16 |
-
var tracking_number = jQuery("#tracking_number");
|
17 |
-
var tracking_provider = jQuery("#tracking_provider");
|
18 |
-
|
19 |
-
if( tracking_number.val() === '' ){
|
20 |
-
showerror( tracking_number );error = true;
|
21 |
-
} else{
|
22 |
-
hideerror(tracking_number);
|
23 |
-
}
|
24 |
-
|
25 |
-
if( tracking_provider.val() === '' ){
|
26 |
-
jQuery("#tracking_provider").siblings('.select2-container').find('.select2-selection').css('border-color','red');
|
27 |
-
error = true;
|
28 |
-
} else{
|
29 |
-
jQuery("#tracking_provider").siblings('.select2-container').find('.select2-selection').css('border-color','#ddd');
|
30 |
-
hideerror(tracking_provider);
|
31 |
-
}
|
32 |
-
|
33 |
-
if(jQuery('.enable_tracking_per_item').prop("checked") == true){
|
34 |
-
if(jQuery("tr").hasClass("ASTProduct_row")){
|
35 |
-
var qty = false;
|
36 |
-
jQuery(".ASTProduct_row").each(function(index){
|
37 |
-
var ASTProduct_qty = jQuery(this).find('input[type="number"]').val();
|
38 |
-
if(ASTProduct_qty > 0){
|
39 |
-
qty = true;
|
40 |
-
return false;
|
41 |
-
}
|
42 |
-
});
|
43 |
-
}
|
44 |
-
}
|
45 |
-
|
46 |
-
if(qty == false){
|
47 |
-
jQuery('.qty_validation').show();
|
48 |
-
return false;
|
49 |
-
} else{
|
50 |
-
jQuery('.qty_validation').hide();
|
51 |
-
}
|
52 |
-
|
53 |
-
if(error == true){
|
54 |
-
return false;
|
55 |
-
}
|
56 |
-
if ( !$( 'input#tracking_number' ).val() ) {
|
57 |
-
return false;
|
58 |
-
}
|
59 |
-
|
60 |
-
$( '#advanced-shipment-tracking-form' ).block( {
|
61 |
-
message: null,
|
62 |
-
overlayCSS: {
|
63 |
-
background: '#fff',
|
64 |
-
opacity: 0.6
|
65 |
-
}
|
66 |
-
} );
|
67 |
-
var change_order_to_shipped = $('input[name=change_order_to_shipped]:checked').val();
|
68 |
-
|
69 |
-
if(change_order_to_shipped == 'change_order_to_partial_shipped'){
|
70 |
-
checked = 'change_order_to_partial_shipped';
|
71 |
-
} else if(change_order_to_shipped == 'change_order_to_shipped'){
|
72 |
-
checked = 'change_order_to_shipped';
|
73 |
-
} else if(change_order_to_shipped == 'change_order_to_custom_shipped'){
|
74 |
-
checked = 'change_order_to_shipped';
|
75 |
-
} else if($('input#change_order_to_shipped').prop("checked") == true){
|
76 |
-
checked = 'change_order_to_shipped';
|
77 |
-
} else{
|
78 |
-
checked = 'no';
|
79 |
-
}
|
80 |
-
|
81 |
-
var product_data = [];
|
82 |
-
jQuery(".ASTProduct_row").each(function(index){
|
83 |
-
var ASTProduct_qty = jQuery(this).find('input[type="number"]').val();
|
84 |
-
if(ASTProduct_qty > 0){
|
85 |
-
product_data.push({
|
86 |
-
product: jQuery(this).find('.product_id').val(),
|
87 |
-
qty: jQuery(this).find('input[type="number"]').val(),
|
88 |
-
});
|
89 |
-
}
|
90 |
-
});
|
91 |
-
|
92 |
-
var jsonString = JSON.stringify(product_data);
|
93 |
-
var data = {
|
94 |
-
action: 'wc_shipment_tracking_save_form',
|
95 |
-
order_id: woocommerce_admin_meta_boxes.post_id,
|
96 |
-
tracking_provider: $( '#tracking_provider' ).val(),
|
97 |
-
custom_tracking_provider: $( '#custom_tracking_provider' ).val(),
|
98 |
-
custom_tracking_link: $( 'input#custom_tracking_link' ).val(),
|
99 |
-
tracking_number: $( 'input#tracking_number' ).val(),
|
100 |
-
tracking_product_code: $( 'input#tracking_product_code' ).val(),
|
101 |
-
date_shipped: $( 'input#date_shipped' ).val(),
|
102 |
-
enable_tracking_per_item: $('input[name=enable_tracking_per_item]:checked').val(),
|
103 |
-
productlist: jsonString,
|
104 |
-
change_order_to_shipped: checked,
|
105 |
-
security: $( '#wc_shipment_tracking_create_nonce' ).val()
|
106 |
-
};
|
107 |
-
|
108 |
-
jQuery.ajax({
|
109 |
-
url: woocommerce_admin_meta_boxes.ajax_url,
|
110 |
-
data: data,
|
111 |
-
type: 'POST',
|
112 |
-
success: function(response) {
|
113 |
-
$( '#advanced-shipment-tracking-form' ).unblock();
|
114 |
-
|
115 |
-
if ( response == 'reload' ) {
|
116 |
-
location.reload(true);
|
117 |
-
return false;
|
118 |
-
}
|
119 |
-
if ( response != '-1' ) {
|
120 |
-
$( '#advanced-shipment-tracking-form' ).hide();
|
121 |
-
$( '#woocommerce-advanced-shipment-tracking #tracking-items' ).append( response );
|
122 |
-
$( '#woocommerce-advanced-shipment-tracking button.button-show-tracking-form' ).show();
|
123 |
-
$( '#tracking_provider' ).selectedIndex = 0;
|
124 |
-
$( '#custom_tracking_provider' ).val( '' );
|
125 |
-
$( 'input#custom_tracking_link' ).val( '' );
|
126 |
-
$( 'input#tracking_number' ).val( '' );
|
127 |
-
$( 'input#date_shipped' ).val( '' );
|
128 |
-
if(checked == 'change_order_to_shipped'){
|
129 |
-
jQuery('#order_status').val('wc-completed');
|
130 |
-
jQuery('#order_status').select2().trigger('change');
|
131 |
-
jQuery('#post').before('<div id="order_updated_message" class="updated notice notice-success is-dismissible"><p>Order updated.</p><button type="button" class="notice-dismiss update-dismiss"><span class="screen-reader-text">Dismiss this notice.</span></button></div>');
|
132 |
-
} else if(checked == 'change_order_to_partial_shipped'){
|
133 |
-
jQuery('#order_status').val('wc-partial-shipped');
|
134 |
-
jQuery('#order_status').select2().trigger('change');
|
135 |
-
jQuery('#post').before('<div id="order_updated_message" class="updated notice notice-success is-dismissible"><p>Order updated.</p><button type="button" class="notice-dismiss update-dismiss"><span class="screen-reader-text">Dismiss this notice.</span></button></div>');
|
136 |
-
}
|
137 |
-
}
|
138 |
-
},
|
139 |
-
error: function(response) {
|
140 |
-
console.log(response);
|
141 |
-
}
|
142 |
-
});
|
143 |
-
return false;
|
144 |
-
},
|
145 |
-
|
146 |
-
// Show the new tracking item form
|
147 |
-
show_form: function () {
|
148 |
-
$( '#woocommerce-advanced-shipment-tracking #advanced-shipment-tracking-form' ).show();
|
149 |
-
$( '#woocommerce-advanced-shipment-tracking .button-show-tracking-form' ).hide();
|
150 |
-
$( "#woocommerce-advanced-shipment-tracking #advanced-shipment-tracking-form #tracking_number" ).focus();
|
151 |
-
},
|
152 |
-
|
153 |
-
// Delete a tracking item
|
154 |
-
delete_tracking: function() {
|
155 |
-
|
156 |
-
var tracking_id = $( this ).attr( 'rel' );
|
157 |
-
|
158 |
-
$( '#tracking-item-' + tracking_id ).block({
|
159 |
-
message: null,
|
160 |
-
overlayCSS: {
|
161 |
-
background: '#fff',
|
162 |
-
opacity: 0.6
|
163 |
-
}
|
164 |
-
});
|
165 |
-
|
166 |
-
var data = {
|
167 |
-
action: 'wc_shipment_tracking_delete_item',
|
168 |
-
order_id: woocommerce_admin_meta_boxes.post_id,
|
169 |
-
tracking_id: tracking_id,
|
170 |
-
security: $( '#wc_shipment_tracking_delete_nonce' ).val()
|
171 |
-
};
|
172 |
-
|
173 |
-
$.post( woocommerce_admin_meta_boxes.ajax_url, data, function( response ) {
|
174 |
-
$( '#tracking-item-' + tracking_id ).unblock();
|
175 |
-
if ( response != '-1' ) {
|
176 |
-
$( '#tracking-item-' + tracking_id ).remove();
|
177 |
-
}
|
178 |
-
});
|
179 |
-
|
180 |
-
return false;
|
181 |
-
},
|
182 |
-
|
183 |
-
refresh_items: function() {
|
184 |
-
var data = {
|
185 |
-
action: 'wc_shipment_tracking_get_items',
|
186 |
-
order_id: woocommerce_admin_meta_boxes.post_id,
|
187 |
-
security: $( '#wc_shipment_tracking_get_nonce' ).val()
|
188 |
-
};
|
189 |
-
|
190 |
-
$( '#woocommerce-shipment-tracking' ).block( {
|
191 |
-
message: null,
|
192 |
-
overlayCSS: {
|
193 |
-
background: '#fff',
|
194 |
-
opacity: 0.6
|
195 |
-
}
|
196 |
-
} );
|
197 |
-
|
198 |
-
$.post( woocommerce_admin_meta_boxes.ajax_url, data, function( response ) {
|
199 |
-
$( '#woocommerce-shipment-tracking' ).unblock();
|
200 |
-
if ( response != '-1' ) {
|
201 |
-
$( '#woocommerce-shipment-tracking #tracking-items' ).html( response );
|
202 |
-
}
|
203 |
-
});
|
204 |
-
},
|
205 |
-
}
|
206 |
-
|
207 |
-
wc_shipment_tracking_items.init();
|
208 |
-
|
209 |
-
window.wc_shipment_tracking_refresh = wc_shipment_tracking_items.refresh_items;
|
210 |
-
} );
|
211 |
-
jQuery(document).on("click", ".update-dismiss", function(){
|
212 |
-
jQuery('#order_updated_message').fadeOut();
|
213 |
-
});
|
214 |
-
function showerror(element){
|
215 |
-
element.css("border-color","red");
|
216 |
-
}
|
217 |
-
function hideerror(element){
|
218 |
-
element.css("border-color","");
|
219 |
-
}
|
220 |
-
jQuery(document).ready(function() {
|
221 |
-
jQuery('#tracking_provider').select2({
|
222 |
-
matcher: modelMatcher
|
223 |
-
});
|
224 |
-
});
|
225 |
-
function modelMatcher (params, data) {
|
226 |
-
data.parentText = data.parentText || "";
|
227 |
-
|
228 |
-
// Always return the object if there is nothing to compare
|
229 |
-
if (jQuery.trim(params.term) === '') {
|
230 |
-
return data;
|
231 |
-
}
|
232 |
-
|
233 |
-
// Do a recursive check for options with children
|
234 |
-
if (data.children && data.children.length > 0) {
|
235 |
-
// Clone the data object if there are children
|
236 |
-
// This is required as we modify the object to remove any non-matches
|
237 |
-
var match = jQuery.extend(true, {}, data);
|
238 |
-
|
239 |
-
// Check each child of the option
|
240 |
-
for (var c = data.children.length - 1; c >= 0; c--) {
|
241 |
-
var child = data.children[c];
|
242 |
-
child.parentText += data.parentText + " " + data.text;
|
243 |
-
|
244 |
-
var matches = modelMatcher(params, child);
|
245 |
-
|
246 |
-
// If there wasn't a match, remove the object in the array
|
247 |
-
if (matches == null) {
|
248 |
-
match.children.splice(c, 1);
|
249 |
-
}
|
250 |
-
}
|
251 |
-
|
252 |
-
// If any children matched, return the new object
|
253 |
-
if (match.children.length > 0) {
|
254 |
-
return match;
|
255 |
-
}
|
256 |
-
|
257 |
-
// If there were no matching children, check just the plain object
|
258 |
-
return modelMatcher(params, match);
|
259 |
-
}
|
260 |
-
|
261 |
-
// If the typed-in term matches the text of this term, or the text from any
|
262 |
-
// parent term, then it's a match.
|
263 |
-
var original = (data.parentText + ' ' + data.text).toUpperCase();
|
264 |
-
var term = params.term.toUpperCase();
|
265 |
-
|
266 |
-
|
267 |
-
// Check if the text contains the term
|
268 |
-
if (original.indexOf(term) > -1) {
|
269 |
-
return data;
|
270 |
-
}
|
271 |
-
|
272 |
-
// If it doesn't contain the term, don't return anything
|
273 |
-
return null;
|
274 |
-
}
|
275 |
-
|
276 |
-
jQuery(document).on("click", ".add_inline_tracking", function(){
|
277 |
-
|
278 |
-
jQuery(this).closest('.wc_actions').block({
|
279 |
-
message: null,
|
280 |
-
overlayCSS: {
|
281 |
-
background: "#fff",
|
282 |
-
opacity: .6
|
283 |
-
}
|
284 |
-
});
|
285 |
-
|
286 |
-
var order_id = jQuery(this).attr('href');
|
287 |
-
order_id = order_id.replace("#", "");
|
288 |
-
jQuery('.add_tracking_number_form #order_id').val(order_id);
|
289 |
-
|
290 |
-
var ajax_data = {
|
291 |
-
action: 'ast_open_inline_tracking_form',
|
292 |
-
order_id: order_id,
|
293 |
-
security: ast_orders_params.order_nonce,
|
294 |
-
};
|
295 |
-
|
296 |
-
jQuery.ajax({
|
297 |
-
url: ajaxurl,
|
298 |
-
data: ajax_data,
|
299 |
-
type: 'POST',
|
300 |
-
success: function(response) {
|
301 |
-
jQuery( ".add_tracking_popup" ).remove();
|
302 |
-
jQuery( ".tracking_details_popup" ).remove();
|
303 |
-
jQuery("body").append(response);
|
304 |
-
jQuery('.add_tracking_popup').show();
|
305 |
-
jQuery( "#add_tracking_number_form #tracking_number" ).focus();
|
306 |
-
jQuery('.tracking_provider_dropdown').select2();
|
307 |
-
|
308 |
-
var selected_provider = jQuery("#tracking_provider").val();
|
309 |
-
|
310 |
-
if(selected_provider == 'nz-couriers' || selected_provider == 'post-haste' || selected_provider == 'castle-parcels' || selected_provider == 'dx-mail' || selected_provider == 'now-couriers'){
|
311 |
-
jQuery('.tracking_product_code_field').show();
|
312 |
-
} else{
|
313 |
-
jQuery('.tracking_product_code_field').hide();
|
314 |
-
}
|
315 |
-
|
316 |
-
jQuery( '.ast-date-picker-field' ).datepicker({
|
317 |
-
dateFormat: 'yy-mm-dd'
|
318 |
-
});
|
319 |
-
|
320 |
-
jQuery('.wc_actions').unblock();
|
321 |
-
},
|
322 |
-
error: function(response) {
|
323 |
-
jQuery('.wc_actions').unblock();
|
324 |
-
}
|
325 |
-
});
|
326 |
-
});
|
327 |
-
|
328 |
-
jQuery(document).on("click", ".mark_shipped_checkbox", function(){
|
329 |
-
if(jQuery(this).prop("checked") == true){
|
330 |
-
jQuery('.mark_shipped_checkbox').prop('checked', false);
|
331 |
-
jQuery(this).prop('checked', true);
|
332 |
-
}
|
333 |
-
});
|
334 |
-
|
335 |
-
jQuery(document).on("click", ".popupclose", function(){
|
336 |
-
jQuery('.add_tracking_popup').hide();
|
337 |
-
});
|
338 |
-
|
339 |
-
jQuery(document).on("click", ".popup_close_icon", function(){
|
340 |
-
jQuery('.add_tracking_popup').hide();
|
341 |
-
});
|
342 |
-
|
343 |
-
jQuery(document).on("submit", "#add_tracking_number_form", function(){
|
344 |
-
|
345 |
-
var form = jQuery('#add_tracking_number_form');
|
346 |
-
var error;
|
347 |
-
var tracking_provider = jQuery("#add_tracking_number_form #tracking_provider");
|
348 |
-
var tracking_number = jQuery("#add_tracking_number_form #tracking_number");
|
349 |
-
var date_shipped = jQuery("#add_tracking_number_form #date_shipped");
|
350 |
-
var tracking_product_code = jQuery( 'input#tracking_product_code' );
|
351 |
-
|
352 |
-
|
353 |
-
if( tracking_provider.val() === '' ){
|
354 |
-
jQuery("#tracking_provider").siblings('.select2-container').find('.select2-selection').css('border-color','red');
|
355 |
-
error = true;
|
356 |
-
} else{
|
357 |
-
jQuery("#tracking_provider").siblings('.select2-container').find('.select2-selection').css('border-color','#ddd');
|
358 |
-
hideerror(tracking_provider);
|
359 |
-
}
|
360 |
-
|
361 |
-
if( tracking_number.val() === '' ){
|
362 |
-
showerror(tracking_number);
|
363 |
-
error = true;
|
364 |
-
} else{
|
365 |
-
hideerror(tracking_number);
|
366 |
-
}
|
367 |
-
|
368 |
-
if( date_shipped.val() === '' ){
|
369 |
-
showerror(date_shipped);
|
370 |
-
error = true;
|
371 |
-
} else{
|
372 |
-
hideerror(date_shipped);
|
373 |
-
}
|
374 |
-
|
375 |
-
|
376 |
-
if(jQuery('.enable_tracking_per_item').prop("checked") == true){
|
377 |
-
if(jQuery("tr").hasClass("ASTProduct_row")){
|
378 |
-
var qty = false;
|
379 |
-
jQuery(".ASTProduct_row").each(function(index){
|
380 |
-
var ASTProduct_qty = jQuery(this).find('input[type="number"]').val();
|
381 |
-
if(ASTProduct_qty > 0){
|
382 |
-
qty = true;
|
383 |
-
return false;
|
384 |
-
}
|
385 |
-
});
|
386 |
-
}
|
387 |
-
}
|
388 |
-
|
389 |
-
if(qty == false){
|
390 |
-
jQuery('.qty_validation').show();
|
391 |
-
return false;
|
392 |
-
} else{
|
393 |
-
jQuery('.qty_validation').hide();
|
394 |
-
}
|
395 |
-
|
396 |
-
if(error == true){
|
397 |
-
return false;
|
398 |
-
}
|
399 |
-
|
400 |
-
jQuery("#add_tracking_number_form").block({
|
401 |
-
message: null,
|
402 |
-
overlayCSS: {
|
403 |
-
background: "#fff",
|
404 |
-
opacity: .6
|
405 |
-
}
|
406 |
-
});
|
407 |
-
jQuery.ajax({
|
408 |
-
url: ajaxurl,
|
409 |
-
data: form.serialize(),
|
410 |
-
type: 'POST',
|
411 |
-
success: function(response) {
|
412 |
-
location.reload();
|
413 |
-
},
|
414 |
-
error: function(response) {
|
415 |
-
console.log(response);
|
416 |
-
}
|
417 |
-
});
|
418 |
-
return false;
|
419 |
-
});
|
420 |
-
|
421 |
-
|
422 |
-
jQuery(document).on("click", ".inline_tracking_delete", function(){
|
423 |
-
var r = confirm( 'Do you really want to delete tracking number?' );
|
424 |
-
if (r === true) {
|
425 |
-
var tracking_id = jQuery( this ).attr( 'rel' );
|
426 |
-
var nonce = jQuery( this ).data( 'nonce' );
|
427 |
-
var order_id = jQuery( this ).data( 'order' );
|
428 |
-
jQuery( '#tracking-item-' + tracking_id ).block({
|
429 |
-
message: null,
|
430 |
-
overlayCSS: {
|
431 |
-
background: '#fff',
|
432 |
-
opacity: 0.6
|
433 |
-
}
|
434 |
-
});
|
435 |
-
var ajax_data = {
|
436 |
-
action: 'wc_shipment_tracking_delete_item',
|
437 |
-
security: nonce,
|
438 |
-
tracking_id: tracking_id,
|
439 |
-
order_id: order_id,
|
440 |
-
};
|
441 |
-
jQuery.ajax({
|
442 |
-
url: ajaxurl,
|
443 |
-
data: ajax_data,
|
444 |
-
type: 'POST',
|
445 |
-
success: function(response) {
|
446 |
-
jQuery( '#tracking-item-' + tracking_id ).unblock();
|
447 |
-
if ( response != '-1' ) {
|
448 |
-
jQuery( '.tracking-item-' + tracking_id ).remove();
|
449 |
-
}
|
450 |
-
},
|
451 |
-
error: function(response) {
|
452 |
-
console.log(response);
|
453 |
-
}
|
454 |
-
});
|
455 |
-
} else {
|
456 |
-
return;
|
457 |
-
}
|
458 |
-
});
|
459 |
-
|
460 |
-
jQuery(document).on("change", "#tracking_provider", function(){
|
461 |
-
var selected_provider = jQuery(this).val();
|
462 |
-
if(selected_provider == 'nz-couriers' || selected_provider == 'post-haste' || selected_provider == 'castle-parcels' || selected_provider == 'dx-mail' || selected_provider == 'now-couriers'){
|
463 |
-
jQuery('.tracking_product_code_field').show();
|
464 |
-
} else{
|
465 |
-
jQuery('.tracking_product_code_field').hide();
|
466 |
-
}
|
467 |
-
});
|
468 |
-
|
469 |
-
jQuery(document).ready(function() {
|
470 |
-
|
471 |
-
jQuery('.column-woocommerce-advanced-shipment-tracking').addClass('no-link');
|
472 |
-
|
473 |
-
var selected_provider = jQuery("#tracking_provider").val();
|
474 |
-
if(selected_provider == 'nz-couriers' || selected_provider == 'post-haste' || selected_provider == 'castle-parcels' || selected_provider == 'dx-mail' || selected_provider == 'now-couriers'){
|
475 |
-
jQuery('.tracking_product_code_field').show();
|
476 |
-
} else{
|
477 |
-
jQuery('.tracking_product_code_field').hide();
|
478 |
-
}
|
479 |
-
});
|
480 |
-
|
481 |
-
function showerror(element){
|
482 |
-
element.css("border","1px solid red");
|
483 |
-
}
|
484 |
-
function hideerror(element){
|
485 |
-
element.css("border","1px solid #ddd");
|
486 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
assets/js/customizer-scripts.js
DELETED
@@ -1,110 +0,0 @@
|
|
1 |
-
/*
|
2 |
-
* Customizer Scripts
|
3 |
-
* Need to rewrite and clean up this file.
|
4 |
-
*/
|
5 |
-
|
6 |
-
jQuery(document).ready(function() {
|
7 |
-
|
8 |
-
/**
|
9 |
-
* Change description
|
10 |
-
*/
|
11 |
-
jQuery('#customize-theme-controls #accordion-section-themes').hide();
|
12 |
-
jQuery( '#sub-accordion-section-ast_tracking_general_section .customize-section-title > h3 .customize-action' ).append( '<span class="dashicons dashicons-arrow-right" style="padding-top:4px;"></span> '+wcast_customizer.customizer_title );
|
13 |
-
jQuery( '#sub-accordion-section-custom_order_status_email .customize-section-title > h3 .customize-action' ).append( '<span class="dashicons dashicons-arrow-right" style="padding-top:4px;"></span> '+wcast_customizer.customizer_title );
|
14 |
-
jQuery( '.accordion-section .panel-title' ).html(wcast_customizer.customizer_title);
|
15 |
-
});
|
16 |
-
|
17 |
-
// Handle mobile button click
|
18 |
-
function custom_size_mobile() {
|
19 |
-
// get email width.
|
20 |
-
var email_width = '684';
|
21 |
-
var ratio = email_width/304;
|
22 |
-
var framescale = 100/ratio;
|
23 |
-
var framescale = framescale/100;
|
24 |
-
jQuery('#customize-preview iframe').width(email_width+'px');
|
25 |
-
jQuery('#customize-preview iframe').css({
|
26 |
-
'-webkit-transform' : 'scale(' + framescale + ')',
|
27 |
-
'-moz-transform' : 'scale(' + framescale + ')',
|
28 |
-
'-ms-transform' : 'scale(' + framescale + ')',
|
29 |
-
'-o-transform' : 'scale(' + framescale + ')',
|
30 |
-
'transform' : 'scale(' + framescale + ')'
|
31 |
-
});
|
32 |
-
}
|
33 |
-
jQuery('#customize-footer-actions .preview-mobile').click(function(e) {
|
34 |
-
custom_size_mobile();
|
35 |
-
});
|
36 |
-
jQuery('#customize-footer-actions .preview-desktop').click(function(e) {
|
37 |
-
jQuery('#customize-preview iframe').width('100%');
|
38 |
-
jQuery('#customize-preview iframe').css({
|
39 |
-
'-webkit-transform' : 'scale(1)',
|
40 |
-
'-moz-transform' : 'scale(1)',
|
41 |
-
'-ms-transform' : 'scale(1)',
|
42 |
-
'-o-transform' : 'scale(1)',
|
43 |
-
'transform' : 'scale(1)'
|
44 |
-
});
|
45 |
-
});
|
46 |
-
jQuery('#customize-footer-actions .preview-tablet').click(function(e) {
|
47 |
-
jQuery('#customize-preview iframe').width('100%');
|
48 |
-
jQuery('#customize-preview iframe').css({
|
49 |
-
'-webkit-transform' : 'scale(1)',
|
50 |
-
'-moz-transform' : 'scale(1)',
|
51 |
-
'-ms-transform' : 'scale(1)',
|
52 |
-
'-o-transform' : 'scale(1)',
|
53 |
-
'transform' : 'scale(1)'
|
54 |
-
});
|
55 |
-
});
|
56 |
-
|
57 |
-
(function ( api ) {
|
58 |
-
api.section( 'custom_order_status_email', function( section ) {
|
59 |
-
section.expanded.bind( function( isExpanded ) {
|
60 |
-
var url;
|
61 |
-
if ( isExpanded ) {
|
62 |
-
jQuery('#save').trigger('click');
|
63 |
-
var order_status = jQuery(".preview_email_type option:selected").val();
|
64 |
-
|
65 |
-
if(order_status == 'partially_shipped'){
|
66 |
-
url = wcast_customizer.partial_shipped_email_preview_url;
|
67 |
-
api.previewer.previewUrl.set( url );
|
68 |
-
} else if(order_status == 'updated_tracking'){
|
69 |
-
url = wcast_customizer.updated_tracking_email_preview_url;
|
70 |
-
api.previewer.previewUrl.set( url );
|
71 |
-
} else if(order_status == 'shipped'){
|
72 |
-
url = wcast_customizer.shipped_email_preview_url;
|
73 |
-
api.previewer.previewUrl.set( url );
|
74 |
-
}
|
75 |
-
}
|
76 |
-
} );
|
77 |
-
} );
|
78 |
-
} ( wp.customize ) );
|
79 |
-
|
80 |
-
(function ( api ) {
|
81 |
-
api.section( 'ast_tracking_general_section', function( section ) {
|
82 |
-
section.expanded.bind( function( isExpanded ) {
|
83 |
-
var url;
|
84 |
-
if ( isExpanded ) {
|
85 |
-
jQuery('#save').trigger('click');
|
86 |
-
url = wcast_customizer.tracking_preview_url;
|
87 |
-
api.previewer.previewUrl.set( url );
|
88 |
-
}
|
89 |
-
} );
|
90 |
-
} );
|
91 |
-
} ( wp.customize ) );
|
92 |
-
|
93 |
-
wp.customize( 'wcast_order_status_email_type', function( value ) {
|
94 |
-
value.bind( function( wcast_order_status_email_type ) {
|
95 |
-
if(wcast_order_status_email_type == 'partially_shipped'){
|
96 |
-
wp.customize.previewer.previewUrl(wcast_customizer.partial_shipped_email_preview_url);
|
97 |
-
wp.customize.previewer.refresh();
|
98 |
-
} else if(wcast_order_status_email_type == 'updated_tracking'){
|
99 |
-
wp.customize.previewer.previewUrl(wcast_customizer.updated_tracking_email_preview_url);
|
100 |
-
wp.customize.previewer.refresh();
|
101 |
-
} else if(wcast_order_status_email_type == 'shipped'){
|
102 |
-
wp.customize.previewer.previewUrl(wcast_customizer.shipped_email_preview_url);
|
103 |
-
wp.customize.previewer.refresh();
|
104 |
-
}
|
105 |
-
});
|
106 |
-
});
|
107 |
-
jQuery(document).ready(function() {
|
108 |
-
var email_type = wcast_customizer.email_type;
|
109 |
-
jQuery(".preview_email_type").val(email_type);
|
110 |
-
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
assets/js/customizer.js
DELETED
@@ -1,608 +0,0 @@
|
|
1 |
-
jQuery( document ).ready(function($) {
|
2 |
-
"use strict";
|
3 |
-
|
4 |
-
/**
|
5 |
-
* Sortable Repeater Custom Control
|
6 |
-
*
|
7 |
-
* @author Anthony Hortin <http://maddisondesigns.com>
|
8 |
-
* @license http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
-
* @link https://github.com/maddisondesigns
|
10 |
-
*/
|
11 |
-
|
12 |
-
// Update the values for all our input fields and initialise the sortable repeater
|
13 |
-
$('.sortable_repeater_control').each(function() {
|
14 |
-
// If there is an existing customizer value, populate our rows
|
15 |
-
var defaultValuesArray = $(this).find('.customize-control-sortable-repeater').val().split(',');
|
16 |
-
var numRepeaterItems = defaultValuesArray.length;
|
17 |
-
|
18 |
-
if(numRepeaterItems > 0) {
|
19 |
-
// Add the first item to our existing input field
|
20 |
-
$(this).find('.repeater-input').val(defaultValuesArray[0]);
|
21 |
-
// Create a new row for each new value
|
22 |
-
if(numRepeaterItems > 1) {
|
23 |
-
var i;
|
24 |
-
for (i = 1; i < numRepeaterItems; ++i) {
|
25 |
-
skyrocketAppendRow($(this), defaultValuesArray[i]);
|
26 |
-
}
|
27 |
-
}
|
28 |
-
}
|
29 |
-
});
|
30 |
-
|
31 |
-
// Make our Repeater fields sortable
|
32 |
-
$(this).find('.sortable').sortable({
|
33 |
-
update: function(event, ui) {
|
34 |
-
skyrocketGetAllInputs($(this).parent());
|
35 |
-
}
|
36 |
-
});
|
37 |
-
|
38 |
-
// Remove item starting from it's parent element
|
39 |
-
$('.sortable').on('click', '.customize-control-sortable-repeater-delete', function(event) {
|
40 |
-
event.preventDefault();
|
41 |
-
var numItems = $(this).parent().parent().find('.repeater').length;
|
42 |
-
|
43 |
-
if(numItems > 1) {
|
44 |
-
$(this).parent().slideUp('fast', function() {
|
45 |
-
var parentContainer = $(this).parent().parent();
|
46 |
-
$(this).remove();
|
47 |
-
skyrocketGetAllInputs(parentContainer);
|
48 |
-
})
|
49 |
-
}
|
50 |
-
else {
|
51 |
-
$(this).parent().find('.repeater-input').val('');
|
52 |
-
skyrocketGetAllInputs($(this).parent().parent().parent());
|
53 |
-
}
|
54 |
-
});
|
55 |
-
|
56 |
-
// Add new item
|
57 |
-
$('.customize-control-sortable-repeater-add').click(function(event) {
|
58 |
-
event.preventDefault();
|
59 |
-
skyrocketAppendRow($(this).parent());
|
60 |
-
skyrocketGetAllInputs($(this).parent());
|
61 |
-
});
|
62 |
-
|
63 |
-
// Refresh our hidden field if any fields change
|
64 |
-
$('.sortable').change(function() {
|
65 |
-
skyrocketGetAllInputs($(this).parent());
|
66 |
-
})
|
67 |
-
|
68 |
-
// Add https:// to the start of the URL if it doesn't have it
|
69 |
-
$('.sortable').on('blur', '.repeater-input', function() {
|
70 |
-
var url = $(this);
|
71 |
-
var val = url.val();
|
72 |
-
if(val && !val.match(/^.+:\/\/.*/)) {
|
73 |
-
// Important! Make sure to trigger change event so Customizer knows it has to save the field
|
74 |
-
url.val('https://' + val).trigger('change');
|
75 |
-
}
|
76 |
-
});
|
77 |
-
|
78 |
-
// Append a new row to our list of elements
|
79 |
-
function skyrocketAppendRow($element, defaultValue = '') {
|
80 |
-
var newRow = '<div class="repeater" style="display:none"><input type="text" value="' + defaultValue + '" class="repeater-input" placeholder="https://" /><span class="dashicons dashicons-sort"></span><a class="customize-control-sortable-repeater-delete" href="#"><span class="dashicons dashicons-no-alt"></span></a></div>';
|
81 |
-
|
82 |
-
$element.find('.sortable').append(newRow);
|
83 |
-
$element.find('.sortable').find('.repeater:last').slideDown('slow', function(){
|
84 |
-
$(this).find('input').focus();
|
85 |
-
});
|
86 |
-
}
|
87 |
-
|
88 |
-
// Get the values from the repeater input fields and add to our hidden field
|
89 |
-
function skyrocketGetAllInputs($element) {
|
90 |
-
var inputValues = $element.find('.repeater-input').map(function() {
|
91 |
-
return $(this).val();
|
92 |
-
}).toArray();
|
93 |
-
// Add all the values from our repeater fields to the hidden field (which is the one that actually gets saved)
|
94 |
-
$element.find('.customize-control-sortable-repeater').val(inputValues);
|
95 |
-
// Important! Make sure to trigger change event so Customizer knows it has to save the field
|
96 |
-
$element.find('.customize-control-sortable-repeater').trigger('change');
|
97 |
-
}
|
98 |
-
|
99 |
-
/**
|
100 |
-
* Slider Custom Control
|
101 |
-
*
|
102 |
-
* @author Anthony Hortin <http://maddisondesigns.com>
|
103 |
-
* @license http://www.gnu.org/licenses/gpl-2.0.html
|
104 |
-
* @link https://github.com/maddisondesigns
|
105 |
-
*/
|
106 |
-
|
107 |
-
// Set our slider defaults and initialise the slider
|
108 |
-
$('.slider-custom-control').each(function(){
|
109 |
-
var sliderValue = $(this).find('.customize-control-slider-value').val();
|
110 |
-
var newSlider = $(this).find('.slider');
|
111 |
-
var sliderMinValue = parseFloat(newSlider.attr('slider-min-value'));
|
112 |
-
var sliderMaxValue = parseFloat(newSlider.attr('slider-max-value'));
|
113 |
-
var sliderStepValue = parseFloat(newSlider.attr('slider-step-value'));
|
114 |
-
|
115 |
-
newSlider.slider({
|
116 |
-
value: sliderValue,
|
117 |
-
min: sliderMinValue,
|
118 |
-
max: sliderMaxValue,
|
119 |
-
step: sliderStepValue,
|
120 |
-
change: function(e,ui){
|
121 |
-
// Important! When slider stops moving make sure to trigger change event so Customizer knows it has to save the field
|
122 |
-
$(this).parent().find('.customize-control-slider-value').trigger('change');
|
123 |
-
}
|
124 |
-
});
|
125 |
-
});
|
126 |
-
|
127 |
-
// Change the value of the input field as the slider is moved
|
128 |
-
$('.slider').on('slide', function(event, ui) {
|
129 |
-
$(this).parent().find('.customize-control-slider-value').val(ui.value);
|
130 |
-
});
|
131 |
-
|
132 |
-
// Reset slider and input field back to the default value
|
133 |
-
$('.slider-reset').on('click', function() {
|
134 |
-
var resetValue = $(this).attr('slider-reset-value');
|
135 |
-
$(this).parent().find('.customize-control-slider-value').val(resetValue);
|
136 |
-
$(this).parent().find('.slider').slider('value', resetValue);
|
137 |
-
});
|
138 |
-
|
139 |
-
// Update slider if the input field loses focus as it's most likely changed
|
140 |
-
$('.customize-control-slider-value').blur(function() {
|
141 |
-
var resetValue = $(this).val();
|
142 |
-
var slider = $(this).parent().find('.slider');
|
143 |
-
var sliderMinValue = parseInt(slider.attr('slider-min-value'));
|
144 |
-
var sliderMaxValue = parseInt(slider.attr('slider-max-value'));
|
145 |
-
|
146 |
-
// Make sure our manual input value doesn't exceed the minimum & maxmium values
|
147 |
-
if(resetValue < sliderMinValue) {
|
148 |
-
resetValue = sliderMinValue;
|
149 |
-
$(this).val(resetValue);
|
150 |
-
}
|
151 |
-
if(resetValue > sliderMaxValue) {
|
152 |
-
resetValue = sliderMaxValue;
|
153 |
-
$(this).val(resetValue);
|
154 |
-
}
|
155 |
-
$(this).parent().find('.slider').slider('value', resetValue);
|
156 |
-
});
|
157 |
-
|
158 |
-
/**
|
159 |
-
* Single Accordion Custom Control
|
160 |
-
*
|
161 |
-
* @author Anthony Hortin <http://maddisondesigns.com>
|
162 |
-
* @license http://www.gnu.org/licenses/gpl-2.0.html
|
163 |
-
* @link https://github.com/maddisondesigns
|
164 |
-
*/
|
165 |
-
|
166 |
-
$('.single-accordion-toggle').click(function() {
|
167 |
-
var $accordionToggle = $(this);
|
168 |
-
$(this).parent().find('.single-accordion').slideToggle('slow', function() {
|
169 |
-
$accordionToggle.toggleClass('single-accordion-toggle-rotate', $(this).is(':visible'));
|
170 |
-
});
|
171 |
-
});
|
172 |
-
|
173 |
-
/**
|
174 |
-
* Image Check Box Custom Control
|
175 |
-
*
|
176 |
-
* @author Anthony Hortin <http://maddisondesigns.com>
|
177 |
-
* @license http://www.gnu.org/licenses/gpl-2.0.html
|
178 |
-
* @link https://github.com/maddisondesigns
|
179 |
-
*/
|
180 |
-
|
181 |
-
$('.multi-image-checkbox').on('change', function () {
|
182 |
-
getAllCheckboxes($(this).parent().parent());
|
183 |
-
});
|
184 |
-
|
185 |
-
// Get the values from the checkboxes and add to our hidden field
|
186 |
-
function getAllCheckboxes($element) {
|
187 |
-
var inputValues = $element.find('.multi-image-checkbox').map(function() {
|
188 |
-
if( $(this).is(':checked') ) {
|
189 |
-
return $(this).val();
|
190 |
-
// } else {
|
191 |
-
// return '';
|
192 |
-
}
|
193 |
-
}).toArray();
|
194 |
-
// Important! Make sure to trigger change event so Customizer knows it has to save the field
|
195 |
-
$element.find('.customize-control-multi-image-checkbox').val(inputValues).trigger('change');
|
196 |
-
}
|
197 |
-
|
198 |
-
/**
|
199 |
-
* Dropdown Select2 Custom Control
|
200 |
-
*
|
201 |
-
* @author Anthony Hortin <http://maddisondesigns.com>
|
202 |
-
* @license http://www.gnu.org/licenses/gpl-2.0.html
|
203 |
-
* @link https://github.com/maddisondesigns
|
204 |
-
*/
|
205 |
-
|
206 |
-
$('.customize-control-dropdown-select2').each(function(){
|
207 |
-
$('.customize-control-select2').select2({
|
208 |
-
allowClear: true
|
209 |
-
});
|
210 |
-
});
|
211 |
-
|
212 |
-
$(".customize-control-select2").on("change", function() {
|
213 |
-
var select2Val = $(this).val();
|
214 |
-
$(this).parent().find('.customize-control-dropdown-select2').val(select2Val).trigger('change');
|
215 |
-
});
|
216 |
-
|
217 |
-
/**
|
218 |
-
* Googe Font Select Custom Control
|
219 |
-
*
|
220 |
-
* @author Anthony Hortin <http://maddisondesigns.com>
|
221 |
-
* @license http://www.gnu.org/licenses/gpl-2.0.html
|
222 |
-
* @link https://github.com/maddisondesigns
|
223 |
-
*/
|
224 |
-
|
225 |
-
$('.google-fonts-list').each(function (i, obj) {
|
226 |
-
if (!$(obj).hasClass('select2-hidden-accessible')) {
|
227 |
-
$(obj).select2();
|
228 |
-
}
|
229 |
-
});
|
230 |
-
|
231 |
-
$('.google-fonts-list').on('change', function() {
|
232 |
-
var elementRegularWeight = $(this).parent().parent().find('.google-fonts-regularweight-style');
|
233 |
-
var elementItalicWeight = $(this).parent().parent().find('.google-fonts-italicweight-style');
|
234 |
-
var elementBoldWeight = $(this).parent().parent().find('.google-fonts-boldweight-style');
|
235 |
-
var selectedFont = $(this).val();
|
236 |
-
var customizerControlName = $(this).attr('control-name');
|
237 |
-
var elementItalicWeightCount = 0;
|
238 |
-
var elementBoldWeightCount = 0;
|
239 |
-
|
240 |
-
// Clear Weight/Style dropdowns
|
241 |
-
elementRegularWeight.empty();
|
242 |
-
elementItalicWeight.empty();
|
243 |
-
elementBoldWeight.empty();
|
244 |
-
// Make sure Italic & Bold dropdowns are enabled
|
245 |
-
elementItalicWeight.prop('disabled', false);
|
246 |
-
elementBoldWeight.prop('disabled', false);
|
247 |
-
|
248 |
-
// Get the Google Fonts control object
|
249 |
-
var bodyfontcontrol = _wpCustomizeSettings.controls[customizerControlName];
|
250 |
-
|
251 |
-
// Find the index of the selected font
|
252 |
-
var indexes = $.map(bodyfontcontrol.skyrocketfontslist, function(obj, index) {
|
253 |
-
if(obj.family === selectedFont) {
|
254 |
-
return index;
|
255 |
-
}
|
256 |
-
});
|
257 |
-
var index = indexes[0];
|
258 |
-
|
259 |
-
// For the selected Google font show the available weight/style variants
|
260 |
-
$.each(bodyfontcontrol.skyrocketfontslist[index].variants, function(val, text) {
|
261 |
-
elementRegularWeight.append(
|
262 |
-
$('<option></option>').val(text).html(text)
|
263 |
-
);
|
264 |
-
if (text.indexOf("italic") >= 0) {
|
265 |
-
elementItalicWeight.append(
|
266 |
-
$('<option></option>').val(text).html(text)
|
267 |
-
);
|
268 |
-
elementItalicWeightCount++;
|
269 |
-
} else {
|
270 |
-
elementBoldWeight.append(
|
271 |
-
$('<option></option>').val(text).html(text)
|
272 |
-
);
|
273 |
-
elementBoldWeightCount++;
|
274 |
-
}
|
275 |
-
});
|
276 |
-
|
277 |
-
if(elementItalicWeightCount == 0) {
|
278 |
-
elementItalicWeight.append(
|
279 |
-
$('<option></option>').val('').html('Not Available for this font')
|
280 |
-
);
|
281 |
-
elementItalicWeight.prop('disabled', 'disabled');
|
282 |
-
}
|
283 |
-
if(elementBoldWeightCount == 0) {
|
284 |
-
elementBoldWeight.append(
|
285 |
-
$('<option></option>').val('').html('Not Available for this font')
|
286 |
-
);
|
287 |
-
elementBoldWeight.prop('disabled', 'disabled');
|
288 |
-
}
|
289 |
-
|
290 |
-
// Update the font category based on the selected font
|
291 |
-
$(this).parent().parent().find('.google-fonts-category').val(bodyfontcontrol.skyrocketfontslist[index].category);
|
292 |
-
|
293 |
-
skyrocketGetAllSelects($(this).parent().parent());
|
294 |
-
});
|
295 |
-
|
296 |
-
$('.google_fonts_select_control select').on('change', function() {
|
297 |
-
skyrocketGetAllSelects($(this).parent().parent());
|
298 |
-
});
|
299 |
-
|
300 |
-
function skyrocketGetAllSelects($element) {
|
301 |
-
var selectedFont = {
|
302 |
-
font: $element.find('.google-fonts-list').val(),
|
303 |
-
regularweight: $element.find('.google-fonts-regularweight-style').val(),
|
304 |
-
italicweight: $element.find('.google-fonts-italicweight-style').val(),
|
305 |
-
boldweight: $element.find('.google-fonts-boldweight-style').val(),
|
306 |
-
category: $element.find('.google-fonts-category').val()
|
307 |
-
};
|
308 |
-
|
309 |
-
// Important! Make sure to trigger change event so Customizer knows it has to save the field
|
310 |
-
$element.find('.customize-control-google-font-selection').val(JSON.stringify(selectedFont)).trigger('change');
|
311 |
-
}
|
312 |
-
|
313 |
-
/**
|
314 |
-
* TinyMCE Custom Control
|
315 |
-
*
|
316 |
-
* @author Anthony Hortin <http://maddisondesigns.com>
|
317 |
-
* @license http://www.gnu.org/licenses/gpl-2.0.html
|
318 |
-
* @link https://github.com/maddisondesigns
|
319 |
-
*/
|
320 |
-
|
321 |
-
$('.customize-control-tinymce-editor').each(function(){
|
322 |
-
// Get the toolbar strings that were passed from the PHP Class
|
323 |
-
var tinyMCEToolbar1String = _wpCustomizeSettings.controls[$(this).attr('id')].skyrockettinymcetoolbar1;
|
324 |
-
var tinyMCEToolbar2String = _wpCustomizeSettings.controls[$(this).attr('id')].skyrockettinymcetoolbar2;
|
325 |
-
var tinyMCEMediaButtons = _wpCustomizeSettings.controls[$(this).attr('id')].skyrocketmediabuttons;
|
326 |
-
|
327 |
-
wp.editor.initialize( $(this).attr('id'), {
|
328 |
-
|
329 |
-
tinymce: {
|
330 |
-
wpautop: true,
|
331 |
-
toolbar1: tinyMCEToolbar1String,
|
332 |
-
toolbar2: tinyMCEToolbar2String
|
333 |
-
},
|
334 |
-
quicktags: true,
|
335 |
-
mediaButtons: tinyMCEMediaButtons
|
336 |
-
});
|
337 |
-
});
|
338 |
-
$(document).on( 'tinymce-editor-init', function( event, editor ) {
|
339 |
-
editor.on('change', function(e) {
|
340 |
-
tinyMCE.triggerSave();
|
341 |
-
$('#'+editor.id).trigger('change');
|
342 |
-
});
|
343 |
-
});
|
344 |
-
|
345 |
-
/**
|
346 |
-
* Alpha Color Picker Custom Control
|
347 |
-
*
|
348 |
-
* @author Braad Martin <http://braadmartin.com>
|
349 |
-
* @license http://www.gnu.org/licenses/gpl-3.0.html
|
350 |
-
* @link https://github.com/BraadMartin/components/tree/master/customizer/alpha-color-picker
|
351 |
-
*/
|
352 |
-
|
353 |
-
// Loop over each control and transform it into our color picker.
|
354 |
-
$( '.alpha-color-control' ).each( function() {
|
355 |
-
|
356 |
-
// Scope the vars.
|
357 |
-
var $control, startingColor, paletteInput, showOpacity, defaultColor, palette,
|
358 |
-
colorPickerOptions, $container, $alphaSlider, alphaVal, sliderOptions;
|
359 |
-
|
360 |
-
// Store the control instance.
|
361 |
-
$control = $( this );
|
362 |
-
|
363 |
-
// Get a clean starting value for the option.
|
364 |
-
startingColor = $control.val().replace( /\s+/g, '' );
|
365 |
-
|
366 |
-
// Get some data off the control.
|
367 |
-
paletteInput = $control.attr( 'data-palette' );
|
368 |
-
showOpacity = $control.attr( 'data-show-opacity' );
|
369 |
-
defaultColor = $control.attr( 'data-default-color' );
|
370 |
-
|
371 |
-
// Process the palette.
|
372 |
-
if ( paletteInput.indexOf( '|' ) !== -1 ) {
|
373 |
-
palette = paletteInput.split( '|' );
|
374 |
-
} else if ( 'false' == paletteInput ) {
|
375 |
-
palette = false;
|
376 |
-
} else {
|
377 |
-
palette = true;
|
378 |
-
}
|
379 |
-
|
380 |
-
// Set up the options that we'll pass to wpColorPicker().
|
381 |
-
colorPickerOptions = {
|
382 |
-
change: function( event, ui ) {
|
383 |
-
var key, value, alpha, $transparency;
|
384 |
-
|
385 |
-
key = $control.attr( 'data-customize-setting-link' );
|
386 |
-
value = $control.wpColorPicker( 'color' );
|
387 |
-
|
388 |
-
// Set the opacity value on the slider handle when the default color button is clicked.
|
389 |
-
if ( defaultColor == value ) {
|
390 |
-
alpha = acp_get_alpha_value_from_color( value );
|
391 |
-
$alphaSlider.find( '.ui-slider-handle' ).text( alpha );
|
392 |
-
}
|
393 |
-
|
394 |
-
// Send ajax request to wp.customize to trigger the Save action.
|
395 |
-
wp.customize( key, function( obj ) {
|
396 |
-
obj.set( value );
|
397 |
-
});
|
398 |
-
|
399 |
-
$transparency = $container.find( '.transparency' );
|
400 |
-
|
401 |
-
// Always show the background color of the opacity slider at 100% opacity.
|
402 |
-
$transparency.css( 'background-color', ui.color.toString( 'no-alpha' ) );
|
403 |
-
},
|
404 |
-
palettes: palette // Use the passed in palette.
|
405 |
-
};
|
406 |
-
|
407 |
-
// Create the colorpicker.
|
408 |
-
$control.wpColorPicker( colorPickerOptions );
|
409 |
-
|
410 |
-
$container = $control.parents( '.wp-picker-container:first' );
|
411 |
-
|
412 |
-
// Insert our opacity slider.
|
413 |
-
$( '<div class="alpha-color-picker-container">' +
|
414 |
-
'<div class="min-click-zone click-zone"></div>' +
|
415 |
-
'<div class="max-click-zone click-zone"></div>' +
|
416 |
-
'<div class="alpha-slider"></div>' +
|
417 |
-
'<div class="transparency"></div>' +
|
418 |
-
'</div>' ).appendTo( $container.find( '.wp-picker-holder' ) );
|
419 |
-
|
420 |
-
$alphaSlider = $container.find( '.alpha-slider' );
|
421 |
-
|
422 |
-
// If starting value is in format RGBa, grab the alpha channel.
|
423 |
-
alphaVal = acp_get_alpha_value_from_color( startingColor );
|
424 |
-
|
425 |
-
// Set up jQuery UI slider() options.
|
426 |
-
sliderOptions = {
|
427 |
-
create: function( event, ui ) {
|
428 |
-
var value = $( this ).slider( 'value' );
|
429 |
-
|
430 |
-
// Set up initial values.
|
431 |
-
$( this ).find( '.ui-slider-handle' ).text( value );
|
432 |
-
$( this ).siblings( '.transparency ').css( 'background-color', startingColor );
|
433 |
-
},
|
434 |
-
value: alphaVal,
|
435 |
-
range: 'max',
|
436 |
-
step: 1,
|
437 |
-
min: 0,
|
438 |
-
max: 100,
|
439 |
-
animate: 300
|
440 |
-
};
|
441 |
-
|
442 |
-
// Initialize jQuery UI slider with our options.
|
443 |
-
$alphaSlider.slider( sliderOptions );
|
444 |
-
|
445 |
-
// Maybe show the opacity on the handle.
|
446 |
-
if ( 'true' == showOpacity ) {
|
447 |
-
$alphaSlider.find( '.ui-slider-handle' ).addClass( 'show-opacity' );
|
448 |
-
}
|
449 |
-
|
450 |
-
// Bind event handlers for the click zones.
|
451 |
-
$container.find( '.min-click-zone' ).on( 'click', function() {
|
452 |
-
acp_update_alpha_value_on_color_control( 0, $control, $alphaSlider, true );
|
453 |
-
});
|
454 |
-
$container.find( '.max-click-zone' ).on( 'click', function() {
|
455 |
-
acp_update_alpha_value_on_color_control( 100, $control, $alphaSlider, true );
|
456 |
-
});
|
457 |
-
|
458 |
-
// Bind event handler for clicking on a palette color.
|
459 |
-
$container.find( '.iris-palette' ).on( 'click', function() {
|
460 |
-
var color, alpha;
|
461 |
-
|
462 |
-
color = $( this ).css( 'background-color' );
|
463 |
-
alpha = acp_get_alpha_value_from_color( color );
|
464 |
-
|
465 |
-
acp_update_alpha_value_on_alpha_slider( alpha, $alphaSlider );
|
466 |
-
|
467 |
-
// Sometimes Iris doesn't set a perfect background-color on the palette,
|
468 |
-
// for example rgba(20, 80, 100, 0.3) becomes rgba(20, 80, 100, 0.298039).
|
469 |
-
// To compensante for this we round the opacity value on RGBa colors here
|
470 |
-
// and save it a second time to the color picker object.
|
471 |
-
if ( alpha != 100 ) {
|
472 |
-
color = color.replace( /[^,]+(?=\))/, ( alpha / 100 ).toFixed( 2 ) );
|
473 |
-
}
|
474 |
-
|
475 |
-
$control.wpColorPicker( 'color', color );
|
476 |
-
});
|
477 |
-
|
478 |
-
// Bind event handler for clicking on the 'Clear' button.
|
479 |
-
$container.find( '.button.wp-picker-clear' ).on( 'click', function() {
|
480 |
-
var key = $control.attr( 'data-customize-setting-link' );
|
481 |
-
|
482 |
-
// The #fff color is delibrate here. This sets the color picker to white instead of the
|
483 |
-
// defult black, which puts the color picker in a better place to visually represent empty.
|
484 |
-
$control.wpColorPicker( 'color', '#ffffff' );
|
485 |
-
|
486 |
-
// Set the actual option value to empty string.
|
487 |
-
wp.customize( key, function( obj ) {
|
488 |
-
obj.set( '' );
|
489 |
-
});
|
490 |
-
|
491 |
-
acp_update_alpha_value_on_alpha_slider( 100, $alphaSlider );
|
492 |
-
});
|
493 |
-
|
494 |
-
// Bind event handler for clicking on the 'Default' button.
|
495 |
-
$container.find( '.button.wp-picker-default' ).on( 'click', function() {
|
496 |
-
var alpha = acp_get_alpha_value_from_color( defaultColor );
|
497 |
-
|
498 |
-
acp_update_alpha_value_on_alpha_slider( alpha, $alphaSlider );
|
499 |
-
});
|
500 |
-
|
501 |
-
// Bind event handler for typing or pasting into the input.
|
502 |
-
$control.on( 'input', function() {
|
503 |
-
var value = $( this ).val();
|
504 |
-
var alpha = acp_get_alpha_value_from_color( value );
|
505 |
-
|
506 |
-
acp_update_alpha_value_on_alpha_slider( alpha, $alphaSlider );
|
507 |
-
});
|
508 |
-
|
509 |
-
// Update all the things when the slider is interacted with.
|
510 |
-
$alphaSlider.slider().on( 'slide', function( event, ui ) {
|
511 |
-
var alpha = parseFloat( ui.value ) / 100.0;
|
512 |
-
|
513 |
-
acp_update_alpha_value_on_color_control( alpha, $control, $alphaSlider, false );
|
514 |
-
|
515 |
-
// Change value shown on slider handle.
|
516 |
-
$( this ).find( '.ui-slider-handle' ).text( ui.value );
|
517 |
-
});
|
518 |
-
|
519 |
-
});
|
520 |
-
|
521 |
-
/**
|
522 |
-
* Override the stock color.js toString() method to add support for outputting RGBa or Hex.
|
523 |
-
*/
|
524 |
-
Color.prototype.toString = function( flag ) {
|
525 |
-
|
526 |
-
// If our no-alpha flag has been passed in, output RGBa value with 100% opacity.
|
527 |
-
// This is used to set the background color on the opacity slider during color changes.
|
528 |
-
if ( 'no-alpha' == flag ) {
|
529 |
-
return this.toCSS( 'rgba', '1' ).replace( /\s+/g, '' );
|
530 |
-
}
|
531 |
-
|
532 |
-
// If we have a proper opacity value, output RGBa.
|
533 |
-
if ( 1 > this._alpha ) {
|
534 |
-
return this.toCSS( 'rgba', this._alpha ).replace( /\s+/g, '' );
|
535 |
-
}
|
536 |
-
|
537 |
-
// Proceed with stock color.js hex output.
|
538 |
-
var hex = parseInt( this._color, 10 ).toString( 16 );
|
539 |
-
if ( this.error ) { return ''; }
|
540 |
-
if ( hex.length < 6 ) {
|
541 |
-
for ( var i = 6 - hex.length - 1; i >= 0; i-- ) {
|
542 |
-
hex = '0' + hex;
|
543 |
-
}
|
544 |
-
}
|
545 |
-
|
546 |
-
return '#' + hex;
|
547 |
-
};
|
548 |
-
|
549 |
-
/**
|
550 |
-
* Given an RGBa, RGB, or hex color value, return the alpha channel value.
|
551 |
-
*/
|
552 |
-
function acp_get_alpha_value_from_color( value ) {
|
553 |
-
var alphaVal;
|
554 |
-
|
555 |
-
// Remove all spaces from the passed in value to help our RGBa regex.
|
556 |
-
value = value.replace( / /g, '' );
|
557 |
-
|
558 |
-
if ( value.match( /rgba\(\d+\,\d+\,\d+\,([^\)]+)\)/ ) ) {
|
559 |
-
alphaVal = parseFloat( value.match( /rgba\(\d+\,\d+\,\d+\,([^\)]+)\)/ )[1] ).toFixed(2) * 100;
|
560 |
-
alphaVal = parseInt( alphaVal );
|
561 |
-
} else {
|
562 |
-
alphaVal = 100;
|
563 |
-
}
|
564 |
-
|
565 |
-
return alphaVal;
|
566 |
-
}
|
567 |
-
|
568 |
-
/**
|
569 |
-
* Force update the alpha value of the color picker object and maybe the alpha slider.
|
570 |
-
*/
|
571 |
-
function acp_update_alpha_value_on_color_control( alpha, $control, $alphaSlider, update_slider ) {
|
572 |
-
var iris, colorPicker, color;
|
573 |
-
|
574 |
-
iris = $control.data( 'a8cIris' );
|
575 |
-
colorPicker = $control.data( 'wpWpColorPicker' );
|
576 |
-
|
577 |
-
// Set the alpha value on the Iris object.
|
578 |
-
iris._color._alpha = alpha;
|
579 |
-
|
580 |
-
// Store the new color value.
|
581 |
-
color = iris._color.toString();
|
582 |
-
|
583 |
-
// Set the value of the input.
|
584 |
-
$control.val( color );
|
585 |
-
|
586 |
-
// Update the background color of the color picker.
|
587 |
-
colorPicker.toggler.css({
|
588 |
-
'background-color': color
|
589 |
-
});
|
590 |
-
|
591 |
-
// Maybe update the alpha slider itself.
|
592 |
-
if ( update_slider ) {
|
593 |
-
acp_update_alpha_value_on_alpha_slider( alpha, $alphaSlider );
|
594 |
-
}
|
595 |
-
|
596 |
-
// Update the color value of the color picker object.
|
597 |
-
$control.wpColorPicker( 'color', color );
|
598 |
-
}
|
599 |
-
|
600 |
-
/**
|
601 |
-
* Update the slider handle position and label.
|
602 |
-
*/
|
603 |
-
function acp_update_alpha_value_on_alpha_slider( alpha, $alphaSlider ) {
|
604 |
-
$alphaSlider.slider( 'value', alpha );
|
605 |
-
$alphaSlider.find( '.ui-slider-handle' ).text( alpha.toString() );
|
606 |
-
}
|
607 |
-
|
608 |
-
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
assets/js/hip.js
DELETED
@@ -1,341 +0,0 @@
|
|
1 |
-
/*!
|
2 |
-
* jQuery HTML ITEM PAGINATION
|
3 |
-
* Version : 1.2.0
|
4 |
-
* Author: Arifuzzaman Pranto (llxx_lord_xxll)
|
5 |
-
* A library to create paginated html elements
|
6 |
-
* Copyright:- Backspace Global
|
7 |
-
*
|
8 |
-
* Date: 2019-11-20
|
9 |
-
*/
|
10 |
-
|
11 |
-
jQuery.fn.hip = function(param) {
|
12 |
-
var itemsPerRow = 4;
|
13 |
-
var itemsPerPage = 12;
|
14 |
-
var itemGaps = '7.5px';
|
15 |
-
var paginationPos = "center"; //in PX
|
16 |
-
var itemHeight = "auto";
|
17 |
-
var dynItemsPerRow;
|
18 |
-
var itemPerRowString = "";
|
19 |
-
var HSitemPerRowString = "";
|
20 |
-
var SMitemPerRowString = "";
|
21 |
-
var MDitemPerRowString = "";
|
22 |
-
var LGitemPerRowString = "";
|
23 |
-
var filter = false;
|
24 |
-
var filterPos = "center";
|
25 |
-
var filterText = "Search";
|
26 |
-
|
27 |
-
var rowPerPageString = "";
|
28 |
-
var HSrowPerPageString = "";
|
29 |
-
var SMrowPerPageString = "";
|
30 |
-
var MDrowPerPageString = "";
|
31 |
-
var LGrowPerPageString = "";
|
32 |
-
var objects = jQuery(this);
|
33 |
-
|
34 |
-
if(objects.length>0){
|
35 |
-
if (param != null){
|
36 |
-
if (param.hasOwnProperty('itemsPerRow')) itemsPerRow = param.itemsPerRow;
|
37 |
-
if (param.hasOwnProperty('itemsPerPage')) itemsPerPage = param.itemsPerPage;
|
38 |
-
if (param.hasOwnProperty('itemGaps')) itemGaps = param.itemGaps;
|
39 |
-
if (param.hasOwnProperty('paginationPos')) paginationPos = param.paginationPos;
|
40 |
-
if (param.hasOwnProperty('itemHeight')) itemHeight = param.itemHeight;
|
41 |
-
if (param.hasOwnProperty('filter')) filter = param.filter;
|
42 |
-
if (param.hasOwnProperty('filterPos')) filterPos = param.filterPos;
|
43 |
-
if (param.hasOwnProperty('filterText')) filterText = param.filterText;
|
44 |
-
}
|
45 |
-
dynItemsPerRow = {hs:itemsPerRow,sm:itemsPerRow,md:itemsPerRow,lg:itemsPerRow};
|
46 |
-
if (param != null) {
|
47 |
-
if (param.hasOwnProperty('dynItemsPerRow')) {
|
48 |
-
if (param.dynItemsPerRow.hasOwnProperty('hs')) dynItemsPerRow.hs = param.dynItemsPerRow.hs;
|
49 |
-
if (param.dynItemsPerRow.hasOwnProperty('sm')) dynItemsPerRow.sm = param.dynItemsPerRow.sm;
|
50 |
-
if (param.dynItemsPerRow.hasOwnProperty('md')) dynItemsPerRow.md = param.dynItemsPerRow.md;
|
51 |
-
if (param.dynItemsPerRow.hasOwnProperty('lg')) dynItemsPerRow.lg = param.dynItemsPerRow.lg;
|
52 |
-
}
|
53 |
-
}
|
54 |
-
|
55 |
-
for(var i = 0; i<itemsPerRow; i++)
|
56 |
-
itemPerRowString += 100/itemsPerRow + "% ";
|
57 |
-
|
58 |
-
for(var i = 0; i<dynItemsPerRow.hs; i++) HSitemPerRowString += 100/dynItemsPerRow.hs + "% ";
|
59 |
-
for(var i = 0; i<dynItemsPerRow.sm; i++) SMitemPerRowString += 100/dynItemsPerRow.sm + "% ";
|
60 |
-
for(var i = 0; i<dynItemsPerRow.md; i++) MDitemPerRowString += 100/dynItemsPerRow.md + "% ";
|
61 |
-
for(var i = 0; i<dynItemsPerRow.lg; i++) LGitemPerRowString += 100/dynItemsPerRow.lg + "% ";
|
62 |
-
|
63 |
-
for(var i = 0; i<Math.ceil(itemsPerPage/itemsPerRow); i++)
|
64 |
-
rowPerPageString += itemHeight + " ";
|
65 |
-
|
66 |
-
for(var i = 0; i<Math.ceil(itemsPerPage/dynItemsPerRow.hs); i++) HSrowPerPageString += itemHeight + " ";
|
67 |
-
for(var i = 0; i<Math.ceil(itemsPerPage/dynItemsPerRow.sm); i++) SMrowPerPageString += itemHeight + " ";
|
68 |
-
for(var i = 0; i<Math.ceil(itemsPerPage/dynItemsPerRow.md); i++) MDrowPerPageString += itemHeight + " ";
|
69 |
-
for(var i = 0; i<Math.ceil(itemsPerPage/dynItemsPerRow.lg); i++) LGrowPerPageString += itemHeight + " ";
|
70 |
-
|
71 |
-
|
72 |
-
var head = jQuery("head");
|
73 |
-
/* head.prepend('<style>'+
|
74 |
-
'@media (min-width: 480px) {\n' +
|
75 |
-
' .hip-grid{\n' +
|
76 |
-
' grid-template-columns: '+HSitemPerRowString+';\n' +
|
77 |
-
'grid-template-rows: '+ HSrowPerPageString +
|
78 |
-
' }\n' +
|
79 |
-
'}\n' +
|
80 |
-
'@media (min-width: 768px) {\n' +
|
81 |
-
' .hip-grid{\n' +
|
82 |
-
' grid-template-columns: '+SMitemPerRowString+';\n' +
|
83 |
-
'grid-template-rows: '+ SMrowPerPageString +
|
84 |
-
' }\n' +
|
85 |
-
'}\n' +
|
86 |
-
'@media (min-width: 992px) {\n' +
|
87 |
-
' .hip-grid{\n' +
|
88 |
-
' grid-template-columns: '+MDitemPerRowString+';\n' +
|
89 |
-
'grid-template-rows: '+ MDrowPerPageString +
|
90 |
-
' }\n' +
|
91 |
-
'}\n' +
|
92 |
-
'@media (min-width: 1200px) {\n' +
|
93 |
-
' .hip-grid{\n' +
|
94 |
-
' grid-template-columns: '+LGitemPerRowString+';\n' +
|
95 |
-
'grid-template-rows: '+ LGrowPerPageString +
|
96 |
-
' }\n' +
|
97 |
-
'}'
|
98 |
-
+ '</style>');*/
|
99 |
-
|
100 |
-
head.prepend('<style>' +
|
101 |
-
/*'.hip-grid{\n' +
|
102 |
-
' display: grid;\n' +
|
103 |
-
' grid-gap: '+itemGaps+'px;\n' +
|
104 |
-
'grid-template-columns: '+ itemPerRowString + ";" +
|
105 |
-
'grid-template-rows: '+ rowPerPageString +
|
106 |
-
'}\n' +*/
|
107 |
-
'.hip-pagination{text-align: '+paginationPos+';}' +
|
108 |
-
'.hip-pagination {\n' +
|
109 |
-
' display: block;\n' +
|
110 |
-
'}\n' +
|
111 |
-
'.hip-pagination a {\n' +
|
112 |
-
'color: black;\n' +
|
113 |
-
' padding: 8px 16px;\n' +
|
114 |
-
' text-decoration: none;\n' +
|
115 |
-
'}\n' +
|
116 |
-
'.hip-pagination a.active {\n' +
|
117 |
-
' font-weight: bold;\n' +
|
118 |
-
'}' +
|
119 |
-
'.hip-item{padding: '+itemGaps+';}' +
|
120 |
-
'.hip-item-hidden, .hip-item-out{display: none !important;}' +
|
121 |
-
'</style>');
|
122 |
-
|
123 |
-
objects.attr('data-item-per-page',itemsPerPage);
|
124 |
-
objects.addClass("hip-grid");
|
125 |
-
|
126 |
-
jQuery.each( objects, function( key,curObj ) {
|
127 |
-
|
128 |
-
//Pagination
|
129 |
-
var hip_item_length = jQuery(curObj).find(".hip-item").length;
|
130 |
-
var page_length = Math.ceil(hip_item_length/itemsPerPage);
|
131 |
-
var pagination = '<div class="hip-pagination">';
|
132 |
-
for (var i = 1; i<=page_length; i++)
|
133 |
-
{
|
134 |
-
if (i===1)
|
135 |
-
pagination += '<a class="active" href="#'+i+'">'+i+'</a>';
|
136 |
-
else
|
137 |
-
pagination += '<a href="#'+i+'">'+i+'</a>';
|
138 |
-
}
|
139 |
-
pagination += '</div>';
|
140 |
-
jQuery(curObj).after(pagination);
|
141 |
-
jQuery(curObj).attr('data-cur-page','1');
|
142 |
-
showPage(curObj);
|
143 |
-
|
144 |
-
if(filter){
|
145 |
-
|
146 |
-
jQuery(curObj).before('<div class="hip-filter">\n' +
|
147 |
-
' <label class="hip-search">\n' +
|
148 |
-
' <input class="hip-search-input" type="text" placeholder="'+filterText+'"/>\n' +
|
149 |
-
' </label>\n' +
|
150 |
-
'</div>');
|
151 |
-
|
152 |
-
head.prepend("<style>\n" +
|
153 |
-
" .hip-filter{\n" +
|
154 |
-
" width: 100%;\n" +
|
155 |
-
" text-align: "+filterPos+";\n" +
|
156 |
-
" }\n" +
|
157 |
-
" .hip-search {\n" +
|
158 |
-
" display: inline-block;\n" +
|
159 |
-
" position: relative;\n" +
|
160 |
-
" height: 35px;\n" +
|
161 |
-
" width: 80px;\n" +
|
162 |
-
" box-sizing: border-box;\n" +
|
163 |
-
" margin: 0px 8px 7px 0px;\n" +
|
164 |
-
" padding: 5px 9px 0px 9px;\n" +
|
165 |
-
" border: 3px solid ;\n" +
|
166 |
-
" border-radius: 25px;\n" +
|
167 |
-
" transition: all 200ms ease;\n" +
|
168 |
-
" cursor: text;\n" +
|
169 |
-
" }\n" +
|
170 |
-
" .hip-search:after {\n" +
|
171 |
-
" content: \"\";\n" +
|
172 |
-
" position: absolute;\n" +
|
173 |
-
" width: 3px;\n" +
|
174 |
-
" height: 20px;\n" +
|
175 |
-
" right: -5px;\n" +
|
176 |
-
" top: 21px;\n" +
|
177 |
-
" background: ;\n" +
|
178 |
-
" border-radius: 3px;\n" +
|
179 |
-
" transform: rotate(-45deg);\n" +
|
180 |
-
" transition: all 200ms ease;\n" +
|
181 |
-
" }\n" +
|
182 |
-
" .hip-search.active, .hip-search:hover {\n" +
|
183 |
-
" width: 200px;\n" +
|
184 |
-
" margin-right: 0px;\n" +
|
185 |
-
" }\n" +
|
186 |
-
" .hip-search.active:after, .hip-search:hover:after {\n" +
|
187 |
-
" height: 0px;\n" +
|
188 |
-
" }\n" +
|
189 |
-
" .hip-search input { " +
|
190 |
-
" width: 100% !important;\n" +
|
191 |
-
" border: none !important;\n" +
|
192 |
-
" box-sizing: border-box !important;\n" +
|
193 |
-
" font-family: Helvetica;\n" +
|
194 |
-
" font-size: 15px;\n" +
|
195 |
-
" color: inherit !important;\n" +
|
196 |
-
" background: transparent !important;\n" +
|
197 |
-
" outline-width: 0px;\n" +
|
198 |
-
" padding: 0 !important;\n" +
|
199 |
-
" margin: 0 !important;}" +
|
200 |
-
"</style>");
|
201 |
-
}
|
202 |
-
//Filters
|
203 |
-
});
|
204 |
-
|
205 |
-
} else {
|
206 |
-
throw new Error('Element not found');
|
207 |
-
}
|
208 |
-
|
209 |
-
return this; // This is needed so other functions can keep chaining off of this
|
210 |
-
};
|
211 |
-
|
212 |
-
function showPage(elem) {
|
213 |
-
var pageToShow = jQuery(elem).attr('data-cur-page');
|
214 |
-
var itemsPerPage = jQuery(elem).attr('data-item-per-page');
|
215 |
-
var hip_items = jQuery(elem).find(".hip-item").not(".hip-item-out");
|
216 |
-
var objPagination = jQuery(this).next();
|
217 |
-
var minLim = (pageToShow-1) * itemsPerPage;
|
218 |
-
var maxLim = (pageToShow * itemsPerPage) - 1;
|
219 |
-
|
220 |
-
jQuery(elem).find(".hip-item").addClass("hip-item-hidden");
|
221 |
-
|
222 |
-
for (var i=0; i<hip_items.length;i++){
|
223 |
-
if (i>=minLim && i<= maxLim){
|
224 |
-
jQuery(hip_items[i]).removeClass("hip-item-hidden");
|
225 |
-
}
|
226 |
-
}
|
227 |
-
}
|
228 |
-
|
229 |
-
|
230 |
-
jQuery(document).on('click','.hip-pagination a',function (e) {
|
231 |
-
e.preventDefault();
|
232 |
-
var hip_elem = jQuery(this).parent().prev(".hip-grid");
|
233 |
-
|
234 |
-
var curPage = hip_elem.attr('data-cur-page');
|
235 |
-
var itemsPerPage = hip_elem.attr('data-item-per-page');
|
236 |
-
var hip_item_length = hip_elem.find(".hip-item").length;
|
237 |
-
var page_length = Math.ceil(hip_item_length/itemsPerPage);
|
238 |
-
var pageToShow = jQuery(this).attr('href').toString().replace("#","");
|
239 |
-
jQuery('.hip-pagination a').removeClass("active");
|
240 |
-
|
241 |
-
if (pageToShow==="prev"){
|
242 |
-
if (!isNaN(curPage) && parseInt(curPage)>1) {
|
243 |
-
hip_elem.attr('data-cur-page',parseInt(curPage) - 1);
|
244 |
-
jQuery(this).parent().find("a").removeClass("active");
|
245 |
-
jQuery(this).parent().find("a[hrefjQuery='#" + (parseInt(curPage) - 1) + "']").addClass("active");
|
246 |
-
|
247 |
-
}
|
248 |
-
}
|
249 |
-
else if (pageToShow==="next"){
|
250 |
-
if (!isNaN(curPage) && parseInt(curPage)<page_length) {
|
251 |
-
hip_elem.attr('data-cur-page',parseInt(curPage) + 1);
|
252 |
-
jQuery(this).parent().find("a").removeClass("active");
|
253 |
-
jQuery(this).parent().find("a[hrefjQuery='#" + (parseInt(curPage) + 1) + "']").addClass("active");
|
254 |
-
}
|
255 |
-
}
|
256 |
-
else if (!isNaN(pageToShow) && parseInt(pageToShow)<=page_length) {
|
257 |
-
hip_elem.attr('data-cur-page',parseInt(pageToShow));
|
258 |
-
jQuery(this).parent().find("a").removeClass("active");
|
259 |
-
jQuery(this).parent().find("a[hrefjQuery='#" + parseInt(pageToShow) + "']").addClass("active");
|
260 |
-
}
|
261 |
-
jQuery(this).addClass("active");
|
262 |
-
showPage(hip_elem);
|
263 |
-
});
|
264 |
-
|
265 |
-
jQuery(".hip-search-input").on('focus', function () {
|
266 |
-
jQuery(this).parent('label').addClass('active');
|
267 |
-
});
|
268 |
-
|
269 |
-
jQuery(".hip-search-input").on('blur', function () {
|
270 |
-
if(jQuery(this).val().length == 0)
|
271 |
-
jQuery(this).parent('label').removeClass('active');
|
272 |
-
});
|
273 |
-
|
274 |
-
jQuery(document).on('keyup','.hip-search-input', function () {
|
275 |
-
var obj = jQuery(this).parent().parent().next();
|
276 |
-
var objPagination = jQuery(this).parent().parent().next().next();
|
277 |
-
var itemsPerPage = obj.attr('data-item-per-page');
|
278 |
-
var items = obj.find(".hip-item");
|
279 |
-
var filteredLen = Math.ceil(getFilteredCount(items,jQuery(this).val())/itemsPerPage);
|
280 |
-
|
281 |
-
console.log(filteredLen);
|
282 |
-
if (jQuery(this).val()===""){
|
283 |
-
objPagination.find("a").not(":first").not(":last").removeClass("hip-item-hidden");
|
284 |
-
}
|
285 |
-
else {
|
286 |
-
objPagination.find("a").not(":first").not(":last").each(function (index,item) {
|
287 |
-
if (index <= (filteredLen -1)){
|
288 |
-
jQuery(item).removeClass("hip-item-hidden");
|
289 |
-
}
|
290 |
-
else {
|
291 |
-
jQuery(item).addClass("hip-item-hidden");
|
292 |
-
}
|
293 |
-
});
|
294 |
-
}
|
295 |
-
// var input = jQuery(this);
|
296 |
-
// var itemlen = 0;
|
297 |
-
// items.css('display','none');
|
298 |
-
|
299 |
-
objPagination.find("a[hrefjQuery='#1']").click();
|
300 |
-
});
|
301 |
-
|
302 |
-
//The core filtering engine
|
303 |
-
function getFilteredCount(items,query) {
|
304 |
-
var init_filter = 0;
|
305 |
-
var value = query.toLowerCase();
|
306 |
-
items.filter(function() {
|
307 |
-
var tags = jQuery(this).attr('data-tags');
|
308 |
-
if(typeof tags !== "undefined")
|
309 |
-
{
|
310 |
-
var tagret = false;
|
311 |
-
tags = tags.toLowerCase().split(" ");
|
312 |
-
jQuery.each(tags,function (index,item) {
|
313 |
-
if (item===value){
|
314 |
-
tagret = true;
|
315 |
-
}
|
316 |
-
});
|
317 |
-
|
318 |
-
if (tagret)
|
319 |
-
{
|
320 |
-
init_filter++;
|
321 |
-
jQuery(this).removeClass("hip-item-out");
|
322 |
-
}
|
323 |
-
else if (jQuery(this).html().trim().toLowerCase().indexOf(value) > -1){
|
324 |
-
init_filter++;
|
325 |
-
jQuery(this).removeClass("hip-item-out");
|
326 |
-
}
|
327 |
-
else {
|
328 |
-
jQuery(this).addClass("hip-item-out");
|
329 |
-
}
|
330 |
-
}
|
331 |
-
else if (jQuery(this).html().trim().toLowerCase().indexOf(value) > -1){
|
332 |
-
init_filter++;
|
333 |
-
jQuery(this).removeClass("hip-item-out");
|
334 |
-
}
|
335 |
-
else {
|
336 |
-
jQuery(this).addClass("hip-item-out");
|
337 |
-
}
|
338 |
-
});
|
339 |
-
|
340 |
-
return init_filter;
|
341 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
assets/js/jquery.ajax.queue.js
DELETED
@@ -1,74 +0,0 @@
|
|
1 |
-
/**
|
2 |
-
* Plugin for using queue for multiple ajax requests.
|
3 |
-
*
|
4 |
-
* @autor Pavel Máca
|
5 |
-
* @github https://github.com/PavelMaca
|
6 |
-
* @license MIT
|
7 |
-
*/
|
8 |
-
|
9 |
-
(function($) {
|
10 |
-
var AjaxQueue = function(options){
|
11 |
-
this.options = options || {};
|
12 |
-
|
13 |
-
var oldComplete = options.complete || function(){};
|
14 |
-
var completeCallback = function(XMLHttpRequest, textStatus) {
|
15 |
-
|
16 |
-
(function() {
|
17 |
-
oldComplete(XMLHttpRequest, textStatus);
|
18 |
-
})();
|
19 |
-
|
20 |
-
$.ajaxQueue.currentRequest = null;
|
21 |
-
$.ajaxQueue.startNextRequest();
|
22 |
-
};
|
23 |
-
this.options.complete = completeCallback;
|
24 |
-
};
|
25 |
-
|
26 |
-
AjaxQueue.prototype = {
|
27 |
-
options: {},
|
28 |
-
perform: function() {
|
29 |
-
$.ajax(this.options);
|
30 |
-
}
|
31 |
-
}
|
32 |
-
|
33 |
-
$.ajaxQueue = {
|
34 |
-
queue: [],
|
35 |
-
|
36 |
-
currentRequest: null,
|
37 |
-
|
38 |
-
stopped: false,
|
39 |
-
|
40 |
-
stop: function(){
|
41 |
-
$.ajaxQueue.stopped = true;
|
42 |
-
|
43 |
-
},
|
44 |
-
|
45 |
-
run: function(){
|
46 |
-
$.ajaxQueue.stopped = false;
|
47 |
-
$.ajaxQueue.startNextRequest();
|
48 |
-
},
|
49 |
-
|
50 |
-
clear: function(){
|
51 |
-
$.ajaxQueue.queue = [];
|
52 |
-
$.ajaxQueue.currentRequest = null;
|
53 |
-
},
|
54 |
-
|
55 |
-
addRequest: function(options){
|
56 |
-
var request = new AjaxQueue(options);
|
57 |
-
|
58 |
-
$.ajaxQueue.queue.push(request);
|
59 |
-
$.ajaxQueue.startNextRequest();
|
60 |
-
},
|
61 |
-
|
62 |
-
startNextRequest: function() {
|
63 |
-
if ($.ajaxQueue.currentRequest) {
|
64 |
-
return false;
|
65 |
-
}
|
66 |
-
|
67 |
-
var request = $.ajaxQueue.queue.shift();
|
68 |
-
if (request) {
|
69 |
-
$.ajaxQueue.currentRequest = request;
|
70 |
-
request.perform();
|
71 |
-
}
|
72 |
-
}
|
73 |
-
}
|
74 |
-
})(jQuery);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
assets/js/preview-scripts.js
DELETED
@@ -1,236 +0,0 @@
|
|
1 |
-
( function( $ ) {
|
2 |
-
$('.hide').hide();
|
3 |
-
|
4 |
-
/* Hide/Show Header */
|
5 |
-
wp.customize( 'tracking_info_settings[remove_date_from_tracking]', function( value ) {
|
6 |
-
value.bind( function( remove_date_from_tracking ) {
|
7 |
-
if( remove_date_from_tracking ){
|
8 |
-
$( '.date-shipped' ).hide();
|
9 |
-
}
|
10 |
-
else{
|
11 |
-
$( '.date-shipped' ).show();
|
12 |
-
}
|
13 |
-
});
|
14 |
-
});
|
15 |
-
|
16 |
-
wp.customize( 'tracking_info_settings[header_text_change]', function( value ) {
|
17 |
-
value.bind( function( header_text ) {
|
18 |
-
if( header_text ){
|
19 |
-
$( '.header_text' ).text(header_text);
|
20 |
-
} else{
|
21 |
-
$( '.header_text' ).text('Tracking Information');
|
22 |
-
}
|
23 |
-
});
|
24 |
-
});
|
25 |
-
|
26 |
-
wp.customize( 'tracking_info_settings[additional_header_text]', function( value ) {
|
27 |
-
value.bind( function( additional_header_text ) {
|
28 |
-
if( additional_header_text ){
|
29 |
-
$( '.addition_header' ).text(additional_header_text);
|
30 |
-
} else{
|
31 |
-
$( '.addition_header' ).text('');
|
32 |
-
}
|
33 |
-
});
|
34 |
-
});
|
35 |
-
|
36 |
-
wp.customize( 'tracking_info_settings[provider_header_text]', function( value ) {
|
37 |
-
value.bind( function( provider_header_text ) {
|
38 |
-
if( provider_header_text ){
|
39 |
-
$( 'th.tracking-provider' ).text(provider_header_text);
|
40 |
-
} else{
|
41 |
-
$( 'th.tracking-provider' ).text('Provider');
|
42 |
-
}
|
43 |
-
});
|
44 |
-
});
|
45 |
-
|
46 |
-
wp.customize( 'tracking_info_settings[tracking_number_header_text]', function( value ) {
|
47 |
-
value.bind( function( tracking_number_header_text ) {
|
48 |
-
if( tracking_number_header_text ){
|
49 |
-
$( 'th.tracking-number' ).text(tracking_number_header_text);
|
50 |
-
} else{
|
51 |
-
$( 'th.tracking-number' ).text('Tracking Number');
|
52 |
-
}
|
53 |
-
});
|
54 |
-
});
|
55 |
-
|
56 |
-
wp.customize( 'tracking_info_settings[shipped_date_header_text]', function( value ) {
|
57 |
-
value.bind( function( shipped_date_header_text ) {
|
58 |
-
if( shipped_date_header_text ){
|
59 |
-
$( 'th.date-shipped ' ).text(shipped_date_header_text);
|
60 |
-
} else{
|
61 |
-
$( 'th.date-shipped ' ).text('Shipped Date');
|
62 |
-
}
|
63 |
-
});
|
64 |
-
});
|
65 |
-
|
66 |
-
wp.customize( 'tracking_info_settings[track_header_text]', function( value ) {
|
67 |
-
value.bind( function( track_header_text ) {
|
68 |
-
if( track_header_text ){
|
69 |
-
$( 'th.order-actions' ).text(track_header_text);
|
70 |
-
} else{
|
71 |
-
$( 'th.order-actions' ).text('Track');
|
72 |
-
}
|
73 |
-
});
|
74 |
-
});
|
75 |
-
|
76 |
-
|
77 |
-
wp.customize( 'tracking_info_settings[header_content_text_align]', function( setting ) {
|
78 |
-
/* Deferred callback for when setting exists */
|
79 |
-
setting.bind( function( header_content_text_align ) {
|
80 |
-
/* Update callback for setting change */
|
81 |
-
$( '.tracking_table th' ).css( 'text-align',header_content_text_align );
|
82 |
-
$( '.tracking_table td' ).css( 'text-align',header_content_text_align );
|
83 |
-
} );
|
84 |
-
} );
|
85 |
-
|
86 |
-
wp.customize( 'tracking_info_settings[table_bg_color]', function( setting ) {
|
87 |
-
/* Deferred callback for when setting exists */
|
88 |
-
setting.bind( function( newValue ) {
|
89 |
-
/* Update callback for setting change */
|
90 |
-
$( '.tracking_table' ).css( 'background-color',newValue );
|
91 |
-
$( '.tracking_table tbody tr' ).css( 'background-color',newValue );
|
92 |
-
} );
|
93 |
-
} );
|
94 |
-
wp.customize( 'tracking_info_settings[table_border_color]', function( setting ) {
|
95 |
-
/* Deferred callback for when setting exists */
|
96 |
-
setting.bind( function( table_border_color ) {
|
97 |
-
/* Update callback for setting change */
|
98 |
-
$( '.tracking_table th' ).css( 'border-color',table_border_color );
|
99 |
-
$( '.tracking_table td' ).css( 'border-color',table_border_color );
|
100 |
-
} );
|
101 |
-
} );
|
102 |
-
wp.customize( 'tracking_info_settings[table_border_size]', function( setting ) {
|
103 |
-
/* Deferred callback for when setting exists */
|
104 |
-
setting.bind( function( table_border_size ) {
|
105 |
-
/* Update callback for setting change */
|
106 |
-
$( '.tracking_table th' ).css( 'border-width',table_border_size+'px' );
|
107 |
-
$( '.tracking_table td' ).css( 'border-width',table_border_size+'px' );
|
108 |
-
} );
|
109 |
-
} );
|
110 |
-
|
111 |
-
wp.customize( 'tracking_info_settings[table_header_font_size]', function( setting ) {
|
112 |
-
/* Deferred callback for when setting exists */
|
113 |
-
setting.bind( function( table_header_font_size ) {
|
114 |
-
/* Update callback for setting change */
|
115 |
-
$( '.tracking_table th' ).css( 'font-size',table_header_font_size+'px' );
|
116 |
-
} );
|
117 |
-
} );
|
118 |
-
|
119 |
-
wp.customize( 'tracking_info_settings[table_header_bg_color]', function( setting ) {
|
120 |
-
/* Deferred callback for when setting exists */
|
121 |
-
setting.bind( function( table_header_bg_color ) {
|
122 |
-
/* Update callback for setting change */
|
123 |
-
$( '.tracking_table th' ).css( 'background',table_header_bg_color );
|
124 |
-
} );
|
125 |
-
} );
|
126 |
-
wp.customize( 'tracking_info_settings[table_header_font_color]', function( setting ) {
|
127 |
-
/* Deferred callback for when setting exists */
|
128 |
-
setting.bind( function( table_header_font_color ) {
|
129 |
-
/* Update callback for setting change */
|
130 |
-
$( '.tracking_table th' ).css( 'color',table_header_font_color );
|
131 |
-
} );
|
132 |
-
} );
|
133 |
-
wp.customize( 'tracking_info_settings[table_content_font_size]', function( setting ) {
|
134 |
-
/* Deferred callback for when setting exists */
|
135 |
-
setting.bind( function( table_content_font_size ) {
|
136 |
-
/* Update callback for setting change */
|
137 |
-
$( '.tracking_table td' ).css( 'font-size',table_content_font_size+'px' );
|
138 |
-
} );
|
139 |
-
} );
|
140 |
-
wp.customize( 'tracking_info_settings[table_header_font_weight]', function( setting ) {
|
141 |
-
/* Deferred callback for when setting exists */
|
142 |
-
setting.bind( function( table_header_font_weight ) {
|
143 |
-
/* Update callback for setting change */
|
144 |
-
$( '.tracking_table th' ).css( 'font-weight',table_header_font_weight );
|
145 |
-
} );
|
146 |
-
} );
|
147 |
-
wp.customize( 'tracking_info_settings[table_content_font_color]', function( setting ) {
|
148 |
-
/* Deferred callback for when setting exists */
|
149 |
-
setting.bind( function( table_content_font_color ) {
|
150 |
-
/* Update callback for setting change */
|
151 |
-
$( '.tracking_table td' ).css( 'color',table_content_font_color );
|
152 |
-
} );
|
153 |
-
} );
|
154 |
-
wp.customize( 'tracking_info_settings[tracking_link_font_color]', function( setting ) {
|
155 |
-
/* Deferred callback for when setting exists */
|
156 |
-
setting.bind( function( tracking_link_font_color ) {
|
157 |
-
/* Update callback for setting change */
|
158 |
-
$( '.tracking_table td a' ).css( 'color',tracking_link_font_color );
|
159 |
-
} );
|
160 |
-
} );
|
161 |
-
wp.customize( 'tracking_info_settings[tracking_link_bg_color]', function( setting ) {
|
162 |
-
/* Deferred callback for when setting exists */
|
163 |
-
setting.bind( function( tracking_link_bg_color ) {
|
164 |
-
/* Update callback for setting change */
|
165 |
-
$( '.tracking_table td a' ).css( 'background-color',tracking_link_bg_color );
|
166 |
-
} );
|
167 |
-
} );
|
168 |
-
|
169 |
-
wp.customize( 'tracking_info_settings[table_content_line_height]', function( value ) {
|
170 |
-
value.bind( function( table_content_line_height ) {
|
171 |
-
$( '.tracking_table tbody' ).css( 'line-height',table_content_line_height+'px' );
|
172 |
-
});
|
173 |
-
});
|
174 |
-
|
175 |
-
wp.customize( 'tracking_info_settings[table_content_font_weight]', function( value ) {
|
176 |
-
value.bind( function( table_content_font_weight ) {
|
177 |
-
$( '.tracking_table td' ).css( 'font-weight',table_content_font_weight );
|
178 |
-
});
|
179 |
-
});
|
180 |
-
|
181 |
-
wp.customize( 'woocommerce_customer_partial_shipped_order_settings[heading]', function( value ) {
|
182 |
-
value.bind( function( wcast_partial_shipped_email_heading ) {
|
183 |
-
|
184 |
-
var str = wcast_partial_shipped_email_heading;
|
185 |
-
var res = str.replace("{site_title}", wcast_preview.site_title);
|
186 |
-
|
187 |
-
var res = res.replace("{order_number}", wcast_preview.order_number);
|
188 |
-
|
189 |
-
if( wcast_partial_shipped_email_heading ){
|
190 |
-
$( '#header_wrapper h1' ).text(res);
|
191 |
-
} else{
|
192 |
-
$( '#header_wrapper h1' ).text('');
|
193 |
-
}
|
194 |
-
});
|
195 |
-
});
|
196 |
-
|
197 |
-
wp.customize( 'woocommerce_customer_updated_tracking_order_settings[heading]', function( value ) {
|
198 |
-
value.bind( function( wcast_updated_tracking_email_heading ) {
|
199 |
-
|
200 |
-
var str = wcast_updated_tracking_email_heading;
|
201 |
-
var res = str.replace("{site_title}", wcast_preview.site_title);
|
202 |
-
|
203 |
-
var res = res.replace("{order_number}", wcast_preview.order_number);
|
204 |
-
|
205 |
-
if( wcast_updated_tracking_email_heading ){
|
206 |
-
$( '#header_wrapper h1' ).text(res);
|
207 |
-
} else{
|
208 |
-
$( '#header_wrapper h1' ).text('');
|
209 |
-
}
|
210 |
-
});
|
211 |
-
});
|
212 |
-
|
213 |
-
wp.customize( 'tracking_info_settings[simple_provider_font_size]', function( setting ) {
|
214 |
-
/* Deferred callback for when setting exists */
|
215 |
-
setting.bind( function( simple_provider_font_size ) {
|
216 |
-
/* Update callback for setting change */
|
217 |
-
$( '.tracking_list_div' ).css( 'font-size',simple_provider_font_size );
|
218 |
-
} );
|
219 |
-
} );
|
220 |
-
|
221 |
-
wp.customize( 'tracking_info_settings[simple_provider_font_color]', function( setting ) {
|
222 |
-
/* Deferred callback for when setting exists */
|
223 |
-
setting.bind( function( simple_provider_font_color ) {
|
224 |
-
/* Update callback for setting change */
|
225 |
-
$( '.tracking_list_div' ).css( 'color',simple_provider_font_color );
|
226 |
-
} );
|
227 |
-
} );
|
228 |
-
|
229 |
-
wp.customize( 'tracking_info_settings[provider_border_color]', function( setting ) {
|
230 |
-
/* Deferred callback for when setting exists */
|
231 |
-
setting.bind( function( provider_border_color ) {
|
232 |
-
$( '.tracking_list_div' ).css( 'border-bottom','1px solid '+provider_border_color );
|
233 |
-
} );
|
234 |
-
} );
|
235 |
-
|
236 |
-
} )( jQuery );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
assets/js/settings.js
DELETED
@@ -1,99 +0,0 @@
|
|
1 |
-
jQuery(document).on("click", "#wc_ast_status_partial_shipped", function(){
|
2 |
-
if(jQuery(this).prop("checked") == true){
|
3 |
-
jQuery(this).closest('tr').removeClass('disable_row');
|
4 |
-
var nonce = jQuery( '#wc_ast_settings_form_nonce' ).val();
|
5 |
-
var ajax_data = {
|
6 |
-
action: 'update_custom_order_status_email_display',
|
7 |
-
status: 'partial-shipped',
|
8 |
-
security: nonce,
|
9 |
-
};
|
10 |
-
jQuery.ajax({
|
11 |
-
url: ajaxurl,
|
12 |
-
data: ajax_data,
|
13 |
-
type: 'POST',
|
14 |
-
success: function(response) {
|
15 |
-
jQuery('.partially_shipped_checkbox').show();
|
16 |
-
jQuery('.partially_shipped_checkbox input[type="checkbox"]').prop('checked', true);
|
17 |
-
},
|
18 |
-
error: function(response) {
|
19 |
-
}
|
20 |
-
});
|
21 |
-
|
22 |
-
} else{
|
23 |
-
jQuery(this).closest('tr').addClass('disable_row');
|
24 |
-
jQuery('.partially_shipped_checkbox').hide();
|
25 |
-
}
|
26 |
-
});
|
27 |
-
|
28 |
-
jQuery(document).on("click", "#wc_ast_status_updated_tracking", function(){
|
29 |
-
if(jQuery(this).prop("checked") == true){
|
30 |
-
|
31 |
-
jQuery(this).closest('tr').removeClass('disable_row');
|
32 |
-
|
33 |
-
var ajax_data = {
|
34 |
-
action: 'update_custom_order_status_email_display',
|
35 |
-
status: 'updated-tracking',
|
36 |
-
};
|
37 |
-
jQuery.ajax({
|
38 |
-
url: ajaxurl,
|
39 |
-
data: ajax_data,
|
40 |
-
type: 'POST',
|
41 |
-
success: function(response) {
|
42 |
-
jQuery('.updated_tracking_checkbox').show();
|
43 |
-
jQuery('.updated_tracking_checkbox input[type="checkbox"]').prop('checked', true);
|
44 |
-
},
|
45 |
-
error: function(response) {
|
46 |
-
}
|
47 |
-
});
|
48 |
-
|
49 |
-
} else{
|
50 |
-
jQuery(this).closest('tr').addClass('disable_row');
|
51 |
-
jQuery('.updated_tracking_checkbox').hide();
|
52 |
-
}
|
53 |
-
});
|
54 |
-
|
55 |
-
jQuery( document ).ready(function() {
|
56 |
-
|
57 |
-
jQuery( '.tipTip' ).tipTip( {
|
58 |
-
'attribute': 'data-tip'
|
59 |
-
} );
|
60 |
-
|
61 |
-
if(jQuery('#wc_ast_status_partial_shipped').prop("checked") == true){
|
62 |
-
jQuery('.partial_shipped_status_label_color_th').show();
|
63 |
-
jQuery('.partially_shipped_checkbox').show();
|
64 |
-
} else{
|
65 |
-
jQuery('.partial_shipped_status_label_color_th').hide();
|
66 |
-
jQuery('.partially_shipped_checkbox').hide();
|
67 |
-
}
|
68 |
-
|
69 |
-
if(jQuery('#wc_ast_status_updated_tracking').prop("checked") == true){
|
70 |
-
jQuery('.updated_tracking_checkbox').show();
|
71 |
-
} else{
|
72 |
-
jQuery('.updated_tracking_checkbox').hide();
|
73 |
-
}
|
74 |
-
|
75 |
-
jQuery('.color_field input').wpColorPicker();
|
76 |
-
});
|
77 |
-
|
78 |
-
jQuery(document).on("change", "#wc_ast_status_partial_shipped_label_font_color", function(){
|
79 |
-
var font_color = jQuery(this).val();
|
80 |
-
jQuery('.order-status-table .order-label.wc-partially-shipped').css('color',font_color);
|
81 |
-
});
|
82 |
-
|
83 |
-
jQuery(document).on("change", "#wc_ast_status_updated_tracking_label_font_color", function(){
|
84 |
-
var font_color = jQuery(this).val();
|
85 |
-
jQuery('.order-status-table .order-label.wc-updated-tracking').css('color',font_color);
|
86 |
-
});
|
87 |
-
|
88 |
-
jQuery( document ).on( "click", "#activity-panel-tab-help", function() {
|
89 |
-
jQuery(this).addClass( 'is-active' );
|
90 |
-
jQuery( '.woocommerce-layout__activity-panel-wrapper' ).addClass( 'is-open is-switching' );
|
91 |
-
});
|
92 |
-
|
93 |
-
jQuery(document).click(function(){
|
94 |
-
var $trigger = jQuery(".woocommerce-layout__activity-panel");
|
95 |
-
if($trigger !== event.target && !$trigger.has(event.target).length){
|
96 |
-
jQuery('#activity-panel-tab-help').removeClass( 'is-active' );
|
97 |
-
jQuery( '.woocommerce-layout__activity-panel-wrapper' ).removeClass( 'is-open is-switching' );
|
98 |
-
}
|
99 |
-
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
assets/js/shipping_row.js
DELETED
@@ -1,956 +0,0 @@
|
|
1 |
-
jQuery(document).on("submit", "#wc_ast_upload_csv_form", function(){
|
2 |
-
|
3 |
-
jQuery('.csv_upload_status li').remove();
|
4 |
-
jQuery('.bulk_upload_status_tr').hide();
|
5 |
-
jQuery('.progress_title').hide();
|
6 |
-
var form = jQuery('#wc_ast_upload_csv_form');
|
7 |
-
var error;
|
8 |
-
var trcking_csv_file = form.find("#trcking_csv_file");
|
9 |
-
var replace_tracking_info = jQuery("#replace_tracking_info").prop("checked");
|
10 |
-
var date_format_for_csv_import = jQuery('input[name="date_format_for_csv_import"]:checked').val();
|
11 |
-
|
12 |
-
if(replace_tracking_info == true){
|
13 |
-
replace_tracking_info = 1;
|
14 |
-
} else{
|
15 |
-
replace_tracking_info = 0;
|
16 |
-
}
|
17 |
-
|
18 |
-
var ext = jQuery('#trcking_csv_file').val().split('.').pop().toLowerCase();
|
19 |
-
|
20 |
-
if( trcking_csv_file.val() === '' ){
|
21 |
-
showerror( trcking_csv_file );
|
22 |
-
error = true;
|
23 |
-
} else{
|
24 |
-
if(ext != 'csv'){
|
25 |
-
alert(shipment_tracking_table_rows.i18n.upload_only_csv_file);
|
26 |
-
showerror( trcking_csv_file );
|
27 |
-
error = true;
|
28 |
-
} else{
|
29 |
-
hideerror(trcking_csv_file);
|
30 |
-
}
|
31 |
-
}
|
32 |
-
|
33 |
-
if(error == true){
|
34 |
-
return false;
|
35 |
-
}
|
36 |
-
|
37 |
-
var regex = /([a-zA-Z0-9\s_\\.\-\(\):])+(.csv|.txt)$/;
|
38 |
-
if (regex.test(jQuery("#trcking_csv_file").val().toLowerCase())) {
|
39 |
-
if (typeof (FileReader) != "undefined") {
|
40 |
-
var reader = new FileReader();
|
41 |
-
reader.onload = function (e) {
|
42 |
-
|
43 |
-
var trackings = new Array();
|
44 |
-
var rows = e.target.result.split("\n");
|
45 |
-
|
46 |
-
if(rows.length <= 1){
|
47 |
-
alert('There are some issue with CSV file.');
|
48 |
-
return false;
|
49 |
-
}
|
50 |
-
|
51 |
-
for (var i = 1; i < rows.length; i++) {
|
52 |
-
var cells = rows[i].split(",");
|
53 |
-
if (cells.length > 1) {
|
54 |
-
var tracking = {};
|
55 |
-
tracking.order_id = cells[0];
|
56 |
-
tracking.tracking_provider = cells[1];
|
57 |
-
tracking.tracking_number = cells[2];
|
58 |
-
tracking.date_shipped = cells[3];
|
59 |
-
tracking.status_shipped = cells[4];
|
60 |
-
if(cells[5]){
|
61 |
-
tracking.sku = cells[5];
|
62 |
-
}
|
63 |
-
if(cells[6]){
|
64 |
-
tracking.qty = cells[6];
|
65 |
-
}
|
66 |
-
if(tracking.order_id){
|
67 |
-
trackings.push(tracking);
|
68 |
-
}
|
69 |
-
}
|
70 |
-
}
|
71 |
-
|
72 |
-
var csv_length = trackings.length;
|
73 |
-
var run_data = 0;
|
74 |
-
|
75 |
-
jQuery("#wc_ast_upload_csv_form")[0].reset();
|
76 |
-
jQuery(".progress-moved .progress-bar2").css('width',0+'%');
|
77 |
-
jQuery(".progress_step1").removeClass("active");
|
78 |
-
jQuery(".progress_step1").addClass("done");
|
79 |
-
jQuery(".progress_step2").addClass("active");
|
80 |
-
jQuery(".upload_csv_div").hide();
|
81 |
-
jQuery(".bulk_upload_status_div").show();
|
82 |
-
|
83 |
-
var tracking_import = jQuery(trackings).each(function(index, element) {
|
84 |
-
var sku = '';
|
85 |
-
var qty = '';
|
86 |
-
var order_id = trackings[index]['order_id'];
|
87 |
-
var tracking_provider = trackings[index]['tracking_provider'];
|
88 |
-
var tracking_number = trackings[index]['tracking_number'];
|
89 |
-
var date_shipped = trackings[index]['date_shipped'];
|
90 |
-
var status_shipped = trackings[index]['status_shipped'];
|
91 |
-
var success_class = 0;
|
92 |
-
var error_class = 0;
|
93 |
-
var error_message = '';
|
94 |
-
var success_message = '';
|
95 |
-
if(trackings[index]['sku']){
|
96 |
-
var sku = trackings[index]['sku'];
|
97 |
-
}
|
98 |
-
if(trackings[index]['qty']){
|
99 |
-
var qty = trackings[index]['qty'];
|
100 |
-
}
|
101 |
-
|
102 |
-
var nonce = jQuery( '#nonce_csv_import' ).val();
|
103 |
-
|
104 |
-
var data = {
|
105 |
-
action: 'wc_ast_upload_csv_form_update',
|
106 |
-
order_id: order_id,
|
107 |
-
date_format_for_csv_import: date_format_for_csv_import,
|
108 |
-
tracking_provider: tracking_provider,
|
109 |
-
tracking_number: tracking_number,
|
110 |
-
date_shipped: date_shipped,
|
111 |
-
status_shipped: status_shipped,
|
112 |
-
sku: sku,
|
113 |
-
qty: qty,
|
114 |
-
replace_tracking_info: replace_tracking_info,
|
115 |
-
trackings: trackings,
|
116 |
-
security: nonce,
|
117 |
-
};
|
118 |
-
|
119 |
-
var option = {
|
120 |
-
url: ajaxurl,
|
121 |
-
data: data,
|
122 |
-
type: 'POST',
|
123 |
-
success:function(data){
|
124 |
-
jQuery('.progress_number').html((index+1)+'/'+csv_length);
|
125 |
-
|
126 |
-
jQuery('.csv_upload_status').append(data);
|
127 |
-
var progress = (index+1)*100/csv_length;
|
128 |
-
jQuery('.bulk_upload_status_tr').show();
|
129 |
-
jQuery('.progress_title').show();
|
130 |
-
|
131 |
-
jQuery(".progress-moved .progress-bar2").css('width',progress+'%');
|
132 |
-
|
133 |
-
var shipping_provider_error_class = 0;
|
134 |
-
var tracking_number_error_class = 0;
|
135 |
-
var empty_date_shipped_error_class = 0;
|
136 |
-
var invalid_date_shipped_error_class = 0;
|
137 |
-
var invalid_order_id_error_class = 0;
|
138 |
-
var invalid_tracking_data_error_class = 0;
|
139 |
-
|
140 |
-
if(progress == 100){
|
141 |
-
jQuery( ".csv_upload_status li" ).each(function( index ) {
|
142 |
-
if( this.className == 'shipping_provider_error' || this.className == 'tracking_number_error' || this.className == 'empty_date_shipped_error' || this.className == 'invalid_date_shipped_error' || this.className == 'invalid_order_id_error' || this.className == 'invalid_tracking_data_error' ){
|
143 |
-
error_class++;
|
144 |
-
}
|
145 |
-
if(this.className == 'success'){
|
146 |
-
success_class++;
|
147 |
-
}
|
148 |
-
if( this.className == 'shipping_provider_error' )shipping_provider_error_class++;
|
149 |
-
if( this.className == 'tracking_number_error' )tracking_number_error_class++;
|
150 |
-
if( this.className == 'empty_date_shipped_error' )empty_date_shipped_error_class++;
|
151 |
-
if( this.className == 'invalid_date_shipped_error' )invalid_date_shipped_error_class++;
|
152 |
-
if( this.className == 'invalid_order_id_error' )invalid_order_id_error_class++;
|
153 |
-
if( this.className == 'invalid_tracking_data_error' )invalid_tracking_data_error_class++;
|
154 |
-
});
|
155 |
-
|
156 |
-
jQuery('.progress_title').hide();
|
157 |
-
jQuery(".progress_step2").removeClass("active");
|
158 |
-
jQuery(".progress_step2").addClass("done");
|
159 |
-
jQuery(".progress_step3").addClass("active");
|
160 |
-
jQuery(".bulk_upload_status_div").addClass("csv_import_done");
|
161 |
-
jQuery(".bulk_upload_status_action ").show();
|
162 |
-
|
163 |
-
if(error_class > 0){
|
164 |
-
error_message = error_class+' tracking numbers import failed';
|
165 |
-
jQuery(".bulk_upload_status_overview_td.csv_fail_msg").show();
|
166 |
-
jQuery(".bulk_upload_status_overview_td.csv_fail_msg span").html(error_message);
|
167 |
-
} else{
|
168 |
-
jQuery(".bulk_upload_status_overview_td.csv_fail_msg").hide();
|
169 |
-
}
|
170 |
-
|
171 |
-
if(success_class > 0){
|
172 |
-
jQuery(".bulk_upload_status_overview_td.csv_success_msg").show();
|
173 |
-
success_message = success_class+' tracking numbers imported successfully';
|
174 |
-
jQuery(".bulk_upload_status_overview_td.csv_success_msg span").html(success_message);
|
175 |
-
} else{
|
176 |
-
jQuery(".bulk_upload_status_overview_td.csv_success_msg").hide();
|
177 |
-
}
|
178 |
-
|
179 |
-
if(invalid_order_id_error_class > 0){
|
180 |
-
jQuery(".csv_error_details_ul").append('<li>'+invalid_order_id_error_class+' tracking numbers import failed due to invalid order id</li>');
|
181 |
-
}
|
182 |
-
if(shipping_provider_error_class > 0){
|
183 |
-
jQuery(".csv_error_details_ul").append('<li>'+shipping_provider_error_class+' tracking numbers import failed due to invalid shipping provider</li>');
|
184 |
-
}
|
185 |
-
if(tracking_number_error_class > 0){
|
186 |
-
jQuery(".csv_error_details_ul").append('<li>'+tracking_number_error_class+' tracking numbers import failed due to empty tracking number</li>');
|
187 |
-
}
|
188 |
-
if(empty_date_shipped_error_class > 0){
|
189 |
-
jQuery(".csv_error_details_ul").append('<li>'+empty_date_shipped_error_class+' tracking numbers import failed due to empty date shipped</li>');
|
190 |
-
}
|
191 |
-
if(invalid_date_shipped_error_class > 0){
|
192 |
-
jQuery(".csv_error_details_ul").append('<li>'+invalid_date_shipped_error_class+' tracking numbers import failed due to invalid date shipped</li>');
|
193 |
-
}
|
194 |
-
if(invalid_tracking_data_error_class > 0){
|
195 |
-
jQuery(".csv_error_details_ul").append('<li>'+invalid_tracking_data_error_class+' tracking numbers import failed due to invalid tracking data</li>');
|
196 |
-
}
|
197 |
-
|
198 |
-
jQuery(".bulk_upload_status_heading_tr h2").html("Import Completed!");
|
199 |
-
|
200 |
-
jQuery(".bulk_upload_status_heading_tr p").hide();
|
201 |
-
jQuery(".csv_upload_status").hide();
|
202 |
-
jQuery('.bulk_upload_status_tr').hide();
|
203 |
-
}
|
204 |
-
},
|
205 |
-
|
206 |
-
};
|
207 |
-
|
208 |
-
jQuery.ajaxQueue.addRequest(option);
|
209 |
-
|
210 |
-
jQuery.ajaxQueue.run();
|
211 |
-
run_data++;
|
212 |
-
});
|
213 |
-
|
214 |
-
}
|
215 |
-
reader.readAsText(jQuery("#trcking_csv_file")[0].files[0]);
|
216 |
-
} else {
|
217 |
-
alert(shipment_tracking_table_rows.i18n.browser_not_html);
|
218 |
-
}
|
219 |
-
} else {
|
220 |
-
alert(shipment_tracking_table_rows.i18n.upload_valid_csv_file);
|
221 |
-
}
|
222 |
-
return false;
|
223 |
-
});
|
224 |
-
|
225 |
-
jQuery(document).on("click", ".view_csv_error_details", function(){
|
226 |
-
jQuery('.bulk_upload_status_detail_error_tr').toggle();
|
227 |
-
var tr_visible = jQuery('.bulk_upload_status_detail_error_tr').is(":visible");
|
228 |
-
if(tr_visible == true){
|
229 |
-
jQuery('.view_csv_error_details').text('hide details');
|
230 |
-
} else{
|
231 |
-
jQuery('.view_csv_error_details').text('view details');
|
232 |
-
}
|
233 |
-
});
|
234 |
-
|
235 |
-
jQuery(document).on("click", ".csv_upload_again", function(){
|
236 |
-
jQuery('.csv_upload_status li').remove();
|
237 |
-
jQuery('.csv_upload_status').show();
|
238 |
-
jQuery('.bulk_upload_status_tr').hide();
|
239 |
-
jQuery('.bulk_upload_status_overview_td').hide();
|
240 |
-
jQuery('.progress_title').hide();
|
241 |
-
jQuery(".bulk_upload_status_heading_tr h2").html('Importing'+'<span class="spinner is-active"></span>');
|
242 |
-
jQuery(".bulk_upload_status_heading_tr p").show();
|
243 |
-
jQuery(".progress_step2").removeClass("active");
|
244 |
-
jQuery(".progress_step2").removeClass("done");
|
245 |
-
jQuery(".progress_step3").removeClass("done");
|
246 |
-
jQuery(".progress_step3").removeClass("active");
|
247 |
-
jQuery(".progress_step1").removeClass("done");
|
248 |
-
jQuery(".progress_step1").addClass("active");
|
249 |
-
jQuery(".bulk_upload_status_div ").removeClass("csv_import_done");
|
250 |
-
jQuery(".bulk_upload_status_action ").hide();
|
251 |
-
jQuery('.bulk_upload_status_div').hide();
|
252 |
-
jQuery('.upload_csv_div').show();
|
253 |
-
jQuery('.bulk_upload_status_detail_error_tr').hide();
|
254 |
-
jQuery('.csv_error_details_ul li').remove();
|
255 |
-
});
|
256 |
-
|
257 |
-
jQuery(document).on("click", ".status_slide", function(){
|
258 |
-
var id = jQuery(this).val();
|
259 |
-
if(jQuery(this).prop("checked") == true){
|
260 |
-
var checked = 1;
|
261 |
-
jQuery(this).closest('.provider').addClass('active_provider');
|
262 |
-
jQuery('#make_default_'+id).prop('disabled', false);
|
263 |
-
jQuery('#default_label_'+id).removeClass('disable_label');
|
264 |
-
} else{
|
265 |
-
var checked = 0;
|
266 |
-
jQuery(this).closest('.provider').removeClass('active_provider');
|
267 |
-
jQuery('#make_default_'+id).prop('disabled', true);
|
268 |
-
jQuery('#make_default_'+id).prop('checked', false);
|
269 |
-
jQuery('#default_label_'+id).addClass('disable_label');
|
270 |
-
}
|
271 |
-
|
272 |
-
var nonce = jQuery( '#nonce_shipping_provider' ).val();
|
273 |
-
|
274 |
-
var error;
|
275 |
-
var ajax_data = {
|
276 |
-
action: 'update_shipment_status',
|
277 |
-
id: id,
|
278 |
-
checked: checked,
|
279 |
-
security: nonce,
|
280 |
-
};
|
281 |
-
jQuery.ajax({
|
282 |
-
url: ajaxurl,
|
283 |
-
data: ajax_data,
|
284 |
-
type: 'POST',
|
285 |
-
success: function(response) {
|
286 |
-
},
|
287 |
-
error: function(response) {
|
288 |
-
console.log(response);
|
289 |
-
}
|
290 |
-
});
|
291 |
-
});
|
292 |
-
|
293 |
-
provider_grid_row();
|
294 |
-
function provider_grid_row() {
|
295 |
-
jQuery(".provider-grid-row").hip({
|
296 |
-
itemsPerPage:50,
|
297 |
-
itemsPerRow:5,
|
298 |
-
itemGaps:10,
|
299 |
-
filter:false,
|
300 |
-
paginationPos:'right'
|
301 |
-
});
|
302 |
-
}
|
303 |
-
|
304 |
-
jQuery(document).on("change", ".make_provider_default", function(){
|
305 |
-
jQuery("#content1 ").block({
|
306 |
-
message: null,
|
307 |
-
overlayCSS: {
|
308 |
-
background: "#fff",
|
309 |
-
opacity: .6
|
310 |
-
}
|
311 |
-
});
|
312 |
-
if(jQuery(this).prop("checked") == true){
|
313 |
-
jQuery('.make_provider_default').removeAttr('checked');
|
314 |
-
var checked = 1;
|
315 |
-
jQuery(this).prop('checked',true);
|
316 |
-
} else{
|
317 |
-
var checked = 0;
|
318 |
-
}
|
319 |
-
var id = jQuery(this).data('id');
|
320 |
-
var nonce = jQuery( '#nonce_shipping_provider' ).val();
|
321 |
-
var error;
|
322 |
-
var default_provider = jQuery(this).val();
|
323 |
-
var ajax_data = {
|
324 |
-
action: 'update_default_provider',
|
325 |
-
default_provider: default_provider,
|
326 |
-
id: id,
|
327 |
-
checked: checked,
|
328 |
-
security: nonce,
|
329 |
-
};
|
330 |
-
jQuery.ajax({
|
331 |
-
url: ajaxurl,
|
332 |
-
data: ajax_data,
|
333 |
-
type: 'POST',
|
334 |
-
success: function(response) {
|
335 |
-
jQuery("#content1 ").unblock();
|
336 |
-
},
|
337 |
-
error: function(response) {
|
338 |
-
console.log(response);
|
339 |
-
}
|
340 |
-
});
|
341 |
-
});
|
342 |
-
|
343 |
-
jQuery(document).on( "input", "#search_provider", function(){
|
344 |
-
|
345 |
-
var nonce = jQuery( '#nonce_shipping_provider' ).val();
|
346 |
-
|
347 |
-
var ajax_data = {
|
348 |
-
action: 'filter_shipiing_provider_by_status',
|
349 |
-
status: 'all',
|
350 |
-
security: nonce,
|
351 |
-
};
|
352 |
-
jQuery.ajax({
|
353 |
-
url: ajaxurl,
|
354 |
-
data: ajax_data,
|
355 |
-
type: 'POST',
|
356 |
-
success: function(response) {
|
357 |
-
jQuery(".provider_list").replaceWith(response);
|
358 |
-
var provider_found = false;
|
359 |
-
var searchvalue = jQuery("#search_provider").val().toLowerCase().replace(/\s+/g, '');
|
360 |
-
|
361 |
-
jQuery('.provider_list .provider-grid-row .grid-item').each(function() {
|
362 |
-
var provider = jQuery(this).find('.provider_name').text().toLowerCase().replace(/\s+/g, '');
|
363 |
-
var country = jQuery(this).find('.provider_country').text().toLowerCase().replace(/\s+/g, '');
|
364 |
-
|
365 |
-
var hasprovider = provider.indexOf(searchvalue)!==-1;
|
366 |
-
var hascountry= country.indexOf(searchvalue)!==-1;
|
367 |
-
|
368 |
-
if (hasprovider || hascountry) {
|
369 |
-
jQuery(this).show();
|
370 |
-
provider_found = true;
|
371 |
-
} else {
|
372 |
-
jQuery(this).remove();
|
373 |
-
}
|
374 |
-
});
|
375 |
-
|
376 |
-
if(provider_found == false){
|
377 |
-
jQuery(".provider_list").append('<h3 class="not_found_label">No Shipping Providers Found.</h3>');
|
378 |
-
} else{
|
379 |
-
jQuery(".not_found_label").remove();
|
380 |
-
}
|
381 |
-
provider_grid_row();
|
382 |
-
},
|
383 |
-
error: function(response) {
|
384 |
-
}
|
385 |
-
});
|
386 |
-
});
|
387 |
-
|
388 |
-
jQuery(document).on("click", ".popupclose", function(){
|
389 |
-
jQuery('.edit_provider_popup').hide();
|
390 |
-
jQuery('.sync_provider_popup').hide();
|
391 |
-
jQuery('.ts_video_popup').hide();
|
392 |
-
jQuery('.upgrade_to_pro_popup').hide();
|
393 |
-
});
|
394 |
-
jQuery(document).on("click", ".popup_close_icon", function(){
|
395 |
-
jQuery('.edit_provider_popup').hide();
|
396 |
-
jQuery('.sync_provider_popup').hide();
|
397 |
-
});
|
398 |
-
jQuery(document).on("click", ".popupclose_btn", function(){
|
399 |
-
jQuery('.edit_provider_popup').hide();
|
400 |
-
jQuery('.sync_provider_popup').hide();
|
401 |
-
jQuery('.ts_video_popup').hide();
|
402 |
-
});
|
403 |
-
jQuery(document).on("click", ".close_synch_popup", function(){
|
404 |
-
jQuery('.sync_provider_popup').hide();
|
405 |
-
jQuery(".sync_message").show();
|
406 |
-
jQuery(".reset_db_fieldset").show();
|
407 |
-
jQuery(".synch_result").hide();
|
408 |
-
jQuery(".reset_db_message").hide();
|
409 |
-
jQuery(".view_synch_details").remove();
|
410 |
-
jQuery(".updated_details").remove();
|
411 |
-
|
412 |
-
jQuery(".sync_providers_btn").show();
|
413 |
-
jQuery(".close_synch_popup").hide();
|
414 |
-
});
|
415 |
-
|
416 |
-
jQuery(document).on("click", ".remove", function(){
|
417 |
-
jQuery("#content1 ").block({
|
418 |
-
message: null,
|
419 |
-
overlayCSS: {
|
420 |
-
background: "#fff",
|
421 |
-
opacity: .6
|
422 |
-
}
|
423 |
-
});
|
424 |
-
var r = confirm( shipment_tracking_table_rows.i18n.delete_provider );
|
425 |
-
if (r === true) {
|
426 |
-
} else {
|
427 |
-
jQuery("#content1").unblock();
|
428 |
-
return;
|
429 |
-
}
|
430 |
-
var id = jQuery(this).data('pid');
|
431 |
-
var nonce = jQuery( '#nonce_shipping_provider' ).val();
|
432 |
-
var error;
|
433 |
-
var default_provider = jQuery(this).val();
|
434 |
-
var ajax_data = {
|
435 |
-
action: 'woocommerce_shipping_provider_delete',
|
436 |
-
provider_id: id,
|
437 |
-
security: nonce,
|
438 |
-
};
|
439 |
-
|
440 |
-
jQuery('#search_provider').removeAttr('value');
|
441 |
-
|
442 |
-
jQuery.ajax({
|
443 |
-
url: ajaxurl,
|
444 |
-
data: ajax_data,
|
445 |
-
type: 'POST',
|
446 |
-
success: function(response) {
|
447 |
-
jQuery(".provider_list").replaceWith(response);
|
448 |
-
jQuery("#content1").unblock();
|
449 |
-
provider_grid_row();
|
450 |
-
},
|
451 |
-
error: function(response) {
|
452 |
-
console.log(response);
|
453 |
-
}
|
454 |
-
});
|
455 |
-
});
|
456 |
-
|
457 |
-
jQuery(document).on("click", ".edit_provider", function(){
|
458 |
-
var id = jQuery(this).data('pid');
|
459 |
-
var provider = jQuery(this).data('provider');
|
460 |
-
var nonce = jQuery( '#nonce_shipping_provider' ).val();
|
461 |
-
var ajax_data = {
|
462 |
-
action: 'get_provider_details',
|
463 |
-
provider_id: id,
|
464 |
-
security: nonce,
|
465 |
-
};
|
466 |
-
jQuery.ajax({
|
467 |
-
url: ajaxurl,
|
468 |
-
data: ajax_data,
|
469 |
-
type: 'POST',
|
470 |
-
dataType: "json",
|
471 |
-
success: function(response) {
|
472 |
-
|
473 |
-
var provider_name = response.provider_name;
|
474 |
-
var custom_provider_name = response.custom_provider_name;
|
475 |
-
var provider_url = response.provider_url;
|
476 |
-
var shipping_country = response.shipping_country;
|
477 |
-
var custom_thumb_id = response.custom_thumb_id;
|
478 |
-
var image = response.image;
|
479 |
-
var api_length = 0;
|
480 |
-
jQuery('.edit_provider_title').html(provider_name);
|
481 |
-
jQuery('.edit_provider_popup').removeClass('default_provider');
|
482 |
-
jQuery('.edit_provider_popup').removeClass('custom_provider');
|
483 |
-
jQuery('.edit_provider_popup').addClass(provider);
|
484 |
-
|
485 |
-
if(provider == 'custom_provider'){
|
486 |
-
jQuery('.edit_provider_popup .shipping_provider').val(provider_name);
|
487 |
-
jQuery('.edit_provider_popup .shipping_display_name').val(custom_provider_name);
|
488 |
-
jQuery('.edit_provider_popup .api_provider_name').val(api_provider_name);
|
489 |
-
jQuery('.edit_provider_popup .tracking_url').val(provider_url);
|
490 |
-
jQuery('.edit_provider_popup .thumb_url').val(image);
|
491 |
-
jQuery('.edit_provider_popup .thumb_id').val(custom_thumb_id);
|
492 |
-
jQuery('.edit_provider_popup #provider_id').val(id);
|
493 |
-
jQuery(".edit_provider_popup .shipping_country").val(shipping_country);
|
494 |
-
jQuery('.edit_provider_popup #provider_type').val(provider);
|
495 |
-
jQuery('.edit_provider_popup .tracking_url').parent('div').show();
|
496 |
-
jQuery(".edit_provider_popup .shipping_country").parent('div').show();
|
497 |
-
jQuery(".edit_provider_popup .shipping_provider").parent('div').show();
|
498 |
-
jQuery('.edit_provider_popup').show();
|
499 |
-
jQuery('.api_provider_name_container').hide();
|
500 |
-
jQuery('.reset_default_provider').hide();
|
501 |
-
jQuery('.custom_provider_instruction').show();
|
502 |
-
} else{
|
503 |
-
jQuery('.edit_provider_popup .shipping_provider').val(provider_name);
|
504 |
-
jQuery('.edit_provider_popup .shipping_display_name').val(custom_provider_name);
|
505 |
-
jQuery('.api_provider_new').remove();
|
506 |
-
|
507 |
-
if(response.api_provider_name == null){
|
508 |
-
} else if( IsValidJSONString(response.api_provider_name) ){
|
509 |
-
var api_provider_name = jQuery.parseJSON( response.api_provider_name );
|
510 |
-
var api_length = api_provider_name.length;
|
511 |
-
|
512 |
-
if( api_length > 1){
|
513 |
-
jQuery( api_provider_name ).each(function( index, value ){
|
514 |
-
if( index == 0){
|
515 |
-
jQuery('.edit_provider_popup .api_provider_name').val(value);
|
516 |
-
} else{
|
517 |
-
//jQuery('.api_provider_name_container').append('<div class="api_provider_new"><input type="text" name="api_provider_name[]" class="api_provider_name" value="'+value+'" placeholder="API Name"></div>');
|
518 |
-
}
|
519 |
-
});
|
520 |
-
} else{
|
521 |
-
jQuery('.edit_provider_popup .api_provider_name').val(api_provider_name);
|
522 |
-
}
|
523 |
-
jQuery('.api_provider_name_container').show();
|
524 |
-
} else{
|
525 |
-
jQuery('.edit_provider_popup .api_provider_name').val(response.api_provider_name);
|
526 |
-
|
527 |
-
}
|
528 |
-
jQuery('.api_provider_name_container').show();
|
529 |
-
jQuery('.edit_provider_popup .thumb_url').val(image);
|
530 |
-
jQuery('.edit_provider_popup .thumb_id').val(custom_thumb_id);
|
531 |
-
jQuery('.edit_provider_popup #provider_id').val(id);
|
532 |
-
jQuery('.edit_provider_popup #provider_type').val(provider);
|
533 |
-
jQuery('.edit_provider_popup .tracking_url').parent('div').hide();
|
534 |
-
jQuery(".edit_provider_popup .shipping_country").parent('div').hide();
|
535 |
-
jQuery(".edit_provider_popup .shipping_provider").parent('div').hide();
|
536 |
-
jQuery('.edit_provider_popup').show();
|
537 |
-
jQuery('.reset_default_provider').show();
|
538 |
-
jQuery('.custom_provider_instruction').hide();
|
539 |
-
}
|
540 |
-
},
|
541 |
-
error: function(response) {
|
542 |
-
console.log(response);
|
543 |
-
}
|
544 |
-
});
|
545 |
-
});
|
546 |
-
|
547 |
-
function IsValidJSONString(str) {
|
548 |
-
try {
|
549 |
-
JSON.parse(str);
|
550 |
-
} catch (e) {
|
551 |
-
return false;
|
552 |
-
}
|
553 |
-
return true;
|
554 |
-
}
|
555 |
-
|
556 |
-
jQuery(document).on("click", ".reset_default_provider", function(){
|
557 |
-
var form = jQuery('#edit_provider_form');
|
558 |
-
|
559 |
-
jQuery(".edit_provider_popup").block({
|
560 |
-
message: null,
|
561 |
-
overlayCSS: {
|
562 |
-
background: "#fff",
|
563 |
-
opacity: .6
|
564 |
-
}
|
565 |
-
});
|
566 |
-
|
567 |
-
jQuery('#search_provider').removeAttr('value');
|
568 |
-
var provider_id = jQuery(form).find('#provider_id').val();
|
569 |
-
var nonce = jQuery( '#nonce_shipping_provider' ).val();
|
570 |
-
var ajax_data = {
|
571 |
-
action: 'reset_default_provider',
|
572 |
-
provider_id: provider_id,
|
573 |
-
security: nonce,
|
574 |
-
};
|
575 |
-
|
576 |
-
jQuery.ajax({
|
577 |
-
url: ajaxurl,
|
578 |
-
data: ajax_data,
|
579 |
-
type: 'POST',
|
580 |
-
success: function(response) {
|
581 |
-
jQuery(".provider_list").replaceWith(response);
|
582 |
-
form[0].reset();
|
583 |
-
jQuery('.edit_provider_popup').hide();
|
584 |
-
jQuery(".edit_provider_popup").unblock();
|
585 |
-
provider_grid_row();
|
586 |
-
},
|
587 |
-
error: function(response) {
|
588 |
-
console.log(response);
|
589 |
-
}
|
590 |
-
});
|
591 |
-
return false;
|
592 |
-
});
|
593 |
-
|
594 |
-
jQuery(document).on("submit", "#edit_provider_form", function(){
|
595 |
-
|
596 |
-
var form = jQuery('#edit_provider_form');
|
597 |
-
var error;
|
598 |
-
var shipping_provider = jQuery("#edit_provider_form .shipping_provider");
|
599 |
-
var shipping_country = jQuery("#edit_provider_form .shipping_country");
|
600 |
-
var api_provider_name = jQuery(".api_provider_new .api_provider_name");
|
601 |
-
var thumb_url = jQuery("#edit_provider_form .thumb_url");
|
602 |
-
var tracking_url = jQuery("#edit_provider_form .tracking_url");
|
603 |
-
var provider_type = jQuery("#edit_provider_form #provider_type");
|
604 |
-
|
605 |
-
if(provider_type.val() == 'custom_provider'){
|
606 |
-
if( shipping_provider.val() === '' ){
|
607 |
-
showerror(shipping_provider);
|
608 |
-
error = true;
|
609 |
-
} else{
|
610 |
-
hideerror(shipping_provider);
|
611 |
-
}
|
612 |
-
|
613 |
-
if( shipping_country.val() === '' ){
|
614 |
-
showerror(shipping_country);
|
615 |
-
error = true;
|
616 |
-
} else{
|
617 |
-
hideerror(shipping_country);
|
618 |
-
}
|
619 |
-
}
|
620 |
-
|
621 |
-
if(provider_type.val() == 'default_provider'){
|
622 |
-
for(var i=0; i<api_provider_name.length; i++) {
|
623 |
-
if(validate(api_provider_name[i]) == false){
|
624 |
-
showerror(jQuery(api_provider_name[i]));
|
625 |
-
error = true;
|
626 |
-
} else{
|
627 |
-
hideerror(jQuery(api_provider_name[i]));
|
628 |
-
}
|
629 |
-
}
|
630 |
-
}
|
631 |
-
|
632 |
-
if(error == true){
|
633 |
-
return false;
|
634 |
-
}
|
635 |
-
jQuery(".edit_provider_popup").block({
|
636 |
-
message: null,
|
637 |
-
overlayCSS: {
|
638 |
-
background: "#fff",
|
639 |
-
opacity: .6
|
640 |
-
}
|
641 |
-
});
|
642 |
-
|
643 |
-
jQuery('#search_provider').removeAttr('value');
|
644 |
-
|
645 |
-
jQuery.ajax({
|
646 |
-
url: ajaxurl,
|
647 |
-
data: form.serialize(),
|
648 |
-
type: 'POST',
|
649 |
-
success: function(response) {
|
650 |
-
jQuery(".provider_list").replaceWith(response);
|
651 |
-
form[0].reset();
|
652 |
-
jQuery('.edit_provider_popup').hide();
|
653 |
-
jQuery(".edit_provider_popup").unblock();
|
654 |
-
provider_grid_row();
|
655 |
-
},
|
656 |
-
error: function(response) {
|
657 |
-
console.log(response);
|
658 |
-
}
|
659 |
-
});
|
660 |
-
return false;
|
661 |
-
});
|
662 |
-
|
663 |
-
jQuery( ".thumb_url" ).keyup(function() {
|
664 |
-
var url = jQuery(this).val();
|
665 |
-
if(url == ''){
|
666 |
-
jQuery('.thumb_id').val('');
|
667 |
-
}
|
668 |
-
});
|
669 |
-
|
670 |
-
jQuery(document).on("click", "#reset_providers", function(){
|
671 |
-
jQuery("#content1 ").block({
|
672 |
-
message: null,
|
673 |
-
overlayCSS: {
|
674 |
-
background: "#fff",
|
675 |
-
opacity: .6
|
676 |
-
}
|
677 |
-
});
|
678 |
-
var r = confirm( 'Do you really want to change all provider status?' );
|
679 |
-
if (r === true) {
|
680 |
-
} else {
|
681 |
-
jQuery("#content1").unblock();
|
682 |
-
return;
|
683 |
-
}
|
684 |
-
|
685 |
-
jQuery('#search_provider').removeAttr('value');
|
686 |
-
|
687 |
-
var reset_checked = 0;
|
688 |
-
if(jQuery(this).prop("checked") == true){
|
689 |
-
reset_checked = 1;
|
690 |
-
}
|
691 |
-
|
692 |
-
var error;
|
693 |
-
var nonce = jQuery( '#nonce_shipping_provider' ).val();
|
694 |
-
var ajax_data = {
|
695 |
-
action: 'update_provider_status',
|
696 |
-
status: reset_checked,
|
697 |
-
security: nonce,
|
698 |
-
};
|
699 |
-
jQuery.ajax({
|
700 |
-
url: ajaxurl,
|
701 |
-
data: ajax_data,
|
702 |
-
type: 'POST',
|
703 |
-
success: function(response) {
|
704 |
-
jQuery(".provider_list").replaceWith(response);
|
705 |
-
jQuery("#content1").unblock();
|
706 |
-
provider_grid_row();
|
707 |
-
},
|
708 |
-
error: function(response) {
|
709 |
-
console.log(response);
|
710 |
-
}
|
711 |
-
});
|
712 |
-
});
|
713 |
-
|
714 |
-
jQuery(document).on("click", ".upgrade_to_ast_pro", function(){
|
715 |
-
jQuery('.upgrade_to_pro_popup').show();
|
716 |
-
});
|
717 |
-
|
718 |
-
jQuery(document).on("click", ".sync_providers", function(){
|
719 |
-
jQuery('.sync_provider_popup').show();
|
720 |
-
jQuery("#reset_tracking_providers").prop("checked", false);
|
721 |
-
});
|
722 |
-
|
723 |
-
jQuery(document).on("click", ".sync_providers_btn", function(){
|
724 |
-
|
725 |
-
jQuery('.sync_providers_btn').attr("disabled", true);
|
726 |
-
jQuery('.sync_provider_popup .spinner').addClass('active');
|
727 |
-
jQuery('#reset_tracking_providers').val;
|
728 |
-
|
729 |
-
var reset_checked = 0;
|
730 |
-
if(jQuery('#reset_tracking_providers').prop("checked") == true){
|
731 |
-
reset_checked = 1;
|
732 |
-
}
|
733 |
-
|
734 |
-
jQuery('.sync_message').hide();
|
735 |
-
jQuery('#search_provider').removeAttr('value');
|
736 |
-
var nonce = jQuery( '#nonce_shipping_provider' ).val();
|
737 |
-
|
738 |
-
var ajax_data = {
|
739 |
-
action: 'sync_providers',
|
740 |
-
reset_checked: reset_checked,
|
741 |
-
security: nonce,
|
742 |
-
};
|
743 |
-
jQuery.ajax({
|
744 |
-
url: ajaxurl,
|
745 |
-
data: ajax_data,
|
746 |
-
type: 'POST',
|
747 |
-
dataType: "json",
|
748 |
-
success: function(response) {
|
749 |
-
jQuery('.sync_provider_popup .spinner').removeClass('active');
|
750 |
-
jQuery(".provider_list").replaceWith(response.html);
|
751 |
-
|
752 |
-
if(response.sync_error == 1 ){
|
753 |
-
jQuery( ".sync_message" ).text( response.message );
|
754 |
-
jQuery( ".sync_providers_btn" ).text( 'Retry' );
|
755 |
-
} else{
|
756 |
-
if(reset_checked == 1){
|
757 |
-
jQuery('.reset_db_message').show();
|
758 |
-
} else{
|
759 |
-
jQuery(".providers_added span").text(response.added);
|
760 |
-
if(response.added > 0 ){
|
761 |
-
jQuery( ".providers_added" ).append( response.added_html );
|
762 |
-
}
|
763 |
-
|
764 |
-
jQuery(".providers_updated span").text(response.updated);
|
765 |
-
if(response.updated > 0 ){
|
766 |
-
jQuery( ".providers_updated" ).append( response.updated_html );
|
767 |
-
}
|
768 |
-
|
769 |
-
jQuery(".providers_deleted span").text(response.deleted);
|
770 |
-
if(response.deleted > 0 ){
|
771 |
-
jQuery( ".providers_deleted" ).append( response.deleted_html );
|
772 |
-
}
|
773 |
-
jQuery(".synch_result").show();
|
774 |
-
}
|
775 |
-
}
|
776 |
-
|
777 |
-
jQuery(".reset_db_fieldset").hide();
|
778 |
-
jQuery(".sync_providers_btn").attr("disabled", false);
|
779 |
-
jQuery(".sync_providers_btn").hide();
|
780 |
-
jQuery(".close_synch_popup").show();
|
781 |
-
jQuery( '.tipTip' ).tipTip( {
|
782 |
-
'attribute': 'data-tip'
|
783 |
-
} );
|
784 |
-
provider_grid_row();
|
785 |
-
},
|
786 |
-
error: function(response) {
|
787 |
-
console.log(response);
|
788 |
-
}
|
789 |
-
});
|
790 |
-
});
|
791 |
-
|
792 |
-
jQuery(document).on("click", "#view_added_details", function(){
|
793 |
-
jQuery('#added_providers').show();
|
794 |
-
jQuery(this).hide();
|
795 |
-
jQuery('#hide_added_details').show();
|
796 |
-
});
|
797 |
-
jQuery(document).on("click", "#hide_added_details", function(){
|
798 |
-
jQuery('#added_providers').hide();
|
799 |
-
jQuery(this).hide();
|
800 |
-
jQuery('#view_added_details').show();
|
801 |
-
});
|
802 |
-
|
803 |
-
jQuery(document).on("click", "#view_updated_details", function(){
|
804 |
-
jQuery('#updated_providers').show();
|
805 |
-
jQuery(this).hide();
|
806 |
-
jQuery('#hide_updated_details').show();
|
807 |
-
});
|
808 |
-
jQuery(document).on("click", "#hide_updated_details", function(){
|
809 |
-
jQuery('#updated_providers').hide();
|
810 |
-
jQuery(this).hide();
|
811 |
-
jQuery('#view_updated_details').show();
|
812 |
-
});
|
813 |
-
|
814 |
-
jQuery(document).on("click", "#view_deleted_details", function(){
|
815 |
-
jQuery('#deleted_providers').show();
|
816 |
-
jQuery(this).hide();
|
817 |
-
jQuery('#hide_deleted_details').show();
|
818 |
-
});
|
819 |
-
jQuery(document).on("click", "#hide_deleted_details", function(){
|
820 |
-
jQuery('#deleted_providers').hide();
|
821 |
-
jQuery(this).hide();
|
822 |
-
jQuery('#view_deleted_details').show();
|
823 |
-
});
|
824 |
-
|
825 |
-
function validate (input) {
|
826 |
-
if(jQuery(input).val().trim() == '' || jQuery(input).val().trim() == 0){
|
827 |
-
return false;
|
828 |
-
}
|
829 |
-
}
|
830 |
-
|
831 |
-
function showerror(element){
|
832 |
-
element.css("border","1px solid red");
|
833 |
-
}
|
834 |
-
function hideerror(element){
|
835 |
-
element.css("border","1px solid #ddd");
|
836 |
-
}
|
837 |
-
jQuery(document).on("change", "#wc_ast_status_shipped", function(){
|
838 |
-
if(jQuery(this).prop("checked") == true){
|
839 |
-
jQuery("[for=show_in_completed] .multiple_label").text('Shipped');
|
840 |
-
jQuery("label .shipped_label").text('shipped');
|
841 |
-
} else{
|
842 |
-
jQuery("[for=show_in_completed] .multiple_label").text('Completed');
|
843 |
-
jQuery("label .shipped_label").text('completed');
|
844 |
-
}
|
845 |
-
});
|
846 |
-
|
847 |
-
jQuery(document).on("click", ".tab_input", function(){
|
848 |
-
var tab = jQuery(this).data('tab');
|
849 |
-
var label = jQuery(this).data('label');
|
850 |
-
var url = window.location.protocol + "//" + window.location.host + window.location.pathname+"?page=woocommerce-advanced-shipment-tracking&tab="+tab;
|
851 |
-
window.history.pushState({path:url},'',url);
|
852 |
-
});
|
853 |
-
|
854 |
-
jQuery(document).on("click", ".accordion", function(){
|
855 |
-
if ( jQuery(this).hasClass( 'active' ) ) {
|
856 |
-
jQuery(this).removeClass( 'active' );
|
857 |
-
jQuery(this).siblings( '.panel' ).slideUp( 'slow' );
|
858 |
-
jQuery( '.accordion' ).find('span.dashicons').addClass('dashicons-arrow-right-alt2');
|
859 |
-
jQuery( '.accordion' ).find('span.ast-accordion-btn').hide();
|
860 |
-
} else {
|
861 |
-
jQuery( '.accordion' ).removeClass( 'active' );
|
862 |
-
jQuery(".accordion").find('span.ast-accordion-btn').hide();
|
863 |
-
jQuery(".accordion").find('span.dashicons').addClass('dashicons-arrow-right-alt2');
|
864 |
-
jQuery( '.panel' ).slideUp('slow');
|
865 |
-
jQuery(this).addClass( 'active' );
|
866 |
-
jQuery(this).find('span.dashicons').removeClass('dashicons-arrow-right-alt2');
|
867 |
-
jQuery(this).find('span.ast-accordion-btn').show();
|
868 |
-
jQuery(this).find('span.ast-accordion-btn button').prop("disabled", true);
|
869 |
-
jQuery(this).siblings( '.panel' ).slideDown( 'slow' );
|
870 |
-
}
|
871 |
-
});
|
872 |
-
|
873 |
-
jQuery(document).on("click", ".woocommerce-save-button", function(e){
|
874 |
-
|
875 |
-
var form = jQuery('#wc_ast_settings_form');
|
876 |
-
form.find(".spinner").addClass("active");
|
877 |
-
|
878 |
-
jQuery.ajax({
|
879 |
-
url: ajaxurl,
|
880 |
-
data: form.serialize(),
|
881 |
-
type: 'POST',
|
882 |
-
success: function(response) {
|
883 |
-
form.find(".spinner").removeClass("active");
|
884 |
-
jQuery(document).ast_snackbar( shipment_tracking_table_rows.i18n.data_saved );
|
885 |
-
jQuery( '.accordion' ).removeClass( 'active' );
|
886 |
-
jQuery( '.accordion' ).find( 'span.ast-accordion-btn' ).hide();
|
887 |
-
jQuery( '.accordion' ).find( 'span.dashicons' ).addClass( 'dashicons-arrow-right-alt2' );
|
888 |
-
jQuery( '.panel' ).slideUp( 'slow' );
|
889 |
-
},
|
890 |
-
error: function(response) {
|
891 |
-
console.log(response);
|
892 |
-
}
|
893 |
-
});
|
894 |
-
return false;
|
895 |
-
});
|
896 |
-
|
897 |
-
|
898 |
-
jQuery(document).on("change", "#wc_ast_settings_form .ast-settings-toggle,.order_status_toggle,.enable_order_status_email_input,.custom_order_color_select, #wc_ast_status_shipped", function(){
|
899 |
-
jQuery('span.ast-accordion-btn button').prop("disabled", false);
|
900 |
-
});
|
901 |
-
|
902 |
-
jQuery('#wc_ast_status_partial_shipped_label_color').wpColorPicker({
|
903 |
-
change: function(e, ui) {
|
904 |
-
var color = ui.color.toString();
|
905 |
-
jQuery('.order-status-table .order-label.wc-partially-shipped').css('background',color);
|
906 |
-
},
|
907 |
-
});
|
908 |
-
|
909 |
-
jQuery('#wc_ast_status_updated_tracking_label_color').wpColorPicker({
|
910 |
-
change: function(e, ui) {
|
911 |
-
var color = ui.color.toString();
|
912 |
-
jQuery('.order-status-table .order-label.wc-updated-tracking').css('background',color);
|
913 |
-
},
|
914 |
-
});
|
915 |
-
|
916 |
-
jQuery('body').click( function(){
|
917 |
-
if ( jQuery('.order-status-table button.button.wp-color-result').hasClass( 'wp-picker-open' ) ) {
|
918 |
-
jQuery('span.ast-accordion-btn button').prop("disabled", false);
|
919 |
-
}
|
920 |
-
});
|
921 |
-
|
922 |
-
jQuery('.order-status-table button.button.wp-color-result').click( function(){
|
923 |
-
if ( jQuery(this).hasClass( 'wp-picker-open' ) ) {}else{jQuery('span.ast-accordion-btn button').prop("disabled", false);}
|
924 |
-
});
|
925 |
-
jQuery(".wc_ast_api_date_format").on("click", function (e) {
|
926 |
-
jQuery('span.ast-accordion-btn button').prop("disabled", false);
|
927 |
-
});
|
928 |
-
jQuery( "#wc_ast_show_orders_actions,#wc_ast_unclude_tracking_info" ).on("change", function (e) {
|
929 |
-
jQuery('span.ast-accordion-btn button').prop("disabled", false);
|
930 |
-
});
|
931 |
-
|
932 |
-
/* zorem_snackbar jquery */
|
933 |
-
(function( $ ){
|
934 |
-
$.fn.ast_snackbar = function(msg) {
|
935 |
-
if ( jQuery('.snackbar-logs').length === 0 ){
|
936 |
-
$("body").append("<section class=snackbar-logs></section>");
|
937 |
-
}
|
938 |
-
var ast_snackbar = $("<article></article>").addClass('snackbar-log snackbar-log-success snackbar-log-show').text( msg );
|
939 |
-
$(".snackbar-logs").append(ast_snackbar);
|
940 |
-
setTimeout(function(){ ast_snackbar.remove(); }, 3000);
|
941 |
-
return this;
|
942 |
-
};
|
943 |
-
})( jQuery );
|
944 |
-
|
945 |
-
/* zorem_snackbar_warning jquery */
|
946 |
-
(function( $ ){
|
947 |
-
$.fn.ast_snackbar_warning = function(msg) {
|
948 |
-
if ( jQuery('.snackbar-logs').length === 0 ){
|
949 |
-
$("body").append("<section class=snackbar-logs></section>");
|
950 |
-
}
|
951 |
-
var ast_snackbar_warning = $("<article></article>").addClass( 'snackbar-log snackbar-log-error snackbar-log-show' ).html( msg );
|
952 |
-
$(".snackbar-logs").append(ast_snackbar_warning);
|
953 |
-
setTimeout(function(){ ast_snackbar_warning.remove(); }, 3000);
|
954 |
-
return this;
|
955 |
-
};
|
956 |
-
})( jQuery );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
assets/shipment-provider-img/wahana.png
ADDED
Binary file
|
assets/shipment-provider-img/xpressbees.png
ADDED
Binary file
|
assets/shipment-provider-img/yamato.png
ADDED
Binary file
|
assets/shipment-provider-img/yanwen.png
ADDED
Binary file
|
assets/shipment-provider-img/yodel.png
ADDED
Binary file
|
assets/shipment-provider-img/yun-express-tracking.png
ADDED
Binary file
|
assets/shipment-provider-img/yurtici-kargo.png
ADDED
Binary file
|
assets/tracking.csv
DELETED
@@ -1,4 +0,0 @@
|
|
1 |
-
order_id,tracking_provider,tracking_number,date_shipped,status_shipped
|
2 |
-
1,UPS,number123,12/03/2020,1
|
3 |
-
2,USPS,dfsdf23123,12/03/2020,1
|
4 |
-
3,DHL,dfsdf45swd,12/03/2020,0
|
|
|
|
|
|
|
|
includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php
DELETED
@@ -1,479 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
if ( ! defined( 'ABSPATH' ) ) {
|
3 |
-
exit;
|
4 |
-
}
|
5 |
-
|
6 |
-
/**
|
7 |
-
* REST API shipment tracking controller.
|
8 |
-
*
|
9 |
-
* Handles requests to /orders/shipment-tracking endpoint.
|
10 |
-
*
|
11 |
-
* @since 1.5.0
|
12 |
-
*/
|
13 |
-
|
14 |
-
class WC_Advanced_Shipment_Tracking_REST_API_Controller extends WC_REST_Controller {
|
15 |
-
|
16 |
-
/**
|
17 |
-
* Endpoint namespace.
|
18 |
-
*
|
19 |
-
* @var string
|
20 |
-
*/
|
21 |
-
protected $namespace = 'wc-ast/v3';
|
22 |
-
|
23 |
-
/**
|
24 |
-
* Route base.
|
25 |
-
*
|
26 |
-
* @var string
|
27 |
-
*/
|
28 |
-
protected $rest_base = 'orders/(?P<order_id>[\d]+)/shipment-trackings';
|
29 |
-
|
30 |
-
/**
|
31 |
-
* Post type.
|
32 |
-
*
|
33 |
-
* @var string
|
34 |
-
*/
|
35 |
-
protected $post_type = 'shop_order';
|
36 |
-
|
37 |
-
/**
|
38 |
-
* Set namespace
|
39 |
-
*
|
40 |
-
* @return WC_Advanced_Shipment_Tracking_REST_API_Controller
|
41 |
-
*/
|
42 |
-
public function set_namespace( $namespace ) {
|
43 |
-
$this->namespace = $namespace;
|
44 |
-
return $this;
|
45 |
-
}
|
46 |
-
|
47 |
-
/**
|
48 |
-
* Register the routes for trackings.
|
49 |
-
*/
|
50 |
-
public function register_routes() {
|
51 |
-
register_rest_route( $this->namespace, '/' . $this->rest_base, array(
|
52 |
-
array(
|
53 |
-
'methods' => WP_REST_Server::READABLE,
|
54 |
-
'callback' => array( $this, 'get_items' ),
|
55 |
-
'permission_callback' => array( $this, 'get_items_permissions_check' ),
|
56 |
-
'args' => $this->get_collection_params(),
|
57 |
-
),
|
58 |
-
array(
|
59 |
-
'methods' => WP_REST_Server::CREATABLE,
|
60 |
-
'callback' => array( $this, 'create_item' ),
|
61 |
-
'permission_callback' => array( $this, 'create_item_permissions_check' ),
|
62 |
-
'args' => array_merge( $this->get_endpoint_args_for_item_schema( WP_REST_Server::CREATABLE ), array(
|
63 |
-
'tracking_number' => array(
|
64 |
-
'required' => true,
|
65 |
-
),
|
66 |
-
) ),
|
67 |
-
),
|
68 |
-
'schema' => array( $this, 'get_public_item_schema' ),
|
69 |
-
) );
|
70 |
-
|
71 |
-
register_rest_route( $this->namespace, '/' . $this->rest_base . '/providers', array(
|
72 |
-
array(
|
73 |
-
'methods' => WP_REST_Server::READABLE,
|
74 |
-
'callback' => array( $this, 'get_providers' ),
|
75 |
-
'permission_callback' => array( $this, 'get_items_permissions_check' ),
|
76 |
-
),
|
77 |
-
) );
|
78 |
-
|
79 |
-
register_rest_route( $this->namespace, '/' . $this->rest_base . '/(?P<id>[a-fA-F0-9]{0,32})', array(
|
80 |
-
array(
|
81 |
-
'methods' => WP_REST_Server::READABLE,
|
82 |
-
'callback' => array( $this, 'get_item' ),
|
83 |
-
'permission_callback' => array( $this, 'get_item_permissions_check' ),
|
84 |
-
'args' => array(
|
85 |
-
'context' => $this->get_context_param( array( 'default' => 'view' ) ),
|
86 |
-
),
|
87 |
-
),
|
88 |
-
array(
|
89 |
-
'methods' => WP_REST_Server::DELETABLE,
|
90 |
-
'callback' => array( $this, 'delete_item' ),
|
91 |
-
'permission_callback' => array( $this, 'delete_item_permissions_check' ),
|
92 |
-
),
|
93 |
-
'schema' => array( $this, 'get_public_item_schema' ),
|
94 |
-
) );
|
95 |
-
}
|
96 |
-
|
97 |
-
/**
|
98 |
-
* Check whether a given request has permission to read order shipment-trackings.
|
99 |
-
*
|
100 |
-
* @param WP_REST_Request $request Full details about the request.
|
101 |
-
* @return WP_Error|boolean
|
102 |
-
*/
|
103 |
-
public function get_items_permissions_check( $request ) {
|
104 |
-
if ( ! wc_rest_check_post_permissions( $this->post_type, 'read' ) ) {
|
105 |
-
return new WP_Error( 'woocommerce_rest_cannot_view', __( 'Sorry, you cannot list resources.', 'woocommerce-shipment-tracking' ), array( 'status' => rest_authorization_required_code() ) );
|
106 |
-
}
|
107 |
-
return true;
|
108 |
-
}
|
109 |
-
|
110 |
-
/**
|
111 |
-
* Check if a given request has access create order shipment-tracking.
|
112 |
-
*
|
113 |
-
* @param WP_REST_Request $request Full details about the request.
|
114 |
-
* @return boolean
|
115 |
-
*/
|
116 |
-
public function create_item_permissions_check( $request ) {
|
117 |
-
|
118 |
-
if ( ! wc_rest_check_post_permissions( $this->post_type, 'create' ) ) {
|
119 |
-
return new WP_Error( 'woocommerce_rest_cannot_create', __( 'Sorry, you are not allowed to create resources.', 'woocommerce-shipment-tracking' ), array( 'status' => rest_authorization_required_code() ) );
|
120 |
-
}
|
121 |
-
return true;
|
122 |
-
}
|
123 |
-
|
124 |
-
/**
|
125 |
-
* Check if a given request has access to read a order shipment-tracking.
|
126 |
-
*
|
127 |
-
* @param WP_REST_Request $request Full details about the request.
|
128 |
-
* @return WP_Error|boolean
|
129 |
-
*/
|
130 |
-
public function get_item_permissions_check( $request ) {
|
131 |
-
if ( ! wc_rest_check_post_permissions( $this->post_type, 'read', (int) $request['order_id'] ) ) {
|
132 |
-
return new WP_Error( 'woocommerce_rest_cannot_view', __( 'Sorry, you cannot view this resource.', 'woocommerce-shipment-tracking' ), array( 'status' => rest_authorization_required_code() ) );
|
133 |
-
}
|
134 |
-
return true;
|
135 |
-
}
|
136 |
-
|
137 |
-
/**
|
138 |
-
* Check if a given request has access delete a order shipment-tracking.
|
139 |
-
*
|
140 |
-
* @param WP_REST_Request $request Full details about the request.
|
141 |
-
* @return boolean
|
142 |
-
*/
|
143 |
-
public function delete_item_permissions_check( $request ) {
|
144 |
-
if ( ! wc_rest_check_post_permissions( $this->post_type, 'delete', (int) $request['order_id'] ) ) {
|
145 |
-
return new WP_Error( 'woocommerce_rest_cannot_delete', __( 'Sorry, you are not allowed to delete this resource.', 'woocommerce-shipment-tracking' ), array( 'status' => rest_authorization_required_code() ) );
|
146 |
-
}
|
147 |
-
return true;
|
148 |
-
}
|
149 |
-
|
150 |
-
/**
|
151 |
-
* Checks if an order ID is a valid order.
|
152 |
-
*
|
153 |
-
* @param int $order_id
|
154 |
-
* @return bool
|
155 |
-
* @since 1.6.4
|
156 |
-
*/
|
157 |
-
public function is_valid_order_id( $order_id ) {
|
158 |
-
if ( version_compare( WC_VERSION, '3.0', '<' ) ) {
|
159 |
-
$order = get_post( $order_id );
|
160 |
-
if ( empty( $order->post_type ) || $this->post_type !== $order->post_type ) {
|
161 |
-
return false;
|
162 |
-
}
|
163 |
-
} else {
|
164 |
-
$order = wc_get_order( $order_id );
|
165 |
-
// in 3.0 the order factor will return false if the order class
|
166 |
-
// throws an exception or the class doesn't exist.
|
167 |
-
if ( false === $order ) {
|
168 |
-
return false;
|
169 |
-
}
|
170 |
-
}
|
171 |
-
return true;
|
172 |
-
}
|
173 |
-
|
174 |
-
/**
|
175 |
-
* Get shipment-trackings from an order.
|
176 |
-
*
|
177 |
-
* @param WP_REST_Request $request
|
178 |
-
* @return array
|
179 |
-
*/
|
180 |
-
public function get_items( $request ) {
|
181 |
-
$order_id = (int) $request['order_id'];
|
182 |
-
|
183 |
-
if ( ! $this->is_valid_order_id( $order_id ) ) {
|
184 |
-
return new WP_Error( 'woocommerce_rest_order_invalid_id', __( 'Invalid order ID.', 'woocommerce-shipment-tracking' ), array( 'status' => 404 ) );
|
185 |
-
}
|
186 |
-
|
187 |
-
$st = WC_Advanced_Shipment_Tracking_Actions::get_instance();
|
188 |
-
$tracking_items = ast_get_tracking_items( $order_id );
|
189 |
-
|
190 |
-
$data = array();
|
191 |
-
foreach ( $tracking_items as $tracking_item ) {
|
192 |
-
$tracking_item['order_id'] = $order_id;
|
193 |
-
|
194 |
-
$tracking_item = $this->prepare_item_for_response( $tracking_item, $request );
|
195 |
-
$tracking_item = $this->prepare_response_for_collection( $tracking_item );
|
196 |
-
$data[] = $tracking_item;
|
197 |
-
}
|
198 |
-
|
199 |
-
return rest_ensure_response( $data );
|
200 |
-
}
|
201 |
-
|
202 |
-
/**
|
203 |
-
* Get shipment-tracking providers.
|
204 |
-
*
|
205 |
-
* @param WP_REST_Request $request
|
206 |
-
* @return array
|
207 |
-
*/
|
208 |
-
public function get_providers( $request ) {
|
209 |
-
$st = WC_Advanced_Shipment_Tracking_Actions::get_instance();
|
210 |
-
return rest_ensure_response( $st->get_providers_for_app() );
|
211 |
-
}
|
212 |
-
|
213 |
-
/**
|
214 |
-
* Create a single order shipment-tracking.
|
215 |
-
*
|
216 |
-
* @param WP_REST_Request $request Full details about the request.
|
217 |
-
*
|
218 |
-
* @return WP_Error|WP_REST_Response
|
219 |
-
*/
|
220 |
-
public function create_item( $request ) {
|
221 |
-
if ( ! empty( $request['tracking_id'] ) ) {
|
222 |
-
return new WP_Error( 'woocommerce_rest_shop_order_shipment_tracking_exists', __( 'Cannot create existing order shipment tracking.', 'woo-advanced-shipment-tracking' ), array( 'status' => 400 ) );
|
223 |
-
}
|
224 |
-
|
225 |
-
$order_id = (int) $request['order_id'];
|
226 |
-
|
227 |
-
$ast = WC_Advanced_Shipment_Tracking_Actions::get_instance();
|
228 |
-
$order_id = $ast->get_formated_order_id( $order_id );
|
229 |
-
|
230 |
-
if ( ! $this->is_valid_order_id( $order_id ) ) {
|
231 |
-
return new WP_Error( 'woocommerce_rest_order_invalid_id', __( 'Invalid order ID.', 'woo-advanced-shipment-tracking' ), array( 'status' => 404 ) );
|
232 |
-
}
|
233 |
-
|
234 |
-
if ( preg_match( '/[^a-z0-9- \b]+/i', $request['tracking_number'] ) ) {
|
235 |
-
return new WP_Error( 'woocommerce_rest_order_invalid_id', __( 'Special character not allowd in tracking number', 'woo-advanced-shipment-tracking' ), array( 'status' => 404 ) );
|
236 |
-
}
|
237 |
-
|
238 |
-
$ast_admin = WC_Advanced_Shipment_Tracking_Admin::get_instance();
|
239 |
-
|
240 |
-
$tracking_provider_name = ( isset( $request['custom_tracking_provider'] ) && !empty( $request['custom_tracking_provider'] ) ) ? $request['custom_tracking_provider'] : $request['tracking_provider'];
|
241 |
-
|
242 |
-
$replace_tracking = isset($request['replace_tracking']) ? $request['replace_tracking'] : 0;
|
243 |
-
|
244 |
-
if ( 1 == $replace_tracking ) {
|
245 |
-
$order = wc_get_order($order_id);
|
246 |
-
|
247 |
-
if ( $order ) {
|
248 |
-
$tracking_items = ast_get_tracking_items( $order_id );
|
249 |
-
|
250 |
-
if ( count( $tracking_items ) > 0 ) {
|
251 |
-
foreach ( $tracking_items as $key => $item ) {
|
252 |
-
unset( $tracking_items[ $key ] );
|
253 |
-
}
|
254 |
-
$ast->save_tracking_items( $order_id, $tracking_items );
|
255 |
-
}
|
256 |
-
}
|
257 |
-
}
|
258 |
-
|
259 |
-
$tracking_provider = $ast_admin->get_provider_slug_from_name( $tracking_provider_name );
|
260 |
-
|
261 |
-
$args = array(
|
262 |
-
'tracking_provider' => wc_clean( $tracking_provider ),
|
263 |
-
'custom_tracking_link' => wc_clean( $request['custom_tracking_link'] ),
|
264 |
-
'tracking_number' => wc_clean( $request['tracking_number'] ),
|
265 |
-
'date_shipped' => wc_clean( $request['date_shipped'] ),
|
266 |
-
'status_shipped' => wc_clean( $request['status_shipped'] ),
|
267 |
-
'source' => 'REST_API',
|
268 |
-
);
|
269 |
-
|
270 |
-
$args = apply_filters( 'ast_api_create_item_arg', $args, $request );
|
271 |
-
|
272 |
-
$tracking_item = $ast->add_tracking_item( $order_id, $args );
|
273 |
-
$tracking_item['order_id'] = $order_id;
|
274 |
-
$formatted = $ast->get_formatted_tracking_item( $order_id, $tracking_item );
|
275 |
-
$tracking_item = array_merge( $tracking_item, $formatted );
|
276 |
-
|
277 |
-
$request->set_param( 'context', 'edit' );
|
278 |
-
|
279 |
-
$response = $this->prepare_item_for_response( $tracking_item, $request );
|
280 |
-
$response = rest_ensure_response( $response );
|
281 |
-
|
282 |
-
$response->set_status( 201 );
|
283 |
-
$response->header( 'Location', rest_url( sprintf( '/%s/%s/%d', $this->namespace, str_replace( '(?P<order_id>[\d]+)', $order_id, $this->rest_base ), $tracking_item['tracking_id'] ) ) );
|
284 |
-
|
285 |
-
return $response;
|
286 |
-
}
|
287 |
-
|
288 |
-
/**
|
289 |
-
* Get a single order shipment-tracking.
|
290 |
-
*
|
291 |
-
* @param WP_REST_Request $request Full details about the request.
|
292 |
-
* @return WP_Error|WP_REST_Response
|
293 |
-
*/
|
294 |
-
public function get_item( $request ) {
|
295 |
-
$tracking_id = $request['id'];
|
296 |
-
|
297 |
-
$order_id = (int) $request['order_id'];
|
298 |
-
if ( ! $this->is_valid_order_id( $order_id ) ) {
|
299 |
-
return new WP_Error( 'woocommerce_rest_order_invalid_id', __( 'Invalid order ID.', 'woocommerce-advanced-shipment-tracking' ), array( 'status' => 404 ) );
|
300 |
-
}
|
301 |
-
|
302 |
-
$st = WC_Advanced_Shipment_Tracking_Actions::get_instance();
|
303 |
-
$tracking_item = $st->get_tracking_item( $order_id, $tracking_id, true );
|
304 |
-
|
305 |
-
if ( ! $tracking_item ) {
|
306 |
-
return new WP_Error( 'woocommerce_rest_order_shipment_tracking_invalid_id', __( 'Invalid shipment tracking ID.', 'woocommerce-advanced-shipment-tracking' ), array( 'status' => 404 ) );
|
307 |
-
}
|
308 |
-
|
309 |
-
$tracking_item['order_id'] = $order_id;
|
310 |
-
$tracking_item = $this->prepare_item_for_response( $tracking_item, $request );
|
311 |
-
$response = rest_ensure_response( $tracking_item );
|
312 |
-
|
313 |
-
return $response;
|
314 |
-
}
|
315 |
-
|
316 |
-
/**
|
317 |
-
* Delete a single order shipment-tracking.
|
318 |
-
*
|
319 |
-
* @param WP_REST_Request $request Full details about the request.
|
320 |
-
* @return WP_REST_Response|WP_Error
|
321 |
-
*/
|
322 |
-
public function delete_item( $request ) {
|
323 |
-
$tracking_id = $request['id'];
|
324 |
-
|
325 |
-
$order_id = (int) $request['order_id'];
|
326 |
-
|
327 |
-
if ( ! $this->is_valid_order_id( $order_id ) ) {
|
328 |
-
return new WP_Error( 'woocommerce_rest_order_invalid_id', __( 'Invalid order ID.', 'woocommerce-advanced-shipment-tracking' ), array( 'status' => 404 ) );
|
329 |
-
}
|
330 |
-
|
331 |
-
$st = WC_Advanced_Shipment_Tracking_Actions::get_instance();
|
332 |
-
$tracking_item = $st->get_tracking_item( $order_id, $tracking_id, true );
|
333 |
-
|
334 |
-
if ( ! $tracking_item ) {
|
335 |
-
return new WP_Error( 'woocommerce_rest_order_shipment_tracking_invalid_id', __( 'Invalid shipment tracking ID.', 'woocommerce-advanced-shipment-tracking' ), array( 'status' => 404 ) );
|
336 |
-
}
|
337 |
-
|
338 |
-
$tracking_item['order_id'] = $order_id;
|
339 |
-
$tracking_item = $this->prepare_item_for_response( $tracking_item, $request );
|
340 |
-
$response = rest_ensure_response( $tracking_item );
|
341 |
-
|
342 |
-
$result = $st->delete_tracking_item( $order_id, $tracking_id );
|
343 |
-
if ( ! $result ) {
|
344 |
-
return new WP_Error( 'woocommerce_rest_cannot_delete_order_shipment_tracking', __( 'The shipment tracking cannot be deleted.', 'woocommerce-advanced-shipment-tracking' ), array( 'status' => 500 ) );
|
345 |
-
}
|
346 |
-
|
347 |
-
return $response;
|
348 |
-
}
|
349 |
-
|
350 |
-
/**
|
351 |
-
* Prepare a single order shipment-note output for response.
|
352 |
-
*
|
353 |
-
* @param array $tracking_item Shipment tracking item
|
354 |
-
* @param WP_REST_Request $request Request object
|
355 |
-
*
|
356 |
-
* @return WP_REST_Response $response Response data
|
357 |
-
*/
|
358 |
-
public function prepare_item_for_response( $tracking_item, $request ) {
|
359 |
-
$date_shipped = gmdate('Y-m-d');
|
360 |
-
if ( isset( $tracking_item['date_shipped'] ) ) {
|
361 |
-
$date_shipped = gmdate( 'Y-m-d', $tracking_item['date_shipped'] );
|
362 |
-
}
|
363 |
-
$data = array(
|
364 |
-
'tracking_id' => $tracking_item['tracking_id'],
|
365 |
-
'tracking_provider' => $tracking_item['formatted_tracking_provider'],
|
366 |
-
'tracking_link' => $tracking_item['ast_tracking_link'],
|
367 |
-
'tracking_number' => $tracking_item['tracking_number'],
|
368 |
-
'date_shipped' => $date_shipped,
|
369 |
-
);
|
370 |
-
|
371 |
-
$order_id = $tracking_item['order_id'];
|
372 |
-
|
373 |
-
$context = ! empty( $request['context'] ) ? $request['context'] : 'view';
|
374 |
-
$data = $this->add_additional_fields_to_object( $data, $request );
|
375 |
-
$data = $this->filter_response_by_context( $data, $context );
|
376 |
-
|
377 |
-
// Wrap the data in a response object.
|
378 |
-
$response = rest_ensure_response( $data );
|
379 |
-
|
380 |
-
$response->add_links( $this->prepare_links( $order_id, $tracking_item ) );
|
381 |
-
|
382 |
-
/**
|
383 |
-
* Filter order shipment-tracking object returned from the REST API.
|
384 |
-
*
|
385 |
-
* @param WP_REST_Response $response The response object.
|
386 |
-
* @param array $tracking_item Order tracking item used to create response.
|
387 |
-
* @param WP_REST_Request $request Request object.
|
388 |
-
*/
|
389 |
-
return apply_filters( 'woocommerce_rest_prepare_order_shipment_tracking', $response, $tracking_item, $request );
|
390 |
-
}
|
391 |
-
|
392 |
-
/**
|
393 |
-
* Prepare links for the request.
|
394 |
-
*
|
395 |
-
* @param int $order_id Order ID
|
396 |
-
* @param array $shipment_tracking Shipment tracking item
|
397 |
-
*
|
398 |
-
* @return array Links for the given order shipment-tracking.
|
399 |
-
*/
|
400 |
-
protected function prepare_links( $order_id, $tracking_item ) {
|
401 |
-
$order_id = (int) $order_id;
|
402 |
-
$base = str_replace( '(?P<order_id>[\d]+)', $order_id, $this->rest_base );
|
403 |
-
$links = array(
|
404 |
-
'self' => array(
|
405 |
-
'href' => rest_url( sprintf( '/%s/%s/%s', $this->namespace, $base, $tracking_item['tracking_id'] ) ),
|
406 |
-
),
|
407 |
-
'collection' => array(
|
408 |
-
'href' => rest_url( sprintf( '/%s/%s', $this->namespace, $base ) ),
|
409 |
-
),
|
410 |
-
'up' => array(
|
411 |
-
'href' => rest_url( sprintf( '/%s/orders/%d', $this->namespace, $order_id ) ),
|
412 |
-
),
|
413 |
-
);
|
414 |
-
return $links;
|
415 |
-
}
|
416 |
-
|
417 |
-
/**
|
418 |
-
* Get the Order Notes schema, conforming to JSON Schema.
|
419 |
-
*
|
420 |
-
* @return array
|
421 |
-
*/
|
422 |
-
public function get_item_schema() {
|
423 |
-
$schema = array(
|
424 |
-
'$schema' => 'http://json-schema.org/draft-04/schema#',
|
425 |
-
'title' => 'tax',
|
426 |
-
'type' => 'shipment_tracking',
|
427 |
-
'properties' => array(
|
428 |
-
'tracking_id' => array(
|
429 |
-
'description' => __( 'Unique identifier for shipment tracking.', 'woocommerce-shipment-tracking' ),
|
430 |
-
'type' => 'string',
|
431 |
-
'context' => array( 'view', 'edit' ),
|
432 |
-
'readonly' => true,
|
433 |
-
),
|
434 |
-
'tracking_provider' => array(
|
435 |
-
'description' => __( 'Tracking provider name.', 'woocommerce-shipment-tracking' ),
|
436 |
-
'type' => 'string',
|
437 |
-
'context' => array( 'view', 'edit' ),
|
438 |
-
'readonly' => false,
|
439 |
-
),
|
440 |
-
'custom_tracking_provider' => array(
|
441 |
-
'description' => __( 'Custom tracking provider name.', 'woocommerce-shipment-tracking' ),
|
442 |
-
'type' => 'string',
|
443 |
-
'context' => array( 'edit' ),
|
444 |
-
'readonly' => false,
|
445 |
-
),
|
446 |
-
'custom_tracking_link' => array(
|
447 |
-
'description' => __( 'Custom tracking provider link.', 'woocommerce-shipment-tracking' ),
|
448 |
-
'type' => 'url',
|
449 |
-
'context' => array( 'edit' ),
|
450 |
-
'readonly' => false,
|
451 |
-
),
|
452 |
-
'tracking_number' => array(
|
453 |
-
'description' => __( 'Tracking number.', 'woocommerce-shipment-tracking' ),
|
454 |
-
'type' => 'string',
|
455 |
-
'context' => array( 'view', 'edit' ),
|
456 |
-
'readonly' => false,
|
457 |
-
),
|
458 |
-
'date_shipped' => array(
|
459 |
-
'description' => __( 'Date when package was shipped.', 'woocommerce-shipment-tracking' ),
|
460 |
-
'type' => 'date',
|
461 |
-
'context' => array( 'view', 'edit' ),
|
462 |
-
'readonly' => false,
|
463 |
-
),
|
464 |
-
),
|
465 |
-
);
|
466 |
-
return $this->add_additional_fields_schema( $schema );
|
467 |
-
}
|
468 |
-
|
469 |
-
/**
|
470 |
-
* Get the query params for collections.
|
471 |
-
*
|
472 |
-
* @return array
|
473 |
-
*/
|
474 |
-
public function get_collection_params() {
|
475 |
-
return array(
|
476 |
-
'context' => $this->get_context_param( array( 'default' => 'view' ) ),
|
477 |
-
);
|
478 |
-
}
|
479 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/class-wc-admin-notices.php
DELETED
@@ -1,111 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
if ( ! defined( 'ABSPATH' ) ) {
|
3 |
-
exit;
|
4 |
-
}
|
5 |
-
|
6 |
-
class WC_AST_Admin_Notices_Under_WC_Admin {
|
7 |
-
|
8 |
-
/**
|
9 |
-
* Instance of this class.
|
10 |
-
*
|
11 |
-
* @var object Class Instance
|
12 |
-
*/
|
13 |
-
private static $instance;
|
14 |
-
|
15 |
-
/**
|
16 |
-
* Initialize the main plugin function
|
17 |
-
*/
|
18 |
-
public function __construct() {
|
19 |
-
$this->init();
|
20 |
-
}
|
21 |
-
|
22 |
-
/**
|
23 |
-
* Get the class instance
|
24 |
-
*
|
25 |
-
* @return WC_Advanced_Shipment_Tracking_Admin_notice
|
26 |
-
*/
|
27 |
-
public static function get_instance() {
|
28 |
-
|
29 |
-
if ( null === self::$instance ) {
|
30 |
-
self::$instance = new self();
|
31 |
-
}
|
32 |
-
|
33 |
-
return self::$instance;
|
34 |
-
}
|
35 |
-
|
36 |
-
/*
|
37 |
-
* init from parent mail class
|
38 |
-
*/
|
39 |
-
public function init() {
|
40 |
-
//add_action('init', array( $this, 'admin_notices_for_ast_pro' ) );
|
41 |
-
}
|
42 |
-
|
43 |
-
public function admin_notices_for_ast_pro() {
|
44 |
-
|
45 |
-
if ( class_exists( 'ast_pro' ) ) {
|
46 |
-
return;
|
47 |
-
}
|
48 |
-
|
49 |
-
if ( ! class_exists( 'Automattic\WooCommerce\Admin\Notes\WC_Admin_Notes' ) ) {
|
50 |
-
return;
|
51 |
-
}
|
52 |
-
|
53 |
-
$already_set = get_transient( 'ast_pro_wc_admin' );
|
54 |
-
|
55 |
-
if ( 'yes' == $already_set ) {
|
56 |
-
return;
|
57 |
-
}
|
58 |
-
|
59 |
-
set_transient( 'ast_pro_wc_admin', 'yes' );
|
60 |
-
|
61 |
-
$note_name = 'ast_pro_wc_admin_notice';
|
62 |
-
//$data_store = WC_Data_Store::load( 'admin-note' );
|
63 |
-
|
64 |
-
// Otherwise, add the note
|
65 |
-
$activated_time = current_time( 'timestamp', 0 );
|
66 |
-
$activated_time_formatted = gmdate( 'F jS', $activated_time );
|
67 |
-
$note = new Automattic\WooCommerce\Admin\Notes\WC_Admin_Note();
|
68 |
-
$note->set_title( 'Advanced Shipment Tracking PRO' );
|
69 |
-
$note->set_content( 'We just released the Advanced Shipment Tracking Pro! Upgrade now and enjoy a 20% off early bird discount. To redeem your discount, use coupon code ASTPRO20 (valid until March 31st)' );
|
70 |
-
$note->set_content_data( (object) array(
|
71 |
-
'getting_started' => true,
|
72 |
-
'activated' => $activated_time,
|
73 |
-
'activated_formatted' => $activated_time_formatted,
|
74 |
-
) );
|
75 |
-
$note->set_type( 'info' );
|
76 |
-
$note->set_image('');
|
77 |
-
$note->set_name( $note_name );
|
78 |
-
$note->set_source( 'AST Pro' );
|
79 |
-
$note->set_image('');
|
80 |
-
// This example has two actions. A note can have 0 or 1 as well.
|
81 |
-
$note->add_action(
|
82 |
-
'settings', 'Upgrade to AST Pro', 'https://www.zorem.com/product/woocommerce-advanced-shipment-tracking/'
|
83 |
-
);
|
84 |
-
$note->save();
|
85 |
-
}
|
86 |
-
}
|
87 |
-
|
88 |
-
/**
|
89 |
-
* Returns an instance of zorem_woocommerce_advanced_shipment_tracking.
|
90 |
-
*
|
91 |
-
* @since 1.6.5
|
92 |
-
* @version 1.6.5
|
93 |
-
*
|
94 |
-
* @return zorem_woocommerce_advanced_shipment_tracking
|
95 |
-
*/
|
96 |
-
function WC_AST_Admin_Notices_Under_WC_Admin() {
|
97 |
-
static $instance;
|
98 |
-
|
99 |
-
if ( ! isset( $instance ) ) {
|
100 |
-
$instance = new WC_AST_Admin_Notices_Under_WC_Admin();
|
101 |
-
}
|
102 |
-
|
103 |
-
return $instance;
|
104 |
-
}
|
105 |
-
|
106 |
-
/**
|
107 |
-
* Register this class globally.
|
108 |
-
*
|
109 |
-
* Backward compatibility.
|
110 |
-
*/
|
111 |
-
WC_AST_Admin_Notices_Under_WC_Admin();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/class-wc-advanced-shipment-tracking-admin-notice.php
DELETED
@@ -1,163 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
if ( ! defined( 'ABSPATH' ) ) {
|
3 |
-
exit;
|
4 |
-
}
|
5 |
-
|
6 |
-
class WC_Advanced_Shipment_Tracking_Admin_Notice {
|
7 |
-
|
8 |
-
/**
|
9 |
-
* Instance of this class.
|
10 |
-
*
|
11 |
-
* @var object Class Instance
|
12 |
-
*/
|
13 |
-
private static $instance;
|
14 |
-
|
15 |
-
/**
|
16 |
-
* Initialize the main plugin function
|
17 |
-
*/
|
18 |
-
public function __construct() {
|
19 |
-
$this->init();
|
20 |
-
}
|
21 |
-
|
22 |
-
/**
|
23 |
-
* Get the class instance
|
24 |
-
*
|
25 |
-
* @return WC_Advanced_Shipment_Tracking_Admin_Notice
|
26 |
-
*/
|
27 |
-
public static function get_instance() {
|
28 |
-
|
29 |
-
if ( null === self::$instance ) {
|
30 |
-
self::$instance = new self();
|
31 |
-
}
|
32 |
-
|
33 |
-
return self::$instance;
|
34 |
-
}
|
35 |
-
|
36 |
-
/*
|
37 |
-
* init from parent mail class
|
38 |
-
*/
|
39 |
-
public function init() {
|
40 |
-
add_action( 'admin_notices', array( $this, 'ast_pro_admin_notice' ) );
|
41 |
-
add_action( 'admin_init', array( $this, 'ast_pro_admin_notice_ignore' ) );
|
42 |
-
|
43 |
-
add_action( 'plugins_loaded', array( $this, 'on_plugins_loaded' ) );
|
44 |
-
}
|
45 |
-
|
46 |
-
/*
|
47 |
-
* init on plugin loaded
|
48 |
-
*/
|
49 |
-
public function on_plugins_loaded() {
|
50 |
-
|
51 |
-
$wc_ast_api_key = get_option( 'wc_ast_api_key' );
|
52 |
-
if ( $wc_ast_api_key && !function_exists( 'trackship_for_woocommerce' ) ) {
|
53 |
-
add_action( 'admin_notices', array( $this, 'ast_install_ts4wc' ) );
|
54 |
-
}
|
55 |
-
}
|
56 |
-
|
57 |
-
|
58 |
-
/*
|
59 |
-
* Display admin notice on plugin install or update
|
60 |
-
*/
|
61 |
-
public function ast_pro_admin_notice() {
|
62 |
-
|
63 |
-
if ( class_exists( 'ast_pro' ) ) {
|
64 |
-
return;
|
65 |
-
}
|
66 |
-
|
67 |
-
if ( get_option('ast_pro_1_3_4_admin_notice_ignore') ) {
|
68 |
-
return;
|
69 |
-
}
|
70 |
-
|
71 |
-
$dismissable_url = esc_url( add_query_arg( 'ast-pro-1-3-4-ignore-notice', 'true' ) );
|
72 |
-
?>
|
73 |
-
<style>
|
74 |
-
.wp-core-ui .notice.ast-dismissable-notice{
|
75 |
-
position: relative;
|
76 |
-
padding-right: 38px;
|
77 |
-
border-left-color: #005B9A;
|
78 |
-
}
|
79 |
-
.wp-core-ui .notice.ast-dismissable-notice h3{
|
80 |
-
margin-bottom: 5px;
|
81 |
-
}
|
82 |
-
.wp-core-ui .notice.ast-dismissable-notice a.notice-dismiss{
|
83 |
-
padding: 9px;
|
84 |
-
text-decoration: none;
|
85 |
-
}
|
86 |
-
.wp-core-ui .button-primary.ast_notice_btn {
|
87 |
-
background: #005B9A;
|
88 |
-
color: #fff;
|
89 |
-
border-color: #005B9A;
|
90 |
-
text-transform: uppercase;
|
91 |
-
padding: 0 11px;
|
92 |
-
font-size: 12px;
|
93 |
-
height: 30px;
|
94 |
-
line-height: 28px;
|
95 |
-
margin: 5px 0 15px;
|
96 |
-
}
|
97 |
-
</style>
|
98 |
-
<?php
|
99 |
-
if ( is_plugin_active( 'woocommerce-product-vendors/woocommerce-product-vendors.php' ) ) {
|
100 |
-
?>
|
101 |
-
<div class="notice updated notice-success ast-dismissable-notice">
|
102 |
-
<a href="<?php esc_html_e( $dismissable_url ); ?>" class="notice-dismiss"><span class="screen-reader-text">Dismiss this notice.</span></a>
|
103 |
-
<h3>AST Fulfillment manager!</h3>
|
104 |
-
<p>We noticed that you are using the WooCommerce Product Vendors plugin. The <a target="blank" href="https://www.zorem.com/product/woocommerce-advanced-shipment-tracking/">AST Fulfillment manager</a> comes with built-in integration with the Product Vendors extension. Check out <a target="blank" href="https://www.zorem.com/whats-new-in-ast-fulfillment-manager">more info</a></br>
|
105 |
-
Get a 20% discount to upgrade to the Advanced Shipment Tracking Pro! Use code <a target="blank" href="https://www.zorem.com/whats-new-in-ast-fulfillment-manager"><strong>ASTPRO20</strong></a> to redeem your discount (valid by Oct 3oth).
|
106 |
-
</p>
|
107 |
-
<a class="button-primary ast_notice_btn" target="blank" href="https://www.zorem.com/product/woocommerce-advanced-shipment-tracking/">Go Pro</a>
|
108 |
-
<a class="button-primary ast_notice_btn" href="<?php esc_html_e( $dismissable_url ); ?>">No Thanks</a>
|
109 |
-
</div>
|
110 |
-
<?php } else if ( is_plugin_active( 'woocommerce-shipstation-integration/woocommerce-shipstation.php' ) ) { ?>
|
111 |
-
<div class="notice updated notice-success ast-dismissable-notice">
|
112 |
-
<a href="<?php esc_html_e( $dismissable_url ); ?>" class="notice-dismiss"><span class="screen-reader-text">Dismiss this notice.</span></a>
|
113 |
-
<h3>AST Fulfillment manager!</h3>
|
114 |
-
<p>We noticed that you are using ShipStation to ship your orders. The <a target="blank" href="https://www.zorem.com/product/woocommerce-advanced-shipment-tracking/">AST Fulfillment manager </a> comes with built-in integration with the ShipStation extension and helps you avoid repetitively copy & paste tracking info from the order notes to the shipment tracking section.</br>
|
115 |
-
Get a 20% discount to upgrade to the Advanced Shipment Tracking Pro! Use code <a target="blank" href="https://www.zorem.com/whats-new-in-ast-fulfillment-manager"><strong>ASTPRO20</strong></a> to redeem your discount (valid by Oct 3oth).
|
116 |
-
</p>
|
117 |
-
<a class="button-primary ast_notice_btn" target="blank" href="https://www.zorem.com/product/woocommerce-advanced-shipment-tracking/">Go Pro</a>
|
118 |
-
<a class="button-primary ast_notice_btn" href="<?php esc_html_e( $dismissable_url ); ?>">No Thanks</a>
|
119 |
-
</div>
|
120 |
-
<?php } else if ( is_plugin_active( 'woocommerce-services/woocommerce-services.php' ) ) { ?>
|
121 |
-
<div class="notice updated notice-success ast-dismissable-notice">
|
122 |
-
<a href="<?php esc_html_e( $dismissable_url ); ?>" class="notice-dismiss"><span class="screen-reader-text">Dismiss this notice.</span></a>
|
123 |
-
<h3>AST Fulfillment manager!</h3>
|
124 |
-
<p>We noticed that you are using WooCommerce Shipping to ship your orders. The <a target="blank" href="https://www.zorem.com/product/woocommerce-advanced-shipment-tracking/">AST Fulfillment manager</a> comes with built-in integration with the WooCommerce Shipping & Tax extension and helps you avoid repetitively copy & paste tracking info into the shipment tracking section after generating the labels.</br>
|
125 |
-
Get a 20% discount to upgrade to the Advanced Shipment Tracking Pro! Use code <a target="blank" href="https://www.zorem.com/whats-new-in-ast-fulfillment-manager"><strong>ASTPRO20</strong></a> to redeem your discount (valid by Oct 3oth).
|
126 |
-
</p>
|
127 |
-
<a class="button-primary ast_notice_btn" target="blank" href="https://www.zorem.com/product/woocommerce-advanced-shipment-tracking/">Go Pro</a>
|
128 |
-
<a class="button-primary ast_notice_btn" href="<?php esc_html_e( $dismissable_url ); ?>">No Thanks</a>
|
129 |
-
</div>
|
130 |
-
<?php } else { ?>
|
131 |
-
<div class="notice updated notice-success ast-dismissable-notice">
|
132 |
-
<a href="<?php esc_html_e( $dismissable_url ); ?>" class="notice-dismiss"><span class="screen-reader-text">Dismiss this notice.</span></a>
|
133 |
-
<h3>AST Fulfillment manager!</h3>
|
134 |
-
<p>AST Fulfillment Manager comes with advanced features that will streamline & automate your fulfillment workflow and help keep your customers happy and informed!</br>
|
135 |
-
Get a 20% discount when you upgrade to the AST Fulfillment Manager! Use code <a target="blank" href="https://www.zorem.com/whats-new-in-ast-fulfillment-manager"><strong>ASTPRO20</strong></a> to redeem your discount (valid by Oct 3oth).
|
136 |
-
</p>
|
137 |
-
<a class="button-primary ast_notice_btn" target="blank" href="https://www.zorem.com/product/woocommerce-advanced-shipment-tracking/">Go Pro</a>
|
138 |
-
<a class="button-primary ast_notice_btn" href="<?php esc_html_e( $dismissable_url ); ?>">No Thanks</a>
|
139 |
-
</div>
|
140 |
-
<?php
|
141 |
-
}
|
142 |
-
}
|
143 |
-
|
144 |
-
/*
|
145 |
-
* Dismiss admin notice for trackship
|
146 |
-
*/
|
147 |
-
public function ast_pro_admin_notice_ignore() {
|
148 |
-
if ( isset( $_GET['ast-pro-1-3-4-ignore-notice'] ) ) {
|
149 |
-
update_option( 'ast_pro_1_3_4_admin_notice_ignore', 'true' );
|
150 |
-
}
|
151 |
-
}
|
152 |
-
|
153 |
-
/*
|
154 |
-
* Display admin notice on if Store is connected to TrackShip and TrackShip For WooCommerce plugin is not activate
|
155 |
-
*/
|
156 |
-
public function ast_install_ts4wc() {
|
157 |
-
?>
|
158 |
-
<div class="notice notice-error">
|
159 |
-
<p><strong>Please note:</strong> TrackShip's functionality was moved and now you need to also install <a href="<?php echo esc_url( admin_url( 'plugin-install.php?tab=search&s=TrackShip+For+WooCommerce&plugin-search-input=Search+Plugins' ) ); ?>" target="blank">TrackShip for WooCommerce</a> plugin. To avoid any interruptions with the service and keep tracking orders with TrackShip, please install <a href="<?php echo esc_url( admin_url( 'plugin-install.php?tab=search&s=TrackShip+For+WooCommerce&plugin-search-input=Search+Plugins' ) ); ?>" target="blank">TrackShip for WooCommerce</a> before updating to this version of the Advanced Shipment Tracking plugin.</p>
|
160 |
-
</div>
|
161 |
-
<?php
|
162 |
-
}
|
163 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/class-wc-advanced-shipment-tracking-admin.php
DELETED
@@ -1,2256 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
if ( ! defined( 'ABSPATH' ) ) {
|
3 |
-
exit;
|
4 |
-
}
|
5 |
-
|
6 |
-
class WC_Advanced_Shipment_Tracking_Admin {
|
7 |
-
|
8 |
-
/**
|
9 |
-
* Initialize the main plugin function
|
10 |
-
*/
|
11 |
-
public function __construct() {
|
12 |
-
|
13 |
-
global $wpdb;
|
14 |
-
if ( is_multisite() ) {
|
15 |
-
|
16 |
-
if ( ! function_exists( 'is_plugin_active_for_network' ) ) {
|
17 |
-
require_once( ABSPATH . '/wp-admin/includes/plugin.php' );
|
18 |
-
}
|
19 |
-
|
20 |
-
if ( is_plugin_active_for_network( 'woo-advanced-shipment-tracking/woocommerce-advanced-shipment-tracking.php' ) ) {
|
21 |
-
$main_blog_prefix = $wpdb->get_blog_prefix( BLOG_ID_CURRENT_SITE );
|
22 |
-
$this->table = $main_blog_prefix . 'woo_shippment_provider';
|
23 |
-
} else {
|
24 |
-
$this->table = $wpdb->prefix . 'woo_shippment_provider';
|
25 |
-
}
|
26 |
-
|
27 |
-
} else {
|
28 |
-
$this->table = $wpdb->prefix . 'woo_shippment_provider';
|
29 |
-
}
|
30 |
-
|
31 |
-
}
|
32 |
-
|
33 |
-
/**
|
34 |
-
* Instance of this class.
|
35 |
-
*
|
36 |
-
* @var object Class Instance
|
37 |
-
*/
|
38 |
-
private static $instance;
|
39 |
-
|
40 |
-
/**
|
41 |
-
* Get the class instance
|
42 |
-
*
|
43 |
-
* @return WC_Advanced_Shipment_Tracking_Admin
|
44 |
-
*/
|
45 |
-
public static function get_instance() {
|
46 |
-
|
47 |
-
if ( null === self::$instance ) {
|
48 |
-
self::$instance = new self();
|
49 |
-
}
|
50 |
-
|
51 |
-
return self::$instance;
|
52 |
-
}
|
53 |
-
|
54 |
-
/*
|
55 |
-
* init from parent mail class
|
56 |
-
*/
|
57 |
-
public function init() {
|
58 |
-
|
59 |
-
// add bulk order tracking number filter for exported / non-exported orders
|
60 |
-
add_filter( 'woocommerce_shop_order_search_fields', array( $this, 'filter_orders_by_tracking_number_query' ) );
|
61 |
-
|
62 |
-
// add bulk order filter for exported / non-exported orders
|
63 |
-
add_action( 'restrict_manage_posts', array( $this, 'filter_orders_by_shipping_provider'), 20 );
|
64 |
-
add_filter( 'request', array( $this, 'filter_orders_by_shipping_provider_query' ) );
|
65 |
-
|
66 |
-
add_filter( 'woocommerce_email_title', array( $this, 'change_completed_woocommerce_email_title'), 10, 2 );
|
67 |
-
|
68 |
-
add_action( 'wp_ajax_wc_ast_upload_csv_form_update', array( $this, 'upload_tracking_csv_fun') );
|
69 |
-
|
70 |
-
add_action( 'admin_footer', array( $this, 'footer_function'), 1 );
|
71 |
-
|
72 |
-
add_filter( 'woocommerce_admin_order_actions', array( $this, 'add_delivered_order_status_actions_button'), 100, 2 );
|
73 |
-
|
74 |
-
//Shipping Provider Action
|
75 |
-
add_action( 'wp_ajax_filter_shipiing_provider_by_status', array( $this, 'filter_shipiing_provider_by_status_fun') );
|
76 |
-
|
77 |
-
add_action( 'wp_ajax_get_provider_details', array( $this, 'get_provider_details_fun') );
|
78 |
-
|
79 |
-
add_action( 'wp_ajax_update_custom_shipment_provider', array( $this, 'update_custom_shipment_provider_fun') );
|
80 |
-
|
81 |
-
add_action( 'wp_ajax_reset_default_provider', array( $this, 'reset_default_provider_fun') );
|
82 |
-
|
83 |
-
add_action( 'wp_ajax_woocommerce_shipping_provider_delete', array( $this, 'woocommerce_shipping_provider_delete' ) );
|
84 |
-
|
85 |
-
add_action( 'wp_ajax_update_provider_status', array( $this, 'update_provider_status_fun') );
|
86 |
-
|
87 |
-
add_action( 'wp_ajax_reset_shipping_providers_database', array( $this, 'reset_shipping_providers_database_fun') );
|
88 |
-
|
89 |
-
add_action( 'wp_ajax_update_default_provider', array( $this, 'update_default_provider_fun') );
|
90 |
-
|
91 |
-
add_action( 'wp_ajax_update_shipment_status', array( $this, 'update_shipment_status_fun') );
|
92 |
-
|
93 |
-
add_action( 'update_order_status_after_adding_tracking', array( $this, 'update_order_status_after_adding_tracking'), 10, 2 );
|
94 |
-
|
95 |
-
add_action( 'add_more_api_provider', array( $this, 'add_more_api_provider' ) );
|
96 |
-
}
|
97 |
-
|
98 |
-
/*
|
99 |
-
* Get shipped orders
|
100 |
-
*/
|
101 |
-
public function get_shipped_orders() {
|
102 |
-
$range = get_option( 'wc_ast_api_date_range', 30 );
|
103 |
-
$args = array(
|
104 |
-
'status' => 'wc-completed',
|
105 |
-
'limit' => -1,
|
106 |
-
);
|
107 |
-
|
108 |
-
if ( 0 != $range ) {
|
109 |
-
$start = strtotime( gmdate( 'Y-m-d 00:00:00', strtotime( '-' . $range . ' days' ) ) );
|
110 |
-
$end = strtotime( gmdate( 'Y-m-d 23:59:59', strtotime( '-1 days' ) ) );
|
111 |
-
$args['date_completed'] = $start . ' ... ' . $end;
|
112 |
-
}
|
113 |
-
|
114 |
-
return wc_get_orders( $args );
|
115 |
-
}
|
116 |
-
|
117 |
-
/**
|
118 |
-
* Load admin styles.
|
119 |
-
*/
|
120 |
-
public function admin_styles( $hook ) {
|
121 |
-
|
122 |
-
if ( !isset( $_GET['page'] ) ) {
|
123 |
-
return;
|
124 |
-
}
|
125 |
-
|
126 |
-
if ( 'woocommerce-advanced-shipment-tracking' != $_GET['page'] ) {
|
127 |
-
return;
|
128 |
-
}
|
129 |
-
|
130 |
-
$suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
|
131 |
-
|
132 |
-
wp_register_script( 'select2', WC()->plugin_url() . '/assets/js/select2/select2.full' . $suffix . '.js', array( 'jquery' ), '4.0.3' );
|
133 |
-
wp_enqueue_script( 'select2');
|
134 |
-
|
135 |
-
wp_enqueue_style( 'ast_styles', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/admin.css', array(), wc_advanced_shipment_tracking()->version );
|
136 |
-
|
137 |
-
wp_enqueue_script( 'woocommerce-advanced-shipment-tracking-js', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/js/admin.js', array( 'jquery' ), wc_advanced_shipment_tracking()->version, true );
|
138 |
-
|
139 |
-
wp_register_script( 'selectWoo', WC()->plugin_url() . '/assets/js/selectWoo/selectWoo.full' . $suffix . '.js', array( 'jquery' ), '1.0.4' );
|
140 |
-
wp_register_script( 'wc-enhanced-select', WC()->plugin_url() . '/assets/js/admin/wc-enhanced-select' . $suffix . '.js', array( 'jquery', 'selectWoo' ), WC_VERSION );
|
141 |
-
wp_register_script( 'jquery-blockui', WC()->plugin_url() . '/assets/js/jquery-blockui/jquery.blockUI' . $suffix . '.js', array( 'jquery' ), '2.70', true );
|
142 |
-
|
143 |
-
wp_enqueue_script( 'selectWoo' );
|
144 |
-
wp_enqueue_script( 'wc-enhanced-select' );
|
145 |
-
|
146 |
-
wp_register_style( 'woocommerce_admin_styles', WC()->plugin_url() . '/assets/css/admin.css', array(), WC_VERSION );
|
147 |
-
wp_enqueue_style( 'woocommerce_admin_styles' );
|
148 |
-
wp_enqueue_style( 'wp-color-picker' );
|
149 |
-
|
150 |
-
wp_register_script( 'jquery-tiptip', WC()->plugin_url() . '/assets/js/jquery-tiptip/jquery.tipTip.min.js', array( 'jquery' ), WC_VERSION, true );
|
151 |
-
|
152 |
-
wp_enqueue_script( 'jquery-tiptip' );
|
153 |
-
wp_enqueue_script( 'jquery-blockui' );
|
154 |
-
wp_enqueue_script( 'wp-color-picker' );
|
155 |
-
|
156 |
-
wp_enqueue_script( 'ajax-queue', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/js/jquery.ajax.queue.js', array( 'jquery' ), wc_advanced_shipment_tracking()->version );
|
157 |
-
|
158 |
-
wp_enqueue_script( 'ast_settings', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/js/settings.js', array( 'jquery' ), wc_advanced_shipment_tracking()->version );
|
159 |
-
|
160 |
-
wp_enqueue_script( 'ast_hip', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/js/hip.js', array( 'jquery' ), wc_advanced_shipment_tracking()->version );
|
161 |
-
|
162 |
-
wp_register_script( 'shipment_tracking_table_rows', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/js/shipping_row.js' , array( 'jquery', 'wp-util' ), wc_advanced_shipment_tracking()->version );
|
163 |
-
|
164 |
-
wp_localize_script( 'shipment_tracking_table_rows', 'shipment_tracking_table_rows', array(
|
165 |
-
'i18n' => array(
|
166 |
-
'data_saved' => __( 'Data saved successfully.', 'woo-advanced-shipment-tracking' ),
|
167 |
-
'delete_provider' => __( 'Really delete this entry? This will not be undo.', 'woo-advanced-shipment-tracking' ),
|
168 |
-
'upload_only_csv_file' => __( 'You can upload only csv file.', 'woo-advanced-shipment-tracking' ),
|
169 |
-
'browser_not_html' => __( 'This browser does not support HTML5.', 'woo-advanced-shipment-tracking' ),
|
170 |
-
'upload_valid_csv_file' => __( 'Please upload a valid CSV file.', 'woo-advanced-shipment-tracking' ),
|
171 |
-
),
|
172 |
-
'delete_rates_nonce' => wp_create_nonce( 'delete-rate' ),
|
173 |
-
) );
|
174 |
-
wp_enqueue_media();
|
175 |
-
}
|
176 |
-
|
177 |
-
/*
|
178 |
-
* Admin Menu add function
|
179 |
-
* WC sub menu
|
180 |
-
*/
|
181 |
-
public function register_woocommerce_menu() {
|
182 |
-
add_submenu_page( 'woocommerce', 'Shipment Tracking', __( 'Shipment Tracking', 'woo-advanced-shipment-tracking' ), 'manage_woocommerce', 'woocommerce-advanced-shipment-tracking', array( $this, 'woocommerce_advanced_shipment_tracking_page_callback' ) );
|
183 |
-
}
|
184 |
-
|
185 |
-
/*
|
186 |
-
* callback for Shipment Tracking page
|
187 |
-
*/
|
188 |
-
public function woocommerce_advanced_shipment_tracking_page_callback() {
|
189 |
-
|
190 |
-
global $order, $wpdb;
|
191 |
-
$WC_Countries = new WC_Countries();
|
192 |
-
$countries = $WC_Countries->get_countries();
|
193 |
-
|
194 |
-
$default_shippment_providers = $wpdb->get_results( "SELECT * FROM {$this->table} ORDER BY shipping_default ASC, display_in_order DESC, trackship_supported DESC, id ASC" );
|
195 |
-
|
196 |
-
foreach ( $default_shippment_providers as $key => $value ) {
|
197 |
-
$search = array('(US)', '(UK)');
|
198 |
-
$replace = array('', '');
|
199 |
-
|
200 |
-
if ( $value->shipping_country && 'Global' != $value->shipping_country ) {
|
201 |
-
$country = str_replace( $search, $replace, $WC_Countries->countries[ $value->shipping_country ] );
|
202 |
-
$default_shippment_providers[ $key ]->country = $country;
|
203 |
-
} elseif ( $value->shipping_country && 'Global' == $value->shipping_country ) {
|
204 |
-
$default_shippment_providers[ $key ]->country = 'Global';
|
205 |
-
}
|
206 |
-
}
|
207 |
-
|
208 |
-
wp_enqueue_script( 'shipment_tracking_table_rows' );
|
209 |
-
?>
|
210 |
-
|
211 |
-
<div class="zorem-layout">
|
212 |
-
<?php do_action( 'ast_settings_admin_notice' ); ?>
|
213 |
-
<div class="zorem-layout__header">
|
214 |
-
<h1 class="page_heading">
|
215 |
-
<a href="javascript:void(0)"><?php esc_html_e( 'Shipment Tracking', 'woo-advanced-shipment-tracking' ); ?></a> <span class="dashicons dashicons-arrow-right-alt2"></span> <span class="breadcums_page_heading"><?php esc_html_e( 'Settings', 'woo-advanced-shipment-tracking' ); ?></span>
|
216 |
-
</h1>
|
217 |
-
<img class="zorem-layout__header-logo" src="<?php echo esc_url( wc_advanced_shipment_tracking()->plugin_dir_url() ); ?>assets/images/ast-logo.png">
|
218 |
-
</div>
|
219 |
-
<div class="woocommerce zorem_admin_layout">
|
220 |
-
<div class="ast_admin_content zorem_admin_settings">
|
221 |
-
<?php include 'views/activity_panel.php'; ?>
|
222 |
-
<div class="ast_nav_div">
|
223 |
-
<?php
|
224 |
-
$this->get_html_menu_tab( $this->get_ast_tab_settings_data() );
|
225 |
-
?>
|
226 |
-
<div class="menu_devider"></div>
|
227 |
-
<?php
|
228 |
-
require_once( 'views/admin_options_shipping_provider.php' );
|
229 |
-
require_once( 'views/admin_options_settings.php' );
|
230 |
-
require_once( 'views/admin_options_bulk_upload.php' );
|
231 |
-
require_once( 'views/integrations_admin_options.php' );
|
232 |
-
do_action( 'ast_paypal_settings_panel' );
|
233 |
-
require_once( 'views/admin_options_addons.php' );
|
234 |
-
include 'views/admin_options_trackship_integration.php';
|
235 |
-
?>
|
236 |
-
</div>
|
237 |
-
</div>
|
238 |
-
</div>
|
239 |
-
</div>
|
240 |
-
<div id="" class="popupwrapper upgrade_to_pro_popup" style="display:none;">
|
241 |
-
<div class="popuprow">
|
242 |
-
<div class="popup_body">
|
243 |
-
<h2 class="upgrade_title">Upgrade to AST PRO</h2>
|
244 |
-
<ul class="ast_pro_features_list">
|
245 |
-
<li>Premium Support</li>
|
246 |
-
<li>Tracking per item</li>
|
247 |
-
<li>Fully customizable responsive tracking widget</li>
|
248 |
-
<li>Custom order status "Shipped"</li>
|
249 |
-
<li>Custom email templates</li>
|
250 |
-
<li>PayPal tracking integration</li>
|
251 |
-
<li>Fulfillment dashboard</li>
|
252 |
-
<li>Auto-detect shipping providers</li>
|
253 |
-
<li>Tracking automation - Built-in integrations with ShipStation, Ordoro, WooCommerce Shipping and more..</li>
|
254 |
-
</ul>
|
255 |
-
<a href="https://www.zorem.com/product/woocommerce-advanced-shipment-tracking/" class="button-primary btn_ast2 btn_large" target="_blank">UPGRADE TO PRO</a>
|
256 |
-
</div>
|
257 |
-
</div>
|
258 |
-
<div class="popupclose"></div>
|
259 |
-
</div>
|
260 |
-
<?php
|
261 |
-
}
|
262 |
-
|
263 |
-
/*
|
264 |
-
* callback for Shipment Tracking menu array
|
265 |
-
*/
|
266 |
-
public function get_ast_tab_settings_data() {
|
267 |
-
|
268 |
-
$ast_customizer_settings = new wcast_initialise_customizer_settings();
|
269 |
-
$go_pro_label = class_exists( 'ast_pro' ) ? __( 'License', 'woo-advanced-shipment-tracking' ) : __( 'Go Pro', 'woo-advanced-shipment-tracking' ) ;
|
270 |
-
|
271 |
-
$wc_ast_api_key = get_option('wc_ast_api_key');
|
272 |
-
$ts4wc_installed = ( function_exists( 'trackship_for_woocommerce' ) ) ? true : false;
|
273 |
-
$trackship_display = ( !$wc_ast_api_key && !$ts4wc_installed ) ? true : false ;
|
274 |
-
|
275 |
-
$setting_data = array(
|
276 |
-
'tab2' => array(
|
277 |
-
'title' => __( 'Settings', 'woo-advanced-shipment-tracking' ),
|
278 |
-
'show' => true,
|
279 |
-
'class' => 'tab_label first_label',
|
280 |
-
'data-tab' => 'settings',
|
281 |
-
'data-label' => __( 'Settings', 'woo-advanced-shipment-tracking' ),
|
282 |
-
'name' => 'tabs',
|
283 |
-
'position' => 1,
|
284 |
-
),
|
285 |
-
/*'customize' => array(
|
286 |
-
'title' => __( 'Customizer', 'woo-advanced-shipment-tracking' ),
|
287 |
-
'type' => 'link',
|
288 |
-
'link' => $ast_customizer_settings->get_customizer_url( 'ast_tracking_general_section', 'settings' ),
|
289 |
-
'show' => true,
|
290 |
-
'class' => 'tab_label',
|
291 |
-
'data-tab' => 'trackship',
|
292 |
-
'data-label' => __( 'Customize', 'woo-advanced-shipment-tracking' ),
|
293 |
-
'name' => 'tabs',
|
294 |
-
'position' => 3,
|
295 |
-
),*/
|
296 |
-
'tab1' => array(
|
297 |
-
'title' => __( 'Shipping Providers', 'woo-advanced-shipment-tracking' ),
|
298 |
-
'show' => true,
|
299 |
-
'class' => 'tab_label',
|
300 |
-
'data-tab' => 'shipping-providers',
|
301 |
-
'data-label' => __( 'Shipping Providers', 'woo-advanced-shipment-tracking' ),
|
302 |
-
'name' => 'tabs',
|
303 |
-
'position' => 2,
|
304 |
-
),
|
305 |
-
'tab4' => array(
|
306 |
-
'title' => __( 'CSV Import', 'woo-advanced-shipment-tracking' ),
|
307 |
-
'show' => true,
|
308 |
-
'class' => 'tab_label',
|
309 |
-
'data-tab' => 'bulk-upload',
|
310 |
-
'data-label' => __( 'CSV Import', 'woo-advanced-shipment-tracking' ),
|
311 |
-
'name' => 'tabs',
|
312 |
-
'position' => 4,
|
313 |
-
),
|
314 |
-
'integrations_tab' => array(
|
315 |
-
'title' => __( 'Integrations', 'woo-advanced-shipment-tracking' ),
|
316 |
-
'show' => true,
|
317 |
-
'class' => 'tab_label',
|
318 |
-
'data-tab' => 'integrations',
|
319 |
-
'data-label' => 'Integrations',
|
320 |
-
'name' => 'tabs',
|
321 |
-
),
|
322 |
-
'trackship' => array(
|
323 |
-
'title' => 'TrackShip',
|
324 |
-
'show' => $trackship_display,
|
325 |
-
'class' => 'tab_label',
|
326 |
-
'data-tab' => 'trackship',
|
327 |
-
'data-label' => 'TrackShip',
|
328 |
-
'name' => 'tabs',
|
329 |
-
'position' => 4,
|
330 |
-
),
|
331 |
-
'tab6' => array(
|
332 |
-
'title' => $go_pro_label,
|
333 |
-
'show' => true,
|
334 |
-
'class' => 'tab_label',
|
335 |
-
'data-tab' => 'addons',
|
336 |
-
'data-label' => $go_pro_label,
|
337 |
-
'name' => 'tabs',
|
338 |
-
'position' => 5,
|
339 |
-
),
|
340 |
-
);
|
341 |
-
return apply_filters( 'ast_menu_tab_options', $setting_data );
|
342 |
-
}
|
343 |
-
|
344 |
-
/*
|
345 |
-
* callback for Shipment Tracking general settings data
|
346 |
-
*/
|
347 |
-
public function get_ast_tab_general_settings_data() {
|
348 |
-
$setting_data = array(
|
349 |
-
'tab_general_settings' => array(
|
350 |
-
'title' => __( 'General Settings', 'woo-advanced-shipment-tracking' ),
|
351 |
-
'show' => true,
|
352 |
-
'class' => 'inner_tab_label',
|
353 |
-
'data-tab' => 'general-settings',
|
354 |
-
'data-label' => __( 'General Settings', 'woo-advanced-shipment-tracking' ),
|
355 |
-
'name' => 'ast_generatral_settings_tabs',
|
356 |
-
'position' => 1,
|
357 |
-
),
|
358 |
-
'tab_order_status' => array(
|
359 |
-
'title' => __( 'Order Statuses', 'woo-advanced-shipment-tracking' ),
|
360 |
-
'show' => true,
|
361 |
-
'class' => 'inner_tab_label',
|
362 |
-
'data-tab' => 'order-status',
|
363 |
-
'data-label' => __( 'Order Statuses', 'woo-advanced-shipment-tracking' ),
|
364 |
-
'name' => 'ast_generatral_settings_tabs',
|
365 |
-
'position' => 1,
|
366 |
-
),
|
367 |
-
);
|
368 |
-
return apply_filters( 'ast_general_settings_tab_options', $setting_data );
|
369 |
-
}
|
370 |
-
|
371 |
-
/*
|
372 |
-
* functions for add integrations options in AST settings
|
373 |
-
*/
|
374 |
-
public function integrations_settings_options() {
|
375 |
-
|
376 |
-
$form_data = array(
|
377 |
-
'enable_ordoro_integration' => array(
|
378 |
-
'type' => 'tgl_checkbox',
|
379 |
-
'title' => __( 'Enable the Ordoro tracking integration', 'ast-pro' ),
|
380 |
-
'desc' => __( 'Adding tracking information to your orders when generating shipping labels using the Ordoro', 'ast-pro' ),
|
381 |
-
'img' => 'ordoro.png',
|
382 |
-
'show' => true,
|
383 |
-
'default' => 1,
|
384 |
-
'disabled' => true,
|
385 |
-
'class' => '',
|
386 |
-
),
|
387 |
-
'enable_cartrover_integration' => array(
|
388 |
-
'type' => 'tgl_checkbox',
|
389 |
-
'title' => __( 'Enable the CartRover tracking integration', 'ast-pro' ),
|
390 |
-
'desc' => __( 'Adding tracking information to your orders when generating shipping labels using the CartRover', 'ast-pro' ),
|
391 |
-
'img' => 'cart-rover.png',
|
392 |
-
'show' => true,
|
393 |
-
'default' => 1,
|
394 |
-
'disabled' => true,
|
395 |
-
'class' => '',
|
396 |
-
),
|
397 |
-
'enable_shipstation_integration' => array(
|
398 |
-
'type' => 'tgl_checkbox',
|
399 |
-
'title' => __( 'Enable the ShipStation integration', 'woo-advanced-shipment-tracking' ),
|
400 |
-
'desc' => __( 'Adding tracking information to your orders shipped with ShipStation and automate your workflow', 'woo-advanced-shipment-tracking' ),
|
401 |
-
'img' => 'shipstation.png',
|
402 |
-
'show' => true,
|
403 |
-
'default' => 0,
|
404 |
-
'disabled' => true,
|
405 |
-
'class' => '',
|
406 |
-
),
|
407 |
-
'enable_wc_shipping_integration' => array(
|
408 |
-
'type' => 'tgl_checkbox',
|
409 |
-
'title' => __( 'Enable the WC Shipping integration', 'woo-advanced-shipment-tracking' ),
|
410 |
-
'desc' => __( 'Adding tracking information to your orders shipped with WooCommerce Shipping to the Shipment Tracking and automate your workflow', 'woo-advanced-shipment-tracking' ),
|
411 |
-
'img' => 'woo-shipping.png',
|
412 |
-
'show' => true,
|
413 |
-
'default' => 0,
|
414 |
-
'disabled' => true,
|
415 |
-
'class' => '',
|
416 |
-
),
|
417 |
-
'enable_ups_shipping_label_pluginhive' => array(
|
418 |
-
'type' => 'tgl_checkbox',
|
419 |
-
'title' => __( 'Enable the WooCommerce UPS Shipping Plugin with Print Label plugin integration', 'woo-advanced-shipment-tracking' ),
|
420 |
-
'desc' => __( 'Adding tracking information to your orders when generating shipping labels using the WooCommerce UPS Shipping Plugin with Print Label plugin by PluginHive', 'woo-advanced-shipment-tracking' ),
|
421 |
-
'img' => 'woo-UPS-shipping.png',
|
422 |
-
'show' => true,
|
423 |
-
'default' => 0,
|
424 |
-
'disabled' => true,
|
425 |
-
'class' => '',
|
426 |
-
),
|
427 |
-
'enable_ordoro_integration' => array(
|
428 |
-
'type' => 'tgl_checkbox',
|
429 |
-
'title' => __( 'Enable the Ordoro tracking integration', 'woo-advanced-shipment-tracking' ),
|
430 |
-
'desc' => __( 'Adding tracking information to your orders when generating shipping labels using the Ordoro', 'woo-advanced-shipment-tracking' ),
|
431 |
-
'img' => 'ordoro.png',
|
432 |
-
'show' => true,
|
433 |
-
'default' => 0,
|
434 |
-
'disabled' => true,
|
435 |
-
'class' => '',
|
436 |
-
),
|
437 |
-
'enable_quickbooks_commerce_integration' => array(
|
438 |
-
'type' => 'tgl_checkbox',
|
439 |
-
'title' => __( 'Enable the QuickBooks Commerce (formerly TradeGecko) Integrations', 'woo-advanced-shipment-tracking' ),
|
440 |
-
'desc' => __( 'Adding tracking information to your orders shipped with QuickBooks Commerce and automate your workflow', 'woo-advanced-shipment-tracking' ),
|
441 |
-
'img' => 'quickbooks.png',
|
442 |
-
'show' => true,
|
443 |
-
'default' => 0,
|
444 |
-
'disabled' => true,
|
445 |
-
'class' => '',
|
446 |
-
),
|
447 |
-
'enable_readytoship_integration' => array(
|
448 |
-
'type' => 'tgl_checkbox',
|
449 |
-
'title' => __( 'Enable the ReadyToShip integration', 'woo-advanced-shipment-tracking' ),
|
450 |
-
'desc' => __( 'Adding tracking information to your orders shipped with ReadyToShip and automate your workflow', 'woo-advanced-shipment-tracking' ),
|
451 |
-
'img' => 'readytoship.png',
|
452 |
-
'show' => true,
|
453 |
-
'default' => 0,
|
454 |
-
'disabled' => true,
|
455 |
-
'class' => '',
|
456 |
-
),
|
457 |
-
'enable_royalmail_integration' => array(
|
458 |
-
'type' => 'tgl_checkbox',
|
459 |
-
'title' => __( 'Enable the Royal Mail Click & Drop integration', 'woo-advanced-shipment-tracking' ),
|
460 |
-
'desc' => __( 'Adding tracking information to your orders shipped with Royal Mail Click & Drop and automate your workflow', 'woo-advanced-shipment-tracking' ),
|
461 |
-
'img' => 'royal-mail.png',
|
462 |
-
'show' => true,
|
463 |
-
'default' => 0,
|
464 |
-
'disabled' => true,
|
465 |
-
'class' => '',
|
466 |
-
),
|
467 |
-
'enable_customcat_integration' => array(
|
468 |
-
'type' => 'tgl_checkbox',
|
469 |
-
'title' => __( 'Enable the CustomCat integration', 'woo-advanced-shipment-tracking' ),
|
470 |
-
'desc' => __( 'Adding tracking information to your orders shipped with CustomCat and automate your workflow', 'woo-advanced-shipment-tracking' ),
|
471 |
-
'img' => 'customcat.png',
|
472 |
-
'show' => true,
|
473 |
-
'default' => 0,
|
474 |
-
'disabled' => true,
|
475 |
-
'class' => '',
|
476 |
-
),
|
477 |
-
'enable_dear_inventory_integration' => array(
|
478 |
-
'type' => 'tgl_checkbox',
|
479 |
-
'title' => __( 'Enable the Dear Systems integration', 'woo-advanced-shipment-tracking' ),
|
480 |
-
'desc' => __( 'Adding tracking information to your orders shipped with Dear Systems and automate your workflow', 'woo-advanced-shipment-tracking' ),
|
481 |
-
'img' => 'dear-system.png',
|
482 |
-
'show' => true,
|
483 |
-
'default' => 0,
|
484 |
-
'disabled' => true,
|
485 |
-
'class' => '',
|
486 |
-
),
|
487 |
-
'enable_printify_integration' => array(
|
488 |
-
'type' => 'tgl_checkbox',
|
489 |
-
'title' => __( 'Enable the Printify integration', 'woo-advanced-shipment-tracking' ),
|
490 |
-
'desc' => __( 'Adding tracking information to your orders shipped with Printify and automate your workflow', 'woo-advanced-shipment-tracking' ),
|
491 |
-
'img' => 'printify.png',
|
492 |
-
'show' => true,
|
493 |
-
'default' => 0,
|
494 |
-
'disabled' => true,
|
495 |
-
'class' => '',
|
496 |
-
),
|
497 |
-
'enable_picqer_integration' => array(
|
498 |
-
'type' => 'tgl_checkbox',
|
499 |
-
'title' => __( 'Enable the Picqer integration', 'woo-advanced-shipment-tracking' ),
|
500 |
-
'desc' => __( 'Adding tracking information to your orders shipped with Picqer and automate your workflow', 'woo-advanced-shipment-tracking' ),
|
501 |
-
'img' => 'picqer.png',
|
502 |
-
'show' => true,
|
503 |
-
'default' => 0,
|
504 |
-
'disabled' => true,
|
505 |
-
'class' => '',
|
506 |
-
),
|
507 |
-
'enable_3plwinner_integration' => array(
|
508 |
-
'type' => 'tgl_checkbox',
|
509 |
-
'title' => __( 'Enable the 3plwinner integration', 'woo-advanced-shipment-tracking' ),
|
510 |
-
'desc' => __( 'Adding tracking information to your orders shipped with 3plwinner and automate your workflow', 'woo-advanced-shipment-tracking' ),
|
511 |
-
'img' => '3plwinner.png',
|
512 |
-
'show' => true,
|
513 |
-
'default' => 0,
|
514 |
-
'disabled' => true,
|
515 |
-
'class' => '',
|
516 |
-
),
|
517 |
-
'enable_dianxiaomi_integration' => array(
|
518 |
-
'type' => 'tgl_checkbox',
|
519 |
-
'title' => __( 'Enable the Dianxiaomi integration', 'woo-advanced-shipment-tracking' ),
|
520 |
-
'desc' => __( 'Adding tracking information to your orders shipped with Dianxiaomi and automate your workflow', 'woo-advanced-shipment-tracking' ),
|
521 |
-
'img' => 'dianxiaomi.png',
|
522 |
-
'show' => true,
|
523 |
-
'default' => 0,
|
524 |
-
'disabled' => true,
|
525 |
-
'class' => '',
|
526 |
-
),
|
527 |
-
'enable_eiz_integration' => array(
|
528 |
-
'type' => 'tgl_checkbox',
|
529 |
-
'title' => __( 'Enable the EIZ integration', 'woo-advanced-shipment-tracking' ),
|
530 |
-
'desc' => __( 'Adding tracking information to your orders shipped with EIZ and automate your workflow', 'woo-advanced-shipment-tracking' ),
|
531 |
-
'img' => 'eiz.png',
|
532 |
-
'show' => true,
|
533 |
-
'default' => 0,
|
534 |
-
'disabled' => true,
|
535 |
-
'class' => '',
|
536 |
-
),
|
537 |
-
'enable_ali2woo_integration' => array(
|
538 |
-
'type' => 'tgl_checkbox',
|
539 |
-
'title' => __( 'Enable the AliExpress Dropshipping integration', 'woo-advanced-shipment-tracking' ),
|
540 |
-
'desc' => __( 'Add Tracking Information in AST meta fields when you automatically sync tracking numbers from aliexpress orders', 'woo-advanced-shipment-tracking' ),
|
541 |
-
'img' => 'aliexpress.png',
|
542 |
-
'show' => true,
|
543 |
-
'default' => 0,
|
544 |
-
'disabled' => true,
|
545 |
-
'class' => '',
|
546 |
-
),
|
547 |
-
'enable_pdf_invoice_integration_ewout' => array(
|
548 |
-
'type' => 'tgl_checkbox',
|
549 |
-
'title' => __( 'PDF invoices integration for WooCommerce PDF Invoices & Packing Slips plugin By Ewout Fernhout', 'woo-advanced-shipment-tracking' ),
|
550 |
-
'desc' => __( 'Add tracking information in invoice PDF generate by WooCommerce PDF Invoices & Packing Slips plugin By Ewout Fernhout', 'woo-advanced-shipment-tracking' ),
|
551 |
-
'img' => 'WooCommerce-PDF-Invoices-Packing-Slips.png',
|
552 |
-
'show' => true,
|
553 |
-
'default' => 0,
|
554 |
-
'disabled' => true,
|
555 |
-
'class' => '',
|
556 |
-
),
|
557 |
-
'enable_pdf_invoice_integration_bas' => array(
|
558 |
-
'type' => 'tgl_checkbox',
|
559 |
-
'title' => __( 'PDF invoices integration for WooCommerce PDF Invoices plugin By Bas Elbers', 'woo-advanced-shipment-tracking' ),
|
560 |
-
'desc' => __( 'Add tracking information in invoice PDF generate by WooCommerce PDF Invoices plugin By Bas Elbers', 'woo-advanced-shipment-tracking' ),
|
561 |
-
'img' => 'WooCommerce-PDF-Invoices.png',
|
562 |
-
'show' => true,
|
563 |
-
'default' => 0,
|
564 |
-
'disabled' => true,
|
565 |
-
'class' => '',
|
566 |
-
),
|
567 |
-
);
|
568 |
-
|
569 |
-
return $form_data;
|
570 |
-
}
|
571 |
-
|
572 |
-
/*
|
573 |
-
* callback for HTML function for Shipment Tracking menu
|
574 |
-
*/
|
575 |
-
public function get_html_menu_tab( $arrays, $tab_class = 'tab_input' ) {
|
576 |
-
|
577 |
-
$tab = isset( $_GET['tab'] ) ? sanitize_text_field( $_GET['tab'] ) : 'settings';
|
578 |
-
$settings = isset( $_GET['settings'] ) ? sanitize_text_field( $_GET['settings'] ) : 'general-settings';
|
579 |
-
|
580 |
-
foreach ( (array) $arrays as $id => $array ) {
|
581 |
-
$checked = ( $tab == $array['data-tab'] || $settings == $array['data-tab'] ) ? 'checked' : '';
|
582 |
-
if ( $array['show'] ) {
|
583 |
-
if ( isset( $array['type'] ) && 'link' == $array['type'] ) {
|
584 |
-
?>
|
585 |
-
<a class="menu_link" href="<?php esc_html_e( esc_url( $array['link'] ) ); ?>"><?php esc_html_e( $array['title'] ); ?></a>
|
586 |
-
<?php
|
587 |
-
} else {
|
588 |
-
?>
|
589 |
-
<input class="<?php esc_html_e( $tab_class ); ?>" id="<?php esc_html_e( $id ); ?>" name="<?php esc_html_e( $array['name'] ); ?>" type="radio" data-tab="<?php esc_html_e( $array['data-tab'] ); ?>" data-label="<?php esc_html_e( $array['data-label'] ); ?>" <?php esc_html_e( $checked ); ?>/>
|
590 |
-
<label class="<?php esc_html_e( $array['class'] ); ?>" for="<?php esc_html_e( $id ); ?>"><?php esc_html_e( $array['title'] ); ?></label>
|
591 |
-
<?php
|
592 |
-
}
|
593 |
-
}
|
594 |
-
}
|
595 |
-
}
|
596 |
-
|
597 |
-
/*
|
598 |
-
* get UL html of fields
|
599 |
-
*/
|
600 |
-
public function get_html_ul( $arrays ) {
|
601 |
-
?>
|
602 |
-
<ul class="settings_ul">
|
603 |
-
<?php
|
604 |
-
foreach ( (array) $arrays as $id => $array ) {
|
605 |
-
|
606 |
-
if ( $array['show'] ) {
|
607 |
-
|
608 |
-
if ( 'checkbox' == $array['type'] ) {
|
609 |
-
$default = isset( $array['default'] ) ? $array['default'] : '';
|
610 |
-
$checked = ( get_option( $id, $default ) ) ? 'checked' : '' ;
|
611 |
-
?>
|
612 |
-
<li>
|
613 |
-
<input type="hidden" name="<?php esc_html_e( $id ); ?>" value="0"/>
|
614 |
-
<input class="" id="<?php esc_html_e( $id ); ?>" name="<?php esc_html_e( $id ); ?>" type="checkbox" <?php esc_html_e( $checked ); ?> value="1"/>
|
615 |
-
|
616 |
-
<label class="setting_ul_checkbox_label"><?php esc_html_e( $array['title'] ); ?>
|
617 |
-
<?php if ( isset( $array['tooltip'] ) ) { ?>
|
618 |
-
<span class="woocommerce-help-tip tipTip" title="<?php esc_html_e( $array['tooltip'] ); ?>"></span>
|
619 |
-
<?php } ?>
|
620 |
-
</label>
|
621 |
-
</li>
|
622 |
-
<?php
|
623 |
-
} else if ( 'tgl_checkbox' == $array['type'] ) {
|
624 |
-
$default = isset( $array['default'] ) ? $array['default'] : '';
|
625 |
-
$checked = ( get_option( $id, $default ) ) ? 'checked' : '' ;
|
626 |
-
$tgl_class = isset( $array['tgl_color'] ) ? 'ast-tgl-btn-green' : '';
|
627 |
-
$disabled = isset( $array['disabled'] ) && true == $array['disabled'] ? 'disabled' : '';
|
628 |
-
?>
|
629 |
-
<li>
|
630 |
-
<span class="ast-tgl-btn-parent">
|
631 |
-
<input type="hidden" name="<?php esc_html_e( $id ); ?>" value="0"/>
|
632 |
-
<input class="ast-tgl ast-tgl-flat ast-settings-toggle" id="<?php esc_html_e( $id ); ?>" name="<?php esc_html_e( $id ); ?>" type="checkbox" <?php esc_html_e( $checked ); ?> value="1" <?php esc_html_e( $disabled ); ?>/>
|
633 |
-
<label class="ast-tgl-btn <?php esc_html_e( $tgl_class ); ?>" for="<?php esc_html_e( $id ); ?>"></label>
|
634 |
-
</span>
|
635 |
-
|
636 |
-
<div class="setting_ul_tgl_checkbox_label"><label><?php esc_html_e( $array['title'] ); ?></label>
|
637 |
-
<?php if ( isset( $array['tooltip'] ) ) { ?>
|
638 |
-
<span class="woocommerce-help-tip tipTip" title="<?php esc_html_e( $array['tooltip'] ); ?>"></span>
|
639 |
-
<?php } ?>
|
640 |
-
<?php if ( isset( $array['desc'] ) ) { ?>
|
641 |
-
<div class="tgl_checkbox_desc"><?php esc_html_e( $array['desc'] ); ?></div>
|
642 |
-
<?php } ?>
|
643 |
-
</div>
|
644 |
-
|
645 |
-
<?php if ( isset( $array['customize_link'] ) ) { ?>
|
646 |
-
<a href="<?php esc_html_e( $array['customize_link'] ); ?>" class="button-primary btn_ts_transparent btn_large ts_customizer_btn">
|
647 |
-
<?php esc_html_e( 'Customize', 'woo-advanced-shipment-tracking' ); ?>
|
648 |
-
</a>
|
649 |
-
<?php } ?>
|
650 |
-
</li>
|
651 |
-
<?php
|
652 |
-
} else if ( 'radio' == $array['type'] ) {
|
653 |
-
?>
|
654 |
-
<li class="settings_radio_li">
|
655 |
-
<label><strong><?php esc_html_e( $array['title'] ); ?></strong>
|
656 |
-
<?php if ( isset( $array['tooltip'] ) ) { ?>
|
657 |
-
<span class="woocommerce-help-tip tipTip" title="<?php esc_html_e( $array['tooltip'] ); ?>"></span>
|
658 |
-
<?php } ?>
|
659 |
-
</label>
|
660 |
-
|
661 |
-
<?php
|
662 |
-
|
663 |
-
foreach ( (array) $array['options'] as $key => $val ) {
|
664 |
-
$selected = ( get_option( $id, $array['default'] ) == (string) $key ) ? 'checked' : '' ;
|
665 |
-
?>
|
666 |
-
<span class="radio_section">
|
667 |
-
<label class="" for="<?php esc_html_e( $id ); ?>_<?php esc_html_e( $key ); ?>">
|
668 |
-
<input type="radio" id="<?php esc_html_e( $id ); ?>_<?php esc_html_e( $key ); ?>" name="<?php esc_html_e( $id ); ?>" class="<?php esc_html_e( $id ); ?>" value="<?php esc_html_e( $key ); ?>" <?php esc_html_e( $selected ); ?> />
|
669 |
-
<span class=""><?php esc_html_e( $val ); ?></span></br>
|
670 |
-
</label>
|
671 |
-
</span>
|
672 |
-
<?php } ?>
|
673 |
-
</li>
|
674 |
-
<?php
|
675 |
-
} else if ( 'multiple_select' == $array['type'] ) {
|
676 |
-
?>
|
677 |
-
<li class="multiple_select_li">
|
678 |
-
<label><?php esc_html_e( $array['title'] ); ?>
|
679 |
-
<?php if ( isset( $array['tooltip'] ) ) { ?>
|
680 |
-
<span class="woocommerce-help-tip tipTip" title="<?php esc_html_e( $array['tooltip'] ); ?>"></span>
|
681 |
-
<?php } ?>
|
682 |
-
</label>
|
683 |
-
<div class="multiple_select_container">
|
684 |
-
<select multiple class="wc-enhanced-select" name="<?php esc_html_e( $id ); ?>[]" id="<?php esc_html_e( $id ); ?>">
|
685 |
-
<?php
|
686 |
-
foreach ( (array) $array['options'] as $key => $val ) {
|
687 |
-
$multi_checkbox_data = get_option( $id );
|
688 |
-
$checked = isset( $multi_checkbox_data[ $key ] ) && 1 == $multi_checkbox_data[ $key ] ? 'selected' : '' ;
|
689 |
-
?>
|
690 |
-
<option value="<?php echo esc_attr( $key ); ?>" <?php esc_html_e( $checked ); ?>><?php esc_html_e( $val['status'] ); ?></option>
|
691 |
-
<?php
|
692 |
-
}
|
693 |
-
?>
|
694 |
-
</select>
|
695 |
-
</div>
|
696 |
-
</li>
|
697 |
-
<?php
|
698 |
-
} else if ( 'multiple_checkbox' == $array['type'] ) {
|
699 |
-
?>
|
700 |
-
<li>
|
701 |
-
<div class="multiple_checkbox_label">
|
702 |
-
<label for=""><strong><?php esc_html_e( $array['title'] ); ?></strong></label>
|
703 |
-
<span class="multiple_checkbox_description"><?php esc_html_e( $array['desc'] ); ?></span>
|
704 |
-
</div >
|
705 |
-
<div class="multiple_checkbox_parent">
|
706 |
-
<?php
|
707 |
-
$op = 1;
|
708 |
-
foreach ( (array) $array['options'] as $key => $val ) {
|
709 |
-
$multi_checkbox_data = get_option($id);
|
710 |
-
$checked = isset( $multi_checkbox_data[ $key ] ) && 1 == $multi_checkbox_data[ $key ] ? 'checked' : '' ;
|
711 |
-
?>
|
712 |
-
<span class="multiple_checkbox">
|
713 |
-
<label class="" for="">
|
714 |
-
<input type="hidden" name="<?php esc_html_e( $id ); ?>[<?php esc_html_e( $key ); ?>]" value="0"/>
|
715 |
-
<input type="checkbox" name="<?php esc_html_e( $id ); ?>[<?php esc_html_e( $key ); ?>]" class="" <?php esc_html_e( $checked ); ?> value="1"/>
|
716 |
-
<span class="multiple_label"><?php esc_html_e( $val['status'] ); ?></span>
|
717 |
-
</br>
|
718 |
-
</label>
|
719 |
-
</span>
|
720 |
-
<?php } ?>
|
721 |
-
</div>
|
722 |
-
</li>
|
723 |
-
<?php
|
724 |
-
} else if ( 'dropdown_tpage' == $array['type'] ) {
|
725 |
-
?>
|
726 |
-
<li>
|
727 |
-
<label class="left_label"><?php esc_html_e( $array['title'] ); ?>
|
728 |
-
<?php if ( isset( $array['tooltip'] ) ) { ?>
|
729 |
-
<span class="woocommerce-help-tip tipTip" title="<?php esc_html_e( $array['tooltip'] ); ?>"></span>
|
730 |
-
<?php } ?>
|
731 |
-
</label>
|
732 |
-
|
733 |
-
<select class="select select2 tracking_page_select" id="<?php esc_html_e( $id ); ?>" name="<?php esc_html_e( $id ); ?>">
|
734 |
-
<?php
|
735 |
-
foreach ( (array) $array['options'] as $page_id => $page_name ) {
|
736 |
-
$selected = ( get_option( $id ) == $page_id ) ? 'selected' : '' ;
|
737 |
-
?>
|
738 |
-
<option value="<?php esc_html_e( $page_id ); ?>" <?php esc_html_e( $selected ); ?>><?php esc_html_e( $page_name ); ?></option>
|
739 |
-
<?php
|
740 |
-
}
|
741 |
-
$selected = ( 'other' == get_option( $id ) ) ? 'selected' : '';
|
742 |
-
?>
|
743 |
-
<option <?php esc_html_e( $selected ); ?> value="other"><?php esc_html_e( 'Other', 'woo-advanced-shipment-tracking' ); ?></option>
|
744 |
-
</select>
|
745 |
-
<?php $style = ( 'other' != get_option( $id ) ) ? 'display:none;' : ''; ?>
|
746 |
-
<fieldset style="<?php esc_html_e( $style ); ?>" class="trackship_other_page_fieldset">
|
747 |
-
<input type="text" name="wc_ast_trackship_other_page" id="wc_ast_trackship_other_page" value="<?php esc_html_e( get_option('wc_ast_trackship_other_page') ); ?>">
|
748 |
-
</fieldset>
|
749 |
-
|
750 |
-
<p class="tracking_page_desc"><?php esc_html_e( 'add the [wcast-track-order] shortcode in the selected page.', 'woo-advanced-shipment-tracking' ); ?>
|
751 |
-
<a href="https://www.zorem.com/docs/woocommerce-advanced-shipment-tracking/integration/" target="blank"><?php esc_html_e( 'more info', 'woo-advanced-shipment-tracking' ); ?></a>
|
752 |
-
</p>
|
753 |
-
|
754 |
-
</li>
|
755 |
-
<?php
|
756 |
-
} else if ( 'button' == $array['type'] ) {
|
757 |
-
?>
|
758 |
-
<li>
|
759 |
-
<label class="left_label"><?php esc_html_e( $array['title'] ); ?>
|
760 |
-
<?php if ( isset( $array['tooltip'] ) ) { ?>
|
761 |
-
<span class="woocommerce-help-tip tipTip" title="<?php esc_html_e( $array['tooltip'] ); ?>"></span>
|
762 |
-
<?php } ?>
|
763 |
-
</label>
|
764 |
-
<?php
|
765 |
-
if ( isset( $array['customize_link'] ) ) {
|
766 |
-
?>
|
767 |
-
<a href="<?php esc_html_e( $array['customize_link'] ); ?>" class="button-primary btn_ts_transparent btn_large ts_customizer_btn"><?php esc_html_e( 'Customize', 'woo-advanced-shipment-tracking' ); ?></a>
|
768 |
-
<?php } ?>
|
769 |
-
</li>
|
770 |
-
<?php
|
771 |
-
}
|
772 |
-
}
|
773 |
-
}
|
774 |
-
?>
|
775 |
-
</ul>
|
776 |
-
<?php
|
777 |
-
}
|
778 |
-
|
779 |
-
public function get_add_tracking_options() {
|
780 |
-
|
781 |
-
$wc_ast_status_shipped = get_option( 'wc_ast_status_shipped', 0 );
|
782 |
-
|
783 |
-
if ( 1 == $wc_ast_status_shipped ) {
|
784 |
-
$completed_order_label = __( 'Shipped', 'woo-advanced-shipment-tracking' );
|
785 |
-
} else {
|
786 |
-
$completed_order_label = __( 'Completed', 'woocommerce' );
|
787 |
-
}
|
788 |
-
|
789 |
-
$all_order_status = wc_get_order_statuses();
|
790 |
-
|
791 |
-
$default_order_status = array(
|
792 |
-
'wc-pending' => 'Pending payment',
|
793 |
-
'wc-processing' => 'Processing',
|
794 |
-
'wc-on-hold' => 'On hold',
|
795 |
-
'wc-completed' => 'Completed',
|
796 |
-
'wc-delivered' => 'Delivered',
|
797 |
-
'wc-cancelled' => 'Cancelled',
|
798 |
-
'wc-refunded' => 'Refunded',
|
799 |
-
'wc-failed' => 'Failed',
|
800 |
-
'wc-ready-pickup' => 'Ready for Pickup',
|
801 |
-
'wc-pickup' => 'Picked up',
|
802 |
-
'wc-partial-shipped' => 'Partially Shipped',
|
803 |
-
'wc-updated-tracking' => 'Updated Tracking',
|
804 |
-
);
|
805 |
-
|
806 |
-
foreach ( $default_order_status as $key => $value ) {
|
807 |
-
unset($all_order_status[$key]);
|
808 |
-
}
|
809 |
-
$custom_order_status = $all_order_status;
|
810 |
-
|
811 |
-
foreach ( $custom_order_status as $key => $value ) {
|
812 |
-
unset($custom_order_status[$key]);
|
813 |
-
$key = str_replace( 'wc-', '', $key);
|
814 |
-
$custom_order_status[$key] = array(
|
815 |
-
'status' => __( $value, '' ),
|
816 |
-
'type' => 'custom',
|
817 |
-
);
|
818 |
-
}
|
819 |
-
|
820 |
-
$actions_order_status = array(
|
821 |
-
'processing' => array(
|
822 |
-
'status' => __( 'Processing', 'woocommerce' ),
|
823 |
-
'type' => 'default',
|
824 |
-
),
|
825 |
-
'completed' => array(
|
826 |
-
'status' => $completed_order_label,
|
827 |
-
'type' => 'default',
|
828 |
-
),
|
829 |
-
'partial-shipped' => array(
|
830 |
-
'status' => __( 'Partially Shipped', '' ),
|
831 |
-
'type' => 'default',
|
832 |
-
'class' => 'partially_shipped_checkbox',
|
833 |
-
),
|
834 |
-
'updated-tracking' => array(
|
835 |
-
'status' => __( 'Updated Tracking', '' ),
|
836 |
-
'type' => 'default',
|
837 |
-
'class' => 'updated_tracking_checkbox',
|
838 |
-
),
|
839 |
-
'on-hold' => array(
|
840 |
-
'status' => __( 'On Hold', 'woocommerce' ),
|
841 |
-
'type' => 'default',
|
842 |
-
),
|
843 |
-
'cancelled' => array(
|
844 |
-
'status' => __( 'Cancelled', 'woocommerce' ),
|
845 |
-
'type' => 'default',
|
846 |
-
),
|
847 |
-
'refunded' => array(
|
848 |
-
'status' => __( 'Refunded', 'woocommerce' ),
|
849 |
-
'type' => 'default',
|
850 |
-
),
|
851 |
-
'failed' => array(
|
852 |
-
'status' => __( 'Failed', 'woocommerce' ),
|
853 |
-
'type' => 'default',
|
854 |
-
),
|
855 |
-
);
|
856 |
-
|
857 |
-
$action_order_status_array = array_merge( $actions_order_status, $custom_order_status );
|
858 |
-
|
859 |
-
$form_data = array(
|
860 |
-
'wc_ast_default_mark_shipped' => array(
|
861 |
-
'type' => 'tgl_checkbox',
|
862 |
-
'title' => __( 'Set the "mark as shipped" option checked when adding tracking info to orders', 'woo-advanced-shipment-tracking' ),
|
863 |
-
'show' => true,
|
864 |
-
'class' => '',
|
865 |
-
),
|
866 |
-
'wc_ast_show_orders_actions' => array(
|
867 |
-
'type' => 'multiple_select',
|
868 |
-
'title' => __( 'Add Tracking Order action', 'woo-advanced-shipment-tracking' ),
|
869 |
-
'options' => $action_order_status_array,
|
870 |
-
'show' => true,
|
871 |
-
'class' => '',
|
872 |
-
),
|
873 |
-
);
|
874 |
-
return $form_data;
|
875 |
-
}
|
876 |
-
|
877 |
-
public function get_customer_view_options() {
|
878 |
-
|
879 |
-
$wc_ast_status_shipped = get_option( 'wc_ast_status_shipped', 0 );
|
880 |
-
$completed_order_label = ( 1 == $wc_ast_status_shipped ) ? __( 'Shipped', 'woo-advanced-shipment-tracking' ) : __( 'Completed', 'woocommerce' );
|
881 |
-
|
882 |
-
$all_order_status = wc_get_order_statuses();
|
883 |
-
|
884 |
-
$default_order_status = array(
|
885 |
-
'wc-pending' => 'Pending payment',
|
886 |
-
'wc-processing' => 'Processing',
|
887 |
-
'wc-on-hold' => 'On hold',
|
888 |
-
'wc-completed' => 'Completed',
|
889 |
-
'wc-delivered' => 'Delivered',
|
890 |
-
'wc-cancelled' => 'Cancelled',
|
891 |
-
'wc-refunded' => 'Refunded',
|
892 |
-
'wc-failed' => 'Failed',
|
893 |
-
'wc-ready-pickup' => 'Ready for Pickup',
|
894 |
-
'wc-pickup' => 'Picked up',
|
895 |
-
'wc-partial-shipped' => 'Partially Shipped',
|
896 |
-
'wc-updated-tracking' => 'Updated Tracking',
|
897 |
-
);
|
898 |
-
|
899 |
-
foreach ( $default_order_status as $key => $value ) {
|
900 |
-
unset($all_order_status[$key]);
|
901 |
-
}
|
902 |
-
|
903 |
-
$custom_order_status = $all_order_status;
|
904 |
-
|
905 |
-
foreach ( $custom_order_status as $key => $value ) {
|
906 |
-
unset($custom_order_status[$key]);
|
907 |
-
$key = str_replace( 'wc-', '', $key);
|
908 |
-
$custom_order_status[$key] = array(
|
909 |
-
'status' => __( $value, '' ),
|
910 |
-
'type' => 'custom',
|
911 |
-
);
|
912 |
-
}
|
913 |
-
|
914 |
-
$order_status = array(
|
915 |
-
'processing' => array(
|
916 |
-
'status' => __( 'Processing', 'woocommerce' ),
|
917 |
-
'type' => 'default',
|
918 |
-
),
|
919 |
-
'completed' => array(
|
920 |
-
'status' => $completed_order_label,
|
921 |
-
'type' => 'default',
|
922 |
-
),
|
923 |
-
'partial-shipped' => array(
|
924 |
-
'status' => __( 'Partially Shipped', '' ),
|
925 |
-
'type' => 'default',
|
926 |
-
'class' => 'partially_shipped_checkbox',
|
927 |
-
),
|
928 |
-
'updated-tracking' => array(
|
929 |
-
'status' => __( 'Updated Tracking', '' ),
|
930 |
-
'type' => 'default',
|
931 |
-
'class' => 'updated_tracking_checkbox',
|
932 |
-
),
|
933 |
-
'cancelled' => array(
|
934 |
-
'status' => __( 'Cancelled', 'woocommerce' ),
|
935 |
-
'type' => 'default',
|
936 |
-
),
|
937 |
-
'on-hold' => array(
|
938 |
-
'status' => __( 'On Hold', 'woocommerce' ),
|
939 |
-
'type' => 'default',
|
940 |
-
),
|
941 |
-
'refunded' => array(
|
942 |
-
'status' => __( 'Refunded', 'woocommerce' ),
|
943 |
-
'type' => 'default',
|
944 |
-
),
|
945 |
-
|
946 |
-
'failed' => array(
|
947 |
-
'status' => __( 'Failed', 'woocommerce' ),
|
948 |
-
'type' => 'default',
|
949 |
-
),
|
950 |
-
'show_in_customer_invoice' => array(
|
951 |
-
'status' => __( 'Customer Invoice', 'woocommerce' ),
|
952 |
-
'type' => 'default',
|
953 |
-
),
|
954 |
-
'show_in_customer_note' => array(
|
955 |
-
'status' => __( 'Customer note', 'woocommerce' ),
|
956 |
-
'type' => 'default',
|
957 |
-
),
|
958 |
-
);
|
959 |
-
|
960 |
-
$order_status_array = array_merge( $order_status, $custom_order_status );
|
961 |
-
|
962 |
-
$form_data = array(
|
963 |
-
'wc_ast_unclude_tracking_info' => array(
|
964 |
-
'type' => 'multiple_select',
|
965 |
-
'title' => __( 'Order Emails Display', 'woo-advanced-shipment-tracking' ),
|
966 |
-
'options' => $order_status_array,
|
967 |
-
'show' => true,
|
968 |
-
'class' => '',
|
969 |
-
),
|
970 |
-
'display_track_in_my_account' => array(
|
971 |
-
'type' => 'tgl_checkbox',
|
972 |
-
'title' => __( 'Enable Track button in orders history (actions)', 'woo-advanced-shipment-tracking' ),
|
973 |
-
'show' => true,
|
974 |
-
'class' => '',
|
975 |
-
),
|
976 |
-
'open_track_in_new_tab' => array(
|
977 |
-
'type' => 'tgl_checkbox',
|
978 |
-
'title' => __( 'Open the Track Button link in a new tab', 'woo-advanced-shipment-tracking' ),
|
979 |
-
'show' => true,
|
980 |
-
'class' => '',
|
981 |
-
),
|
982 |
-
);
|
983 |
-
return $form_data;
|
984 |
-
}
|
985 |
-
|
986 |
-
public function get_shipment_tracking_api_options() {
|
987 |
-
$form_data = array(
|
988 |
-
'wc_ast_api_date_format' => array(
|
989 |
-
'type' => 'radio',
|
990 |
-
'title' => __( 'API Date Format', 'woo-advanced-shipment-tracking' ),
|
991 |
-
'desc' => __( 'Choose for which Order status to display', 'woo-advanced-shipment-tracking' ),
|
992 |
-
'options' => array(
|
993 |
-
'd-m-Y' => 'DD/MM/YYYY',
|
994 |
-
'm-d-Y' => 'MM/DD/YYYY',
|
995 |
-
),
|
996 |
-
'default' => 'd-m-Y',
|
997 |
-
'show' => true,
|
998 |
-
'class' => '',
|
999 |
-
),
|
1000 |
-
);
|
1001 |
-
return $form_data;
|
1002 |
-
}
|
1003 |
-
|
1004 |
-
/*
|
1005 |
-
* get updated tracking status settings array data
|
1006 |
-
* return array
|
1007 |
-
*/
|
1008 |
-
public function get_updated_tracking_data() {
|
1009 |
-
$form_data = array(
|
1010 |
-
'wc_ast_status_updated_tracking' => array(
|
1011 |
-
'type' => 'checkbox',
|
1012 |
-
'title' => __( 'Enable custom order status “Updated Tracking"', '' ),
|
1013 |
-
'show' => true,
|
1014 |
-
'class' => '',
|
1015 |
-
),
|
1016 |
-
'wc_ast_status_updated_tracking_label_color' => array(
|
1017 |
-
'type' => 'color',
|
1018 |
-
'title' => __( 'Updated Tracking Label color', '' ),
|
1019 |
-
'class' => 'updated_tracking_status_label_color_th',
|
1020 |
-
'show' => true,
|
1021 |
-
),
|
1022 |
-
'wc_ast_status_updated_tracking_label_font_color' => array(
|
1023 |
-
'type' => 'dropdown',
|
1024 |
-
'title' => __( 'Updated Tracking Label font color', '' ),
|
1025 |
-
'options' => array(
|
1026 |
-
'' =>__( 'Select', 'woocommerce' ),
|
1027 |
-
'#fff' =>__( 'Light', '' ),
|
1028 |
-
'#000' =>__( 'Dark', '' ),
|
1029 |
-
),
|
1030 |
-
'class' => 'updated_tracking_status_label_color_th',
|
1031 |
-
'show' => true,
|
1032 |
-
),
|
1033 |
-
'wcast_enable_updated_tracking_email' => array(
|
1034 |
-
'type' => 'checkbox',
|
1035 |
-
'title' => __( 'Enable the Updated Tracking order status email', '' ),
|
1036 |
-
'title_link'=> "<a class='settings_edit' href='" . ps_customizer()->get_customizer_url( 'custom_order_status_email' , 'updated_tracking' ) . "'>" . __( 'Edit', 'woocommerce' ) . '</a>',
|
1037 |
-
'class' => 'updated_tracking_status_label_color_th',
|
1038 |
-
'show' => true,
|
1039 |
-
),
|
1040 |
-
);
|
1041 |
-
return $form_data;
|
1042 |
-
}
|
1043 |
-
|
1044 |
-
/*
|
1045 |
-
* get Partially Shipped array data
|
1046 |
-
* return array
|
1047 |
-
*/
|
1048 |
-
public function get_partial_shipped_data() {
|
1049 |
-
$form_data = array(
|
1050 |
-
'wc_ast_status_partial_shipped' => array(
|
1051 |
-
'type' => 'checkbox',
|
1052 |
-
'title' => __( 'Enable custom order status “Partially Shipped"', '' ),
|
1053 |
-
'show' => true,
|
1054 |
-
'class' => '',
|
1055 |
-
),
|
1056 |
-
'wc_ast_status_partial_shipped_label_color' => array(
|
1057 |
-
'type' => 'color',
|
1058 |
-
'title' => __( 'Partially Shipped Label color', '' ),
|
1059 |
-
'class' => 'partial_shipped_status_label_color_th',
|
1060 |
-
'show' => true,
|
1061 |
-
),
|
1062 |
-
'wc_ast_status_partial_shipped_label_font_color' => array(
|
1063 |
-
'type' => 'dropdown',
|
1064 |
-
'title' => __( 'Partially Shipped Label font color', '' ),
|
1065 |
-
'options' => array(
|
1066 |
-
'' =>__( 'Select', 'woocommerce' ),
|
1067 |
-
'#fff' =>__( 'Light', '' ),
|
1068 |
-
'#000' =>__( 'Dark', '' ),
|
1069 |
-
),
|
1070 |
-
'class' => 'partial_shipped_status_label_color_th',
|
1071 |
-
'show' => true,
|
1072 |
-
),
|
1073 |
-
'wcast_enable_partial_shipped_email' => array(
|
1074 |
-
'type' => 'checkbox',
|
1075 |
-
'title' => __( 'Enable the Partially Shipped order status email', '' ),
|
1076 |
-
'title_link'=> "<a class='settings_edit' href='" . ps_customizer()->get_customizer_url( 'custom_order_status_email', 'partially_shipped' ) . "'>" . __( 'Edit', 'woocommerce' ) . '</a>',
|
1077 |
-
'class' => 'partial_shipped_status_label_color_th',
|
1078 |
-
'show' => true,
|
1079 |
-
),
|
1080 |
-
);
|
1081 |
-
return $form_data;
|
1082 |
-
|
1083 |
-
}
|
1084 |
-
|
1085 |
-
/*
|
1086 |
-
* get Order Status data
|
1087 |
-
* return array
|
1088 |
-
*/
|
1089 |
-
public function get_osm_data() {
|
1090 |
-
$osm_data = array(
|
1091 |
-
'partial_shipped' => array(
|
1092 |
-
'id' => 'wc_ast_status_partial_shipped',
|
1093 |
-
'slug' => 'partial-shipped',
|
1094 |
-
'label' => __( 'Partially Shipped', 'woo-advanced-shipment-tracking' ),
|
1095 |
-
'label_class' => 'wc-partially-shipped',
|
1096 |
-
'option_id' => 'woocommerce_customer_partial_shipped_order_settings',
|
1097 |
-
'edit_email'=> ps_customizer()->get_customizer_url( 'custom_order_status_email', 'partially_shipped' ),
|
1098 |
-
'label_color_field' => 'wc_ast_status_partial_shipped_label_color',
|
1099 |
-
'font_color_field' => 'wc_ast_status_partial_shipped_label_font_color',
|
1100 |
-
'email_field' => 'wcast_enable_partial_shipped_email',
|
1101 |
-
),
|
1102 |
-
);
|
1103 |
-
|
1104 |
-
$updated_tracking_status = get_option( 'wc_ast_status_updated_tracking', 0);
|
1105 |
-
|
1106 |
-
if ( true == $updated_tracking_status ) {
|
1107 |
-
$updated_tracking_data = array(
|
1108 |
-
'updated_tracking' => array(
|
1109 |
-
'id' => 'wc_ast_status_updated_tracking',
|
1110 |
-
'slug' => 'updated-tracking',
|
1111 |
-
'label' => __( 'Updated Tracking', 'woo-advanced-shipment-tracking' ),
|
1112 |
-
'label_class' => 'wc-updated-tracking',
|
1113 |
-
'option_id' => 'woocommerce_customer_updated_tracking_order_settings',
|
1114 |
-
'edit_email'=> ut_customizer()->get_customizer_url( 'custom_order_status_email', 'updated_tracking' ),
|
1115 |
-
'label_color_field' => 'wc_ast_status_updated_tracking_label_color',
|
1116 |
-
'font_color_field' => 'wc_ast_status_updated_tracking_label_font_color',
|
1117 |
-
'email_field' => 'wcast_enable_updated_tracking_email',
|
1118 |
-
),
|
1119 |
-
);
|
1120 |
-
$osm_data = array_merge( $osm_data, $updated_tracking_data );
|
1121 |
-
}
|
1122 |
-
return apply_filters( 'ast_osm_data', $osm_data );
|
1123 |
-
}
|
1124 |
-
|
1125 |
-
/*
|
1126 |
-
* settings form save
|
1127 |
-
*/
|
1128 |
-
public function wc_ast_settings_form_update_callback() {
|
1129 |
-
|
1130 |
-
if ( ! current_user_can( 'manage_woocommerce' ) ) {
|
1131 |
-
exit( 'You are not allowed' );
|
1132 |
-
}
|
1133 |
-
|
1134 |
-
if ( ! empty( $_POST ) && check_admin_referer( 'wc_ast_settings_form', 'wc_ast_settings_form_nonce' ) ) {
|
1135 |
-
|
1136 |
-
$data = $this->get_add_tracking_options();
|
1137 |
-
|
1138 |
-
foreach ( $data as $key => $val ) {
|
1139 |
-
|
1140 |
-
if ( isset( $val['type'] ) && 'multiple_select' == $val['type'] ) {
|
1141 |
-
|
1142 |
-
foreach ( $val['options'] as $op_status => $op_data ) {
|
1143 |
-
$_POST[ $key ][$op_status] = 0;
|
1144 |
-
}
|
1145 |
-
|
1146 |
-
if ( isset( $_POST[ $key ] ) ) {
|
1147 |
-
foreach ( wc_clean( $_POST[ $key ] ) as $key1 => $status) {
|
1148 |
-
$_POST[ $key ][$status] = 1;
|
1149 |
-
}
|
1150 |
-
}
|
1151 |
-
|
1152 |
-
if ( isset( $_POST[ $key ] ) ) {
|
1153 |
-
update_option( $key, wc_clean( $_POST[ $key ] ) );
|
1154 |
-
}
|
1155 |
-
|
1156 |
-
|
1157 |
-
} else {
|
1158 |
-
|
1159 |
-
if ( isset( $_POST[ $key ] ) ) {
|
1160 |
-
update_option( $key, wc_clean( $_POST[ $key ] ) );
|
1161 |
-
}
|
1162 |
-
}
|
1163 |
-
|
1164 |
-
if ( isset( $val['type'] ) && 'inline_checkbox' == $val['type'] ) {
|
1165 |
-
foreach ( (array) $val['checkbox_array'] as $key1 => $val1 ) {
|
1166 |
-
if ( isset( $_POST[ $key1 ] ) ) {
|
1167 |
-
update_option( $key1, wc_clean( $_POST[ $key1 ] ) );
|
1168 |
-
}
|
1169 |
-
}
|
1170 |
-
}
|
1171 |
-
}
|
1172 |
-
|
1173 |
-
$data1 = $this->get_customer_view_options();
|
1174 |
-
|
1175 |
-
foreach ( $data1 as $key => $val ) {
|
1176 |
-
|
1177 |
-
if ( isset( $val['type'] ) && 'multiple_select' == $val['type'] ) {
|
1178 |
-
|
1179 |
-
foreach ( $val['options'] as $op_status => $op_data ) {
|
1180 |
-
$_POST[ $key ][$op_status] = 0;
|
1181 |
-
}
|
1182 |
-
|
1183 |
-
foreach ( wc_clean( $_POST[ $key ] ) as $key1 => $status) {
|
1184 |
-
$_POST[ $key ][$status] = 1;
|
1185 |
-
}
|
1186 |
-
|
1187 |
-
update_option( $key, wc_clean( $_POST[ $key ] ) );
|
1188 |
-
|
1189 |
-
} else {
|
1190 |
-
|
1191 |
-
if ( isset( $_POST[ $key ] ) ) {
|
1192 |
-
update_option( $key, wc_clean( $_POST[ $key ] ) );
|
1193 |
-
}
|
1194 |
-
}
|
1195 |
-
}
|
1196 |
-
|
1197 |
-
$data2 = $this->get_shipment_tracking_api_options();
|
1198 |
-
|
1199 |
-
foreach ( $data2 as $key => $val ) {
|
1200 |
-
|
1201 |
-
if ( isset( $_POST[ $key ] ) ) {
|
1202 |
-
update_option( $key, wc_clean( $_POST[ $key ] ) );
|
1203 |
-
}
|
1204 |
-
}
|
1205 |
-
|
1206 |
-
$wc_ast_status_shipped = isset( $_POST[ 'wc_ast_status_shipped' ] ) ? wc_clean( $_POST[ 'wc_ast_status_shipped' ] ) : '';
|
1207 |
-
update_option( 'wc_ast_status_shipped', $wc_ast_status_shipped );
|
1208 |
-
|
1209 |
-
$data = $this->get_partial_shipped_data();
|
1210 |
-
|
1211 |
-
foreach ( $data as $key => $val ) {
|
1212 |
-
|
1213 |
-
if ( 'wcast_enable_partial_shipped_email' == $key ) {
|
1214 |
-
if ( isset( $_POST['wcast_enable_partial_shipped_email'] ) ) {
|
1215 |
-
|
1216 |
-
if ( 1 == $_POST['wcast_enable_partial_shipped_email'] ) {
|
1217 |
-
update_option( 'customizer_partial_shipped_order_settings_enabled', wc_clean( $_POST['wcast_enable_partial_shipped_email'] ) );
|
1218 |
-
$enabled = 'yes';
|
1219 |
-
} else {
|
1220 |
-
update_option( 'customizer_partial_shipped_order_settings_enabled', '' );
|
1221 |
-
$enabled = 'no';
|
1222 |
-
}
|
1223 |
-
|
1224 |
-
$wcast_enable_partial_shipped_email = get_option( 'woocommerce_customer_partial_shipped_order_settings' );
|
1225 |
-
$wcast_enable_partial_shipped_email['enabled'] = $enabled;
|
1226 |
-
update_option( 'woocommerce_customer_partial_shipped_order_settings', $wcast_enable_partial_shipped_email );
|
1227 |
-
}
|
1228 |
-
}
|
1229 |
-
|
1230 |
-
if ( isset( $_POST[ $key ] ) ) {
|
1231 |
-
update_option( $key, wc_clean( $_POST[ $key ] ) );
|
1232 |
-
}
|
1233 |
-
}
|
1234 |
-
|
1235 |
-
$data = $this->get_updated_tracking_data();
|
1236 |
-
|
1237 |
-
foreach ( $data as $key => $val ) {
|
1238 |
-
|
1239 |
-
if ( 'wcast_enable_updated_tracking_email' == $key ) {
|
1240 |
-
if ( isset( $_POST['wcast_enable_updated_tracking_email'] ) ) {
|
1241 |
-
if ( 1 == $_POST['wcast_enable_updated_tracking_email'] ) {
|
1242 |
-
update_option( 'customizer_updated_tracking_order_settings_enabled', wc_clean( $_POST['wcast_enable_updated_tracking_email'] ) );
|
1243 |
-
$enabled = 'yes';
|
1244 |
-
} else {
|
1245 |
-
update_option( 'customizer_updated_tracking_order_settings_enabled', '' );
|
1246 |
-
$enabled = 'no';
|
1247 |
-
}
|
1248 |
-
|
1249 |
-
$wcast_enable_updated_tracking_email = get_option( 'woocommerce_customer_updated_tracking_order_settings' );
|
1250 |
-
$wcast_enable_updated_tracking_email['enabled'] = $enabled;
|
1251 |
-
update_option( 'woocommerce_customer_updated_tracking_order_settings', $wcast_enable_updated_tracking_email );
|
1252 |
-
}
|
1253 |
-
}
|
1254 |
-
|
1255 |
-
if ( isset( $_POST[ $key ] ) ) {
|
1256 |
-
update_option( $key, wc_clean( $_POST[ $key ] ) );
|
1257 |
-
}
|
1258 |
-
}
|
1259 |
-
}
|
1260 |
-
}
|
1261 |
-
|
1262 |
-
/*
|
1263 |
-
* Change style of delivered order label
|
1264 |
-
*/
|
1265 |
-
public function footer_function() {
|
1266 |
-
if ( !is_plugin_active( 'woocommerce-order-status-manager/woocommerce-order-status-manager.php' ) ) {
|
1267 |
-
$bg_color = get_option( 'wc_ast_status_label_color', '#59c889' );
|
1268 |
-
$color = get_option( 'wc_ast_status_label_font_color', '#fff' );
|
1269 |
-
|
1270 |
-
$ps_bg_color = get_option( 'wc_ast_status_partial_shipped_label_color', '#1e73be' );
|
1271 |
-
$ps_color = get_option( 'wc_ast_status_partial_shipped_label_font_color', '#fff' );
|
1272 |
-
|
1273 |
-
$ut_bg_color = get_option( 'wc_ast_status_updated_tracking_label_color', '#23a2dd' );
|
1274 |
-
$ut_color = get_option( 'wc_ast_status_updated_tracking_label_font_color', '#fff' );
|
1275 |
-
?>
|
1276 |
-
<style>
|
1277 |
-
.order-status.status-delivered,.order-status-table .order-label.wc-delivered{
|
1278 |
-
background: <?php esc_html_e( $bg_color ); ?>;
|
1279 |
-
color: <?php esc_html_e( $color ); ?>;
|
1280 |
-
}
|
1281 |
-
.order-status.status-partial-shipped,.order-status-table .order-label.wc-partially-shipped{
|
1282 |
-
background: <?php esc_html_e( $ps_bg_color ); ?>;
|
1283 |
-
color: <?php esc_html_e( $ps_color ); ?>;
|
1284 |
-
}
|
1285 |
-
.order-status.status-updated-tracking,.order-status-table .order-label.wc-updated-tracking{
|
1286 |
-
background: <?php esc_html_e( $ut_bg_color ); ?>;
|
1287 |
-
color: <?php esc_html_e( $ut_color ); ?>;
|
1288 |
-
}
|
1289 |
-
</style>
|
1290 |
-
<?php
|
1291 |
-
}
|
1292 |
-
}
|
1293 |
-
|
1294 |
-
/*
|
1295 |
-
* Ajax call for upload tracking details into order from bulk upload
|
1296 |
-
*/
|
1297 |
-
public function upload_tracking_csv_fun() {
|
1298 |
-
|
1299 |
-
if ( ! current_user_can( 'manage_woocommerce' ) ) {
|
1300 |
-
exit( 'You are not allowed' );
|
1301 |
-
}
|
1302 |
-
|
1303 |
-
check_ajax_referer( 'nonce_csv_import', 'security' );
|
1304 |
-
|
1305 |
-
$replace_tracking_info = isset( $_POST['replace_tracking_info'] ) ? wc_clean( $_POST['replace_tracking_info'] ) : '';
|
1306 |
-
$date_format_for_csv_import = isset( $_POST['date_format_for_csv_import'] ) ? wc_clean( $_POST['date_format_for_csv_import'] ) : '';
|
1307 |
-
update_option( 'date_format_for_csv_import', $date_format_for_csv_import );
|
1308 |
-
$order_number = isset( $_POST['order_id'] ) ? wc_clean( $_POST['order_id'] ) : '';
|
1309 |
-
|
1310 |
-
$wast = WC_Advanced_Shipment_Tracking_Actions::get_instance();
|
1311 |
-
$order_id = $wast->get_formated_order_id( $order_number );
|
1312 |
-
|
1313 |
-
$tracking_provider = isset( $_POST['tracking_provider'] ) ? wc_clean( $_POST['tracking_provider'] ) : '';
|
1314 |
-
$tracking_number = isset( $_POST['tracking_number'] ) ? wc_clean( $_POST['tracking_number'] ) : '';
|
1315 |
-
$status_shipped = ( isset( $_POST['status_shipped'] ) ? wc_clean( $_POST['status_shipped'] ) : '' );
|
1316 |
-
$date_shipped = ( isset( $_POST['date_shipped'] ) ? wc_clean( $_POST['date_shipped'] ) : '' );
|
1317 |
-
$date_shipped = str_replace( '/', '-', $date_shipped );
|
1318 |
-
$trackings = ( isset( $_POST['trackings'] ) ? wc_clean( $_POST['trackings'] ) : '' );
|
1319 |
-
|
1320 |
-
$sku = isset( $_POST['sku'] ) ? wc_clean( $_POST['sku'] ) : '';
|
1321 |
-
$qty = isset( $_POST['qty'] ) ? wc_clean( $_POST['qty'] ) : '';
|
1322 |
-
$date_shipped = empty( $date_shipped ) ? gmdate('d-m-Y') : $date_shipped ;
|
1323 |
-
|
1324 |
-
global $wpdb;
|
1325 |
-
|
1326 |
-
$sql = $wpdb->prepare( "SELECT COUNT(*) FROM {$this->table} WHERE api_provider_name = %s", $tracking_provider );
|
1327 |
-
$shippment_provider = $wpdb->get_var( $sql );
|
1328 |
-
|
1329 |
-
if ( 0 == $shippment_provider ) {
|
1330 |
-
$sql = "SELECT COUNT(*) FROM {$this->table} WHERE JSON_CONTAINS(api_provider_name, '[" . '"' . $tracking_provider . '"' . "]')";
|
1331 |
-
$shippment_provider = $wpdb->get_var( $sql );
|
1332 |
-
}
|
1333 |
-
|
1334 |
-
if ( 0 == $shippment_provider ) {
|
1335 |
-
$sql = $wpdb->prepare( "SELECT COUNT(*) FROM {$this->table} WHERE provider_name = %s", $tracking_provider );
|
1336 |
-
$shippment_provider = $wpdb->get_var( $sql );
|
1337 |
-
}
|
1338 |
-
|
1339 |
-
$order = wc_get_order($order_id);
|
1340 |
-
|
1341 |
-
if ( false === $order ) {
|
1342 |
-
echo '<li class="invalid_order_id_error">Failed - Invalid Order Id - Order ' . esc_html( $order_number ) . '</li>';
|
1343 |
-
exit;
|
1344 |
-
}
|
1345 |
-
|
1346 |
-
if ( 0 == $shippment_provider ) {
|
1347 |
-
echo '<li class="shipping_provider_error">Failed - Invalid Shipping Provider - Order ' . esc_html( $order_number ) . '</li>';
|
1348 |
-
exit;
|
1349 |
-
}
|
1350 |
-
|
1351 |
-
if ( empty( $tracking_number ) ) {
|
1352 |
-
echo '<li class="tracking_number_error">Failed - Empty Tracking Number - Order ' . esc_html( $order_number ) . '</li>';
|
1353 |
-
exit;
|
1354 |
-
}
|
1355 |
-
|
1356 |
-
if ( empty( $date_shipped ) ) {
|
1357 |
-
echo '<li class="empty_date_shipped_error">Failed - Empty Date Shipped - Order ' . esc_html( $order_number ) . '</li>';
|
1358 |
-
exit;
|
1359 |
-
}
|
1360 |
-
|
1361 |
-
if ( !$this->isDate( $date_shipped, $date_format_for_csv_import ) ) {
|
1362 |
-
echo '<li class="invalid_date_shipped_error">Failed - Invalid Date Shipped - Order ' . esc_html( $order_number ) . '</li>';
|
1363 |
-
exit;
|
1364 |
-
}
|
1365 |
-
|
1366 |
-
if ( 'm-d-Y' == $date_format_for_csv_import ) {
|
1367 |
-
$date_array = explode( '-', $date_shipped );
|
1368 |
-
$date_shipped = $date_array[1] . '-' . $date_array[0] . '-' . $date_array[2];
|
1369 |
-
}
|
1370 |
-
|
1371 |
-
$tracking_items = ast_get_tracking_items( $order_id );
|
1372 |
-
|
1373 |
-
if ( 1 == $replace_tracking_info ) {
|
1374 |
-
|
1375 |
-
$order = wc_get_order($order_id);
|
1376 |
-
|
1377 |
-
if ( $order ) {
|
1378 |
-
|
1379 |
-
if ( count( $tracking_items ) > 0 ) {
|
1380 |
-
foreach ( $tracking_items as $key => $item ) {
|
1381 |
-
|
1382 |
-
$tracking_exist = false;
|
1383 |
-
|
1384 |
-
if ( class_exists( 'ast_woo_advanced_shipment_tracking_by_products' ) ) {
|
1385 |
-
$item_tracking_number = $item['tracking_number'];
|
1386 |
-
$tracking_exist = in_array( $item_tracking_number, array_column( $trackings, 'tracking_number' ) );
|
1387 |
-
}
|
1388 |
-
|
1389 |
-
if ( false == $tracking_exist ) {
|
1390 |
-
unset( $tracking_items[ $key ] );
|
1391 |
-
}
|
1392 |
-
}
|
1393 |
-
$wast->save_tracking_items( $order_id, $tracking_items );
|
1394 |
-
}
|
1395 |
-
}
|
1396 |
-
}
|
1397 |
-
|
1398 |
-
if ( $shippment_provider && $tracking_number && $date_shipped ) {
|
1399 |
-
|
1400 |
-
$tracking_provider = $this->get_provider_slug_from_name( $tracking_provider );
|
1401 |
-
|
1402 |
-
$args = array(
|
1403 |
-
'tracking_provider' => $tracking_provider,
|
1404 |
-
'tracking_number' => $tracking_number,
|
1405 |
-
'date_shipped' => $date_shipped,
|
1406 |
-
'status_shipped' => $status_shipped,
|
1407 |
-
);
|
1408 |
-
|
1409 |
-
if ( '' != $sku ) {
|
1410 |
-
|
1411 |
-
$products_list = array();
|
1412 |
-
|
1413 |
-
if ( $qty > 0 ) {
|
1414 |
-
|
1415 |
-
$product_id = ast_get_product_id_by_sku( $sku );
|
1416 |
-
|
1417 |
-
if ( $product_id ) {
|
1418 |
-
|
1419 |
-
$product_data = (object) array (
|
1420 |
-
'product' => $product_id,
|
1421 |
-
'qty' => $qty,
|
1422 |
-
);
|
1423 |
-
|
1424 |
-
array_push( $products_list, $product_data );
|
1425 |
-
|
1426 |
-
$product_data_array = array();
|
1427 |
-
$product_data_array[ $product_id ] = $qty;
|
1428 |
-
|
1429 |
-
$status_shipped = ( isset( $_POST['status_shipped'] ) ? wc_clean( $_POST['status_shipped'] ) : '' );
|
1430 |
-
|
1431 |
-
$autocomplete_order_tpi = get_option( 'autocomplete_order_tpi', 0 );
|
1432 |
-
if ( 1 == $autocomplete_order_tpi ) {
|
1433 |
-
$status_shipped = $this->autocomplete_order_after_adding_all_products( $order_id, $status_shipped, $products_list );
|
1434 |
-
$args['status_shipped'] = $status_shipped;
|
1435 |
-
}
|
1436 |
-
|
1437 |
-
if ( count( $tracking_items ) > 0 ) {
|
1438 |
-
foreach ( $tracking_items as $key => $item ) {
|
1439 |
-
if ( $item['tracking_number'] == $tracking_number ) {
|
1440 |
-
|
1441 |
-
if ( isset( $item['products_list'] ) && !empty( $item['products_list'] ) ) {
|
1442 |
-
|
1443 |
-
$product_list_array = array();
|
1444 |
-
foreach ( $item['products_list'] as $item_product_list ) {
|
1445 |
-
$product_list_array[ $item_product_list->product ] = $item_product_list->qty;
|
1446 |
-
}
|
1447 |
-
|
1448 |
-
$mearge_array = array();
|
1449 |
-
foreach ( array_keys( $product_data_array + $product_list_array ) as $product) {
|
1450 |
-
$mearge_array[ $product ] = (int) ( isset( $product_data_array[ $product ] ) ? $product_data_array[ $product ] : 0 ) + (int) ( isset( $product_list_array[$product] ) ? $product_list_array[ $product ] : 0 );
|
1451 |
-
}
|
1452 |
-
|
1453 |
-
foreach ( $mearge_array as $productid => $product_qty ) {
|
1454 |
-
$merge_product_data[] = (object) array (
|
1455 |
-
'product' => $productid,
|
1456 |
-
'qty' => $product_qty,
|
1457 |
-
);
|
1458 |
-
}
|
1459 |
-
|
1460 |
-
if ( !empty( $merge_product_data ) ) {
|
1461 |
-
$tracking_items[ $key ]['products_list'] = $merge_product_data;
|
1462 |
-
$wast->save_tracking_items( $order_id, $tracking_items );
|
1463 |
-
|
1464 |
-
$order = new WC_Order( $order_id );
|
1465 |
-
|
1466 |
-
do_action( 'update_order_status_after_adding_tracking', $status_shipped, $order );
|
1467 |
-
|
1468 |
-
echo '<li class="success">Success - added tracking info to Order ' . esc_html( $order_number ) . '</li>';
|
1469 |
-
exit;
|
1470 |
-
}
|
1471 |
-
}
|
1472 |
-
}
|
1473 |
-
}
|
1474 |
-
}
|
1475 |
-
|
1476 |
-
$product_args = array(
|
1477 |
-
'products_list' => $products_list,
|
1478 |
-
);
|
1479 |
-
}
|
1480 |
-
}
|
1481 |
-
$args = array_merge( $args, $product_args );
|
1482 |
-
}
|
1483 |
-
|
1484 |
-
$wast->add_tracking_item( $order_id, $args );
|
1485 |
-
|
1486 |
-
echo '<li class="success">Success - added tracking info to Order ' . esc_html( $order_number ) . '</li>';
|
1487 |
-
exit;
|
1488 |
-
} else {
|
1489 |
-
echo '<li class="invalid_tracking_data_error">Failed - Invalid Tracking Data</li>';
|
1490 |
-
exit;
|
1491 |
-
}
|
1492 |
-
}
|
1493 |
-
|
1494 |
-
/*
|
1495 |
-
* Function for autocompleted order after adding all product through TPI
|
1496 |
-
*/
|
1497 |
-
public function autocomplete_order_after_adding_all_products( $order_id, $status_shipped, $products_list ) {
|
1498 |
-
|
1499 |
-
$order = wc_get_order( $order_id );
|
1500 |
-
$items = $order->get_items();
|
1501 |
-
$items_count = count( $items );
|
1502 |
-
|
1503 |
-
$added_products = $this->get_all_added_product_list_with_qty( $order_id );
|
1504 |
-
|
1505 |
-
$new_products = array();
|
1506 |
-
|
1507 |
-
foreach ( $products_list as $in_list ) {
|
1508 |
-
|
1509 |
-
if ( isset( $new_products[ $in_list->product ] ) ) {
|
1510 |
-
$new_products[ $in_list->product ] = (int) $new_products[ $in_list->product ] + (int) $in_list->qty;
|
1511 |
-
} else {
|
1512 |
-
$new_products[ $in_list->product ] = $in_list->qty;
|
1513 |
-
}
|
1514 |
-
}
|
1515 |
-
|
1516 |
-
$total_products_data = array();
|
1517 |
-
|
1518 |
-
foreach ( array_keys( $new_products + $added_products ) as $products ) {
|
1519 |
-
$total_products_data[ $products ] = ( isset( $new_products[ $products ] ) ? $new_products[ $products ] : 0 ) + ( isset( $added_products[ $products ] ) ? $added_products[ $products ] : 0 );
|
1520 |
-
}
|
1521 |
-
|
1522 |
-
$orders_products_data = array();
|
1523 |
-
foreach ( $items as $item ) {
|
1524 |
-
$checked = 0;
|
1525 |
-
$qty = $item->get_quantity();
|
1526 |
-
|
1527 |
-
if ( 1 == $items_count && 1 == $qty ) {
|
1528 |
-
return $status_shipped;
|
1529 |
-
}
|
1530 |
-
|
1531 |
-
$variation_id = $item->get_variation_id();
|
1532 |
-
$product_id = $item->get_product_id();
|
1533 |
-
|
1534 |
-
if ( 0 != $variation_id ) {
|
1535 |
-
$product_id = $variation_id;
|
1536 |
-
}
|
1537 |
-
|
1538 |
-
$orders_products_data[ $product_id ] = $qty;
|
1539 |
-
}
|
1540 |
-
|
1541 |
-
$change_status = 0;
|
1542 |
-
$autocomplete_order = true;
|
1543 |
-
|
1544 |
-
foreach ( $orders_products_data as $product_id => $qty ) {
|
1545 |
-
if (isset( $total_products_data[ $product_id ] ) ) {
|
1546 |
-
if ( $qty > $total_products_data[ $product_id ] ) {
|
1547 |
-
$autocomplete_order = false;
|
1548 |
-
$change_status = 1;
|
1549 |
-
} else {
|
1550 |
-
$change_status = 1;
|
1551 |
-
}
|
1552 |
-
} else {
|
1553 |
-
$autocomplete_order = false;
|
1554 |
-
}
|
1555 |
-
}
|
1556 |
-
|
1557 |
-
if ( $autocomplete_order && 1 == $change_status ) {
|
1558 |
-
$status_shipped = 1;
|
1559 |
-
}
|
1560 |
-
return $status_shipped;
|
1561 |
-
}
|
1562 |
-
|
1563 |
-
/*
|
1564 |
-
* Function for get already added product in TPI
|
1565 |
-
*/
|
1566 |
-
public function get_all_added_product_list_with_qty( $order_id ) {
|
1567 |
-
|
1568 |
-
$ast = WC_Advanced_Shipment_Tracking_Actions::get_instance();
|
1569 |
-
$tracking_items = ast_get_tracking_items( $order_id );
|
1570 |
-
|
1571 |
-
$product_list = array();
|
1572 |
-
|
1573 |
-
foreach ( $tracking_items as $tracking_item ) {
|
1574 |
-
if ( isset( $tracking_item[ 'products_list' ] ) ) {
|
1575 |
-
$product_list[] = $tracking_item[ 'products_list' ];
|
1576 |
-
}
|
1577 |
-
}
|
1578 |
-
|
1579 |
-
$all_list = array();
|
1580 |
-
foreach ( $product_list as $list ) {
|
1581 |
-
foreach ( $list as $in_list ) {
|
1582 |
-
if ( isset( $all_list[ $in_list->product ] ) ) {
|
1583 |
-
$all_list[ $in_list->product ] = (int) $all_list[ $in_list->product ] + (int) $in_list->qty;
|
1584 |
-
} else {
|
1585 |
-
$all_list[ $in_list->product ] = $in_list->qty;
|
1586 |
-
}
|
1587 |
-
}
|
1588 |
-
}
|
1589 |
-
|
1590 |
-
return $all_list;
|
1591 |
-
}
|
1592 |
-
|
1593 |
-
/*
|
1594 |
-
* Updated order status to Shipped(Completed), Partially Shipped, Updated Tracking
|
1595 |
-
*/
|
1596 |
-
public function update_order_status_after_adding_tracking( $status_shipped, $order ) {
|
1597 |
-
|
1598 |
-
$order_id = $order->get_id();
|
1599 |
-
|
1600 |
-
if ( 1 == $status_shipped ) {
|
1601 |
-
|
1602 |
-
$custom_shipped = apply_filters( 'check_for_custom_shipped', false, $status_shipped, $order );
|
1603 |
-
|
1604 |
-
if ( !$custom_shipped ) {
|
1605 |
-
if ( 'completed' == $order->get_status() ) {
|
1606 |
-
do_action( 'send_order_to_trackship', $order_id );
|
1607 |
-
} else {
|
1608 |
-
$order->update_status( 'completed' );
|
1609 |
-
}
|
1610 |
-
}
|
1611 |
-
}
|
1612 |
-
|
1613 |
-
if ( 2 == $status_shipped ) {
|
1614 |
-
|
1615 |
-
$wc_ast_status_partial_shipped = get_option( 'wc_ast_status_partial_shipped' );
|
1616 |
-
|
1617 |
-
if ( $wc_ast_status_partial_shipped ) {
|
1618 |
-
|
1619 |
-
$previous_order_status = $order->get_status();
|
1620 |
-
|
1621 |
-
if ( 'partial-shipped' == $previous_order_status ) {
|
1622 |
-
WC()->mailer()->emails['WC_Email_Customer_Partial_Shipped_Order']->trigger( $order_id, $order );
|
1623 |
-
}
|
1624 |
-
|
1625 |
-
$order->update_status('partial-shipped');
|
1626 |
-
do_action( 'send_order_to_trackship', $order_id );
|
1627 |
-
}
|
1628 |
-
}
|
1629 |
-
|
1630 |
-
if ( 3 == $status_shipped ) {
|
1631 |
-
|
1632 |
-
$wc_ast_status_updated_tracking = get_option( 'wc_ast_status_updated_tracking' );
|
1633 |
-
|
1634 |
-
if ( $wc_ast_status_updated_tracking ) {
|
1635 |
-
|
1636 |
-
$previous_order_status = $order->get_status();
|
1637 |
-
|
1638 |
-
if ( 'updated-tracking' == $previous_order_status ) {
|
1639 |
-
WC()->mailer()->emails['WC_Email_Customer_Updated_Tracking_Order']->trigger( $order_id, $order );
|
1640 |
-
}
|
1641 |
-
|
1642 |
-
$order->update_status( 'updated-tracking' );
|
1643 |
-
do_action( 'send_order_to_trackship', $order_id );
|
1644 |
-
}
|
1645 |
-
}
|
1646 |
-
}
|
1647 |
-
|
1648 |
-
/**
|
1649 |
-
* Check if the value is a valid date
|
1650 |
-
*
|
1651 |
-
* @param mixed $value
|
1652 |
-
*
|
1653 |
-
* @return boolean
|
1654 |
-
*/
|
1655 |
-
public function isDate( $date, $format = 'd-m-Y' ) {
|
1656 |
-
if ( !$date ) {
|
1657 |
-
return false;
|
1658 |
-
}
|
1659 |
-
|
1660 |
-
$d = DateTime::createFromFormat( $format, $date );
|
1661 |
-
// The Y ( 4 digits year ) returns TRUE for any integer with any number of digits so changing the comparison from == to === fixes the issue.
|
1662 |
-
return $d && $d->format( $format ) === $date;
|
1663 |
-
}
|
1664 |
-
|
1665 |
-
/*
|
1666 |
-
* Change completed order email title to Shipped Order
|
1667 |
-
*/
|
1668 |
-
public function change_completed_woocommerce_email_title( $email_title, $email ) {
|
1669 |
-
$wc_ast_status_shipped = get_option( 'wc_ast_status_shipped', 0 );
|
1670 |
-
// Only on backend Woocommerce Settings "Emails" tab
|
1671 |
-
if ( 1 == $wc_ast_status_shipped ) {
|
1672 |
-
if ( isset( $_GET['page'] ) && 'wc-settings' == $_GET['page'] && isset( $_GET['tab'] ) && 'email' == $_GET['tab'] ) {
|
1673 |
-
switch ( $email->id ) {
|
1674 |
-
case 'customer_completed_order':
|
1675 |
-
$email_title = __( 'Shipped Order', 'woo-advanced-shipment-tracking' );
|
1676 |
-
break;
|
1677 |
-
}
|
1678 |
-
}
|
1679 |
-
}
|
1680 |
-
return $email_title;
|
1681 |
-
}
|
1682 |
-
|
1683 |
-
/*
|
1684 |
-
* Add action button in order list to change order status from completed to delivered
|
1685 |
-
*/
|
1686 |
-
public function add_delivered_order_status_actions_button( $actions, $order ) {
|
1687 |
-
|
1688 |
-
wp_enqueue_style( 'ast_styles', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/admin.css', array(), wc_advanced_shipment_tracking()->version );
|
1689 |
-
wp_enqueue_script( 'woocommerce-advanced-shipment-tracking-js', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/js/admin.js', array( 'jquery' ), wc_advanced_shipment_tracking()->version);
|
1690 |
-
wp_localize_script(
|
1691 |
-
'woocommerce-advanced-shipment-tracking-js',
|
1692 |
-
'ast_orders_params',
|
1693 |
-
array(
|
1694 |
-
'order_nonce' => wp_create_nonce( 'ast-order-list' ),
|
1695 |
-
)
|
1696 |
-
);
|
1697 |
-
|
1698 |
-
$wc_ast_show_orders_actions = get_option( 'wc_ast_show_orders_actions' );
|
1699 |
-
$order_array = array();
|
1700 |
-
|
1701 |
-
foreach ( (array) $wc_ast_show_orders_actions as $order_status => $value ) {
|
1702 |
-
if ( 1 == $value ) {
|
1703 |
-
array_push($order_array, $order_status);
|
1704 |
-
}
|
1705 |
-
}
|
1706 |
-
|
1707 |
-
if ( $order->get_shipping_method() != 'Local pickup' && $order->get_shipping_method() != 'Local Pickup' ) {
|
1708 |
-
if ( $order->has_status( $order_array ) ) {
|
1709 |
-
$actions['add_tracking'] = array(
|
1710 |
-
'url' => '#' . $order->get_id(),
|
1711 |
-
'name' => __( 'Add Tracking', 'woo-advanced-shipment-tracking' ),
|
1712 |
-
'icon' => '<i class="fa fa-map-marker"> </i>',
|
1713 |
-
'action' => 'add_inline_tracking', // keep "view" class for a clean button CSS
|
1714 |
-
);
|
1715 |
-
}
|
1716 |
-
}
|
1717 |
-
|
1718 |
-
$wc_ast_status_shipped = get_option( 'wc_ast_status_shipped' );
|
1719 |
-
if ( $wc_ast_status_shipped ) {
|
1720 |
-
$actions['complete']['name'] = __( 'Mark as Shipped', 'woo-advanced-shipment-tracking' );
|
1721 |
-
}
|
1722 |
-
|
1723 |
-
return $actions;
|
1724 |
-
}
|
1725 |
-
|
1726 |
-
/*
|
1727 |
-
* Get providers list html
|
1728 |
-
*/
|
1729 |
-
public function get_provider_html( $default_shippment_providers, $status ) {
|
1730 |
-
$WC_Countries = new WC_Countries();
|
1731 |
-
$upload_dir = wp_upload_dir();
|
1732 |
-
$ast_directory = $upload_dir['baseurl'] . '/ast-shipping-providers/';
|
1733 |
-
?>
|
1734 |
-
<div class="provider_list">
|
1735 |
-
<?php
|
1736 |
-
if ( $default_shippment_providers ) {
|
1737 |
-
if ( 'custom' == $status ) {
|
1738 |
-
?>
|
1739 |
-
</br><a href="javaScript:void(0);" class="button-primary btn_ast2 btn_large add_custom_provider" id="add-custom"><span class="dashicons dashicons-plus-alt"></span><?php esc_html_e( 'Add Custom Provider', 'woo-advanced-shipment-tracking' ); ?></a>
|
1740 |
-
<?php } ?>
|
1741 |
-
<div class="provider-grid-row grid-row">
|
1742 |
-
<?php
|
1743 |
-
foreach ( $default_shippment_providers as $d_s_p ) {
|
1744 |
-
$provider_type = ( 1 == $d_s_p->shipping_default ) ? 'default_provider' : 'custom_provider';
|
1745 |
-
?>
|
1746 |
-
<div class="grid-item hip-item">
|
1747 |
-
<div class="grid-top">
|
1748 |
-
<div class="grid-provider-img">
|
1749 |
-
<?php
|
1750 |
-
$custom_thumb_id = $d_s_p->custom_thumb_id;
|
1751 |
-
if ( 1 == $d_s_p->shipping_default ) {
|
1752 |
-
if ( 0 != $custom_thumb_id ) {
|
1753 |
-
$image_attributes = wp_get_attachment_image_src( $custom_thumb_id , array( '60', '60' ) );
|
1754 |
-
$provider_image = $image_attributes[0];
|
1755 |
-
} else {
|
1756 |
-
$provider_image = $ast_directory . '' . sanitize_title( $d_s_p->provider_name ) . '.png?v=' . wc_advanced_shipment_tracking()->version;
|
1757 |
-
}
|
1758 |
-
echo '<img class="provider-thumb" src="' . esc_url( $provider_image ) . '">';
|
1759 |
-
} else {
|
1760 |
-
$image_attributes = wp_get_attachment_image_src( $custom_thumb_id , array( '60', '60' ) );
|
1761 |
-
|
1762 |
-
if ( 0 != $custom_thumb_id ) {
|
1763 |
-
echo '<img class="provider-thumb" src="' . esc_url( $image_attributes[0] ) . '">';
|
1764 |
-
} else {
|
1765 |
-
echo '<img class="provider-thumb" src="' . esc_url( wc_advanced_shipment_tracking()->plugin_dir_url() ) . 'assets/images/icon-default.png">';
|
1766 |
-
}
|
1767 |
-
}
|
1768 |
-
?>
|
1769 |
-
</div>
|
1770 |
-
<div class="grid-provider-name">
|
1771 |
-
<span class="provider_name">
|
1772 |
-
<?php
|
1773 |
-
esc_html_e( $d_s_p->provider_name );
|
1774 |
-
$enable_edit = false;
|
1775 |
-
|
1776 |
-
if ( isset( $d_s_p->custom_provider_name ) && '' != $d_s_p->custom_provider_name ) {
|
1777 |
-
esc_html_e( ' (' . $d_s_p->custom_provider_name . ')' );
|
1778 |
-
$enable_edit = true;
|
1779 |
-
}
|
1780 |
-
|
1781 |
-
if ( isset( $d_s_p->api_provider_name ) && '' != $d_s_p->api_provider_name ) {
|
1782 |
-
$enable_edit = true;
|
1783 |
-
if ( $this->isJSON( $d_s_p->api_provider_name ) && class_exists( 'ast_pro' ) ) {
|
1784 |
-
$api_count = count( json_decode( $d_s_p->api_provider_name ) );
|
1785 |
-
} else {
|
1786 |
-
$api_count = 1;
|
1787 |
-
}
|
1788 |
-
$api_text = __( 'API aliases', 'woo-advanced-shipment-tracking' );
|
1789 |
-
esc_html_e( ' (' . $api_count . ' ' . $api_text . ')' );
|
1790 |
-
}
|
1791 |
-
?>
|
1792 |
-
</span>
|
1793 |
-
<span class="provider_country">
|
1794 |
-
<?php
|
1795 |
-
$search = array('(US)', '(UK)');
|
1796 |
-
$replace = array('', '');
|
1797 |
-
|
1798 |
-
if ( $d_s_p->shipping_country && 'Global' != $d_s_p->shipping_country ) {
|
1799 |
-
esc_html_e( str_replace( $search, $replace, $WC_Countries->countries[ $d_s_p->shipping_country ] ) );
|
1800 |
-
} elseif ( $d_s_p->shipping_country && 'Global' == $d_s_p->shipping_country ) {
|
1801 |
-
esc_html_e( 'Global' );
|
1802 |
-
}
|
1803 |
-
?>
|
1804 |
-
</span>
|
1805 |
-
</div>
|
1806 |
-
<div class="grid-provider-settings">
|
1807 |
-
<?php
|
1808 |
-
|
1809 |
-
$edit_provider_class = ( $enable_edit ) ? apply_filters( 'edit_provider_class', 'edit_provider' ) : 'upgrade_to_ast_pro';
|
1810 |
-
|
1811 |
-
if ( 0 == $d_s_p->shipping_default ) {
|
1812 |
-
echo '<span class="dashicons dashicons-trash remove provider_actions_btn" data-pid="' . esc_html( $d_s_p->id ) . '"></span>';
|
1813 |
-
}
|
1814 |
-
?>
|
1815 |
-
<span class="dashicons dashicons-admin-generic <?php esc_html_e( $edit_provider_class ); ?> provider_actions_btn" data-provider="<?php esc_html_e( $provider_type ); ?>" data-pid="<?php esc_html_e( $d_s_p->id ); ?>"></span>
|
1816 |
-
</div>
|
1817 |
-
</div>
|
1818 |
-
<div class="grid-bottom">
|
1819 |
-
<div class="grid-provider-ts">
|
1820 |
-
<?php
|
1821 |
-
if ( 1 == $d_s_p->trackship_supported ) {
|
1822 |
-
echo '<span class="dashicons dashicons-yes-alt"></span>';
|
1823 |
-
} else {
|
1824 |
-
echo '<span class="dashicons dashicons-dismiss"></span>';
|
1825 |
-
}
|
1826 |
-
?>
|
1827 |
-
<span>TrackShip</span>
|
1828 |
-
</div>
|
1829 |
-
<div class="grid-provider-enable">
|
1830 |
-
<?php $checked = ( 1 == $d_s_p->display_in_order ) ? 'checked' : ''; ?>
|
1831 |
-
<input class="ast-tgl ast-tgl-flat status_slide" id="list-switch-<?php esc_html_e( $d_s_p->id ); ?>" name="select_custom_provider[]" type="checkbox" <?php esc_html_e( $checked ); ?> value="<?php esc_html_e( $d_s_p->id ); ?>"/>
|
1832 |
-
<label class="ast-tgl-btn" for="list-switch-<?php esc_html_e( $d_s_p->id ); ?>"></label>
|
1833 |
-
</div>
|
1834 |
-
</div>
|
1835 |
-
</div>
|
1836 |
-
<?php } ?>
|
1837 |
-
|
1838 |
-
</div>
|
1839 |
-
<?php
|
1840 |
-
} else {
|
1841 |
-
if ( 'custom' == $status ) {
|
1842 |
-
?>
|
1843 |
-
<p class="provider_message">
|
1844 |
-
<?php
|
1845 |
-
/* translators: %s: replace with status */
|
1846 |
-
printf( esc_html_e( 'You did not create any %s shipping providers yet.', 'woo-advanced-shipment-tracking' ), esc_html( $status ) );
|
1847 |
-
?>
|
1848 |
-
</p>
|
1849 |
-
<a href="javaScript:void(0);" class="button-primary btn_ast2 btn_large add_custom_provider" id="add-custom">
|
1850 |
-
<span class="dashicons dashicons-plus-alt"></span>
|
1851 |
-
<?php esc_html_e( 'Add Custom Provider', 'woo-advanced-shipment-tracking' ); ?>
|
1852 |
-
</a>
|
1853 |
-
<?php } else { ?>
|
1854 |
-
<p class="provider_message">
|
1855 |
-
<?php
|
1856 |
-
/* translators: %s: replace with status */
|
1857 |
-
printf( esc_html_e( "You don't have any %s shipping providers.", 'woo-advanced-shipment-tracking' ), esc_html( $status ) );
|
1858 |
-
?>
|
1859 |
-
</p>
|
1860 |
-
<?php
|
1861 |
-
}
|
1862 |
-
}
|
1863 |
-
?>
|
1864 |
-
</div>
|
1865 |
-
<?php
|
1866 |
-
}
|
1867 |
-
|
1868 |
-
/*
|
1869 |
-
* filter shipping providers by stats
|
1870 |
-
*/
|
1871 |
-
public function filter_shipiing_provider_by_status_fun() {
|
1872 |
-
|
1873 |
-
if ( ! current_user_can( 'manage_woocommerce' ) ) {
|
1874 |
-
exit( 'You are not allowed' );
|
1875 |
-
}
|
1876 |
-
|
1877 |
-
check_ajax_referer( 'nonce_shipping_provider', 'security' );
|
1878 |
-
|
1879 |
-
$status = isset( $_POST['status'] ) ? wc_clean( $_POST['status'] ) : '';
|
1880 |
-
|
1881 |
-
global $wpdb;
|
1882 |
-
|
1883 |
-
if ( 'active' == $status ) {
|
1884 |
-
$default_shippment_providers = $wpdb->get_results( "SELECT * FROM $this->table WHERE display_in_order = 1" );
|
1885 |
-
}
|
1886 |
-
|
1887 |
-
if ( 'inactive' == $status ) {
|
1888 |
-
$default_shippment_providers = $wpdb->get_results( "SELECT * FROM $this->table WHERE display_in_order = 0" );
|
1889 |
-
}
|
1890 |
-
|
1891 |
-
if ( 'custom' == $status ) {
|
1892 |
-
$default_shippment_providers = $wpdb->get_results( "SELECT * FROM $this->table WHERE shipping_default = 0" );
|
1893 |
-
}
|
1894 |
-
|
1895 |
-
if ( 'all' == $status ) {
|
1896 |
-
$status = '';
|
1897 |
-
$default_shippment_providers = $wpdb->get_results( "SELECT * FROM $this->table ORDER BY shipping_default ASC, display_in_order DESC, trackship_supported DESC, id ASC" );
|
1898 |
-
}
|
1899 |
-
|
1900 |
-
$html = $this->get_provider_html( $default_shippment_providers, $status );
|
1901 |
-
exit;
|
1902 |
-
}
|
1903 |
-
|
1904 |
-
/*
|
1905 |
-
* Check if valid json
|
1906 |
-
*/
|
1907 |
-
public function isJSON( $string ) {
|
1908 |
-
return is_string( $string ) && is_array( json_decode( $string, true ) ) && ( json_last_error() == JSON_ERROR_NONE ) ? true : false;
|
1909 |
-
}
|
1910 |
-
|
1911 |
-
/*
|
1912 |
-
* Update shipment provider status
|
1913 |
-
*/
|
1914 |
-
public function update_shipment_status_fun() {
|
1915 |
-
|
1916 |
-
if ( ! current_user_can( 'manage_woocommerce' ) ) {
|
1917 |
-
exit( 'You are not allowed' );
|
1918 |
-
}
|
1919 |
-
|
1920 |
-
check_ajax_referer( 'nonce_shipping_provider', 'security' );
|
1921 |
-
|
1922 |
-
$checked = isset( $_POST['checked'] ) ? wc_clean( $_POST['checked'] ) : '';
|
1923 |
-
$id = isset( $_POST['id'] ) ? wc_clean( $_POST['id'] ) : '';
|
1924 |
-
|
1925 |
-
global $wpdb;
|
1926 |
-
$success = $wpdb->update( $this->table,
|
1927 |
-
array(
|
1928 |
-
'display_in_order' => $checked,
|
1929 |
-
),
|
1930 |
-
array( 'id' => $id )
|
1931 |
-
);
|
1932 |
-
exit;
|
1933 |
-
}
|
1934 |
-
|
1935 |
-
/**
|
1936 |
-
* Update default provider function
|
1937 |
-
*/
|
1938 |
-
public function update_default_provider_fun() {
|
1939 |
-
|
1940 |
-
if ( ! current_user_can( 'manage_woocommerce' ) ) {
|
1941 |
-
exit( 'You are not allowed' );
|
1942 |
-
}
|
1943 |
-
|
1944 |
-
check_ajax_referer( 'nonce_shipping_provider', 'security' );
|
1945 |
-
|
1946 |
-
$default_provider = isset( $_POST['default_provider'] ) ? wc_clean( $_POST['default_provider'] ) : '';
|
1947 |
-
$checked = isset( $_POST['checked'] ) ? wc_clean( $_POST['checked'] ) : '';
|
1948 |
-
|
1949 |
-
if ( 1 == $checked ) {
|
1950 |
-
update_option( 'wc_ast_default_provider', $default_provider );
|
1951 |
-
} else {
|
1952 |
-
update_option( 'wc_ast_default_provider', '' );
|
1953 |
-
}
|
1954 |
-
exit;
|
1955 |
-
}
|
1956 |
-
|
1957 |
-
/**
|
1958 |
-
* Create slug from title
|
1959 |
-
*/
|
1960 |
-
public static function create_slug( $text ) {
|
1961 |
-
// replace non letter or digits by -
|
1962 |
-
$text = preg_replace('~[^\pL\d]+~u', '-', $text);
|
1963 |
-
|
1964 |
-
// transliterate
|
1965 |
-
$text = iconv('utf-8', 'us-ascii//TRANSLIT', $text);
|
1966 |
-
|
1967 |
-
// remove unwanted characters
|
1968 |
-
$text = preg_replace('~[^-\w]+~', '', $text);
|
1969 |
-
|
1970 |
-
// trim
|
1971 |
-
$text = trim($text, '-');
|
1972 |
-
|
1973 |
-
// remove duplicate -
|
1974 |
-
$text = preg_replace('~-+~', '-', $text);
|
1975 |
-
|
1976 |
-
// lowercase
|
1977 |
-
$text = strtolower($text);
|
1978 |
-
|
1979 |
-
$text = 'cp-' . $text;
|
1980 |
-
|
1981 |
-
if ( empty( $text ) ) {
|
1982 |
-
return '';
|
1983 |
-
}
|
1984 |
-
|
1985 |
-
return $text;
|
1986 |
-
}
|
1987 |
-
|
1988 |
-
/*
|
1989 |
-
* Delet provide by ajax
|
1990 |
-
*/
|
1991 |
-
public function woocommerce_shipping_provider_delete() {
|
1992 |
-
|
1993 |
-
if ( ! current_user_can( 'manage_woocommerce' ) ) {
|
1994 |
-
exit( 'You are not allowed' );
|
1995 |
-
}
|
1996 |
-
|
1997 |
-
check_ajax_referer( 'nonce_shipping_provider', 'security' );
|
1998 |
-
|
1999 |
-
$provider_id = isset( $_POST['provider_id'] ) ? wc_clean( $_POST['provider_id'] ) : '';
|
2000 |
-
|
2001 |
-
if ( ! empty( $provider_id ) ) {
|
2002 |
-
global $wpdb;
|
2003 |
-
$where = array(
|
2004 |
-
'id' => $provider_id,
|
2005 |
-
'shipping_default' => 0
|
2006 |
-
);
|
2007 |
-
$wpdb->delete( $this->table, $where );
|
2008 |
-
}
|
2009 |
-
$status = 'all';
|
2010 |
-
|
2011 |
-
$default_shippment_providers = $wpdb->get_results( "SELECT * FROM $this->table ORDER BY shipping_default ASC, display_in_order DESC, trackship_supported DESC, id ASC" );
|
2012 |
-
$html = $this->get_provider_html( $default_shippment_providers, $status );
|
2013 |
-
exit;
|
2014 |
-
}
|
2015 |
-
|
2016 |
-
/**
|
2017 |
-
* Get shipping provider details fun
|
2018 |
-
*/
|
2019 |
-
public function get_provider_details_fun() {
|
2020 |
-
|
2021 |
-
if ( ! current_user_can( 'manage_woocommerce' ) ) {
|
2022 |
-
exit( 'You are not allowed' );
|
2023 |
-
}
|
2024 |
-
|
2025 |
-
check_ajax_referer( 'nonce_shipping_provider', 'security' );
|
2026 |
-
|
2027 |
-
$id = isset( $_POST['provider_id'] ) ? wc_clean( $_POST['provider_id'] ) : '';
|
2028 |
-
global $wpdb;
|
2029 |
-
|
2030 |
-
$shippment_provider = $wpdb->get_results( $wpdb->prepare( "SELECT * FROM $this->table WHERE id=%d", $id ) );
|
2031 |
-
|
2032 |
-
if ( 0 != $shippment_provider[0]->custom_thumb_id ) {
|
2033 |
-
$image = wp_get_attachment_url( $shippment_provider[0]->custom_thumb_id );
|
2034 |
-
} else {
|
2035 |
-
$image = null;
|
2036 |
-
}
|
2037 |
-
|
2038 |
-
$provider_name = $shippment_provider[0]->provider_name;
|
2039 |
-
$custom_provider_name = $shippment_provider[0]->custom_provider_name;
|
2040 |
-
$api_provider_name = $shippment_provider[0]->api_provider_name;
|
2041 |
-
|
2042 |
-
echo json_encode( array('id' => $shippment_provider[0]->id,'provider_name' => $provider_name,'custom_provider_name' => $custom_provider_name,'api_provider_name' => $api_provider_name,'provider_url' => $shippment_provider[0]->provider_url,'shipping_country' => $shippment_provider[0]->shipping_country,'custom_thumb_id' => $shippment_provider[0]->custom_thumb_id,'image' => $image) );
|
2043 |
-
exit;
|
2044 |
-
}
|
2045 |
-
|
2046 |
-
/**
|
2047 |
-
* Update custom shipping provider and returen html of it
|
2048 |
-
*/
|
2049 |
-
public function update_custom_shipment_provider_fun() {
|
2050 |
-
|
2051 |
-
if ( ! current_user_can( 'manage_woocommerce' ) ) {
|
2052 |
-
exit( 'You are not allowed' );
|
2053 |
-
}
|
2054 |
-
|
2055 |
-
check_ajax_referer( 'nonce_edit_shipping_provider', 'nonce_edit_shipping_provider' );
|
2056 |
-
|
2057 |
-
global $wpdb;
|
2058 |
-
|
2059 |
-
$provider_id = isset( $_POST['provider_id'] ) ? wc_clean( $_POST['provider_id'] ) : '';
|
2060 |
-
$tracking_url = isset( $_POST['tracking_url'] ) ? wc_clean( $_POST['tracking_url'] ) : '';
|
2061 |
-
$thumb_id = isset( $_POST['thumb_id'] ) ? wc_clean( $_POST['thumb_id'] ) : '';
|
2062 |
-
$shipping_provider = isset( $_POST['shipping_provider'] ) ? wc_clean( $_POST['shipping_provider'] ) : '';
|
2063 |
-
$shipping_display_name = isset( $_POST['shipping_display_name'] ) ? wc_clean( $_POST['shipping_display_name'] ) : '';
|
2064 |
-
$shipping_country = isset( $_POST['shipping_country'] ) ? wc_clean( $_POST['shipping_country'] ) : '';
|
2065 |
-
$api_provider_name = isset( $_POST['api_provider_name'] ) ? wc_clean( $_POST['api_provider_name'] ) : '';
|
2066 |
-
$provider_type = isset( $_POST['provider_type'] ) ? wc_clean( $_POST['provider_type'] ) : '';
|
2067 |
-
|
2068 |
-
if ( [] == array_filter( $api_provider_name ) ) {
|
2069 |
-
$api_provider_name = null;
|
2070 |
-
} else {
|
2071 |
-
$api_provider_name = wc_clean( json_encode( $api_provider_name ) );
|
2072 |
-
}
|
2073 |
-
|
2074 |
-
if ( 'default_provider' == $provider_type ) {
|
2075 |
-
$data_array = array(
|
2076 |
-
'custom_provider_name' => $shipping_display_name,
|
2077 |
-
'api_provider_name' => $api_provider_name,
|
2078 |
-
'custom_thumb_id' => $thumb_id,
|
2079 |
-
);
|
2080 |
-
} else {
|
2081 |
-
$data_array = array(
|
2082 |
-
'shipping_country' => $shipping_country,
|
2083 |
-
'provider_name' => $shipping_provider,
|
2084 |
-
'custom_provider_name' => $shipping_display_name,
|
2085 |
-
'ts_slug' => $shipping_provider,
|
2086 |
-
'custom_thumb_id' => $thumb_id,
|
2087 |
-
'provider_url' => $tracking_url
|
2088 |
-
);
|
2089 |
-
}
|
2090 |
-
|
2091 |
-
$where_array = array(
|
2092 |
-
'id' => $provider_id,
|
2093 |
-
);
|
2094 |
-
$wpdb->update( $this->table, $data_array, $where_array );
|
2095 |
-
$status = 'active';
|
2096 |
-
$default_shippment_providers = $wpdb->get_results( "SELECT * FROM $this->table ORDER BY shipping_default ASC, display_in_order DESC, trackship_supported DESC, id ASC" );
|
2097 |
-
$html = $this->get_provider_html( $default_shippment_providers, $status );
|
2098 |
-
exit;
|
2099 |
-
}
|
2100 |
-
|
2101 |
-
/**
|
2102 |
-
* Reset default provider
|
2103 |
-
*/
|
2104 |
-
public function reset_default_provider_fun() {
|
2105 |
-
|
2106 |
-
if ( ! current_user_can( 'manage_woocommerce' ) ) {
|
2107 |
-
exit( 'You are not allowed' );
|
2108 |
-
}
|
2109 |
-
|
2110 |
-
check_ajax_referer( 'nonce_shipping_provider', 'security' );
|
2111 |
-
|
2112 |
-
global $wpdb;
|
2113 |
-
|
2114 |
-
$provider_id = isset( $_POST['provider_id'] ) ? wc_clean( $_POST['provider_id'] ) : '';
|
2115 |
-
|
2116 |
-
$data_array = array(
|
2117 |
-
'custom_provider_name' => null,
|
2118 |
-
'custom_thumb_id' => null,
|
2119 |
-
'api_provider_name' => null,
|
2120 |
-
);
|
2121 |
-
|
2122 |
-
$where_array = array(
|
2123 |
-
'id' => $provider_id,
|
2124 |
-
);
|
2125 |
-
|
2126 |
-
$wpdb->update( $this->table, $data_array, $where_array );
|
2127 |
-
$status = 'active';
|
2128 |
-
$default_shippment_providers = $wpdb->get_results( "SELECT * FROM $this->table ORDER BY shipping_default ASC, display_in_order DESC, trackship_supported DESC, id ASC" );
|
2129 |
-
$html = $this->get_provider_html( $default_shippment_providers, $status );
|
2130 |
-
exit;
|
2131 |
-
}
|
2132 |
-
|
2133 |
-
/**
|
2134 |
-
* Update bulk status of providers to active
|
2135 |
-
*/
|
2136 |
-
public function update_provider_status_fun() {
|
2137 |
-
|
2138 |
-
if ( ! current_user_can( 'manage_woocommerce' ) ) {
|
2139 |
-
exit( 'You are not allowed' );
|
2140 |
-
}
|
2141 |
-
|
2142 |
-
check_ajax_referer( 'nonce_shipping_provider', 'security' );
|
2143 |
-
|
2144 |
-
global $wpdb;
|
2145 |
-
|
2146 |
-
$status = isset( $_POST['status'] ) ? wc_clean( $_POST['status'] ) : '';
|
2147 |
-
|
2148 |
-
$data_array = array(
|
2149 |
-
'display_in_order' => $status,
|
2150 |
-
);
|
2151 |
-
|
2152 |
-
$display_in_order = ( 1 == $status ) ? 0 : 1;
|
2153 |
-
|
2154 |
-
$where_array = array(
|
2155 |
-
'display_in_order' => $display_in_order,
|
2156 |
-
);
|
2157 |
-
|
2158 |
-
$wpdb->update( $this->table, $data_array, $where_array );
|
2159 |
-
$status = 'all';
|
2160 |
-
$default_shippment_providers = $wpdb->get_results( "SELECT * FROM $this->table ORDER BY shipping_default ASC, display_in_order DESC, trackship_supported DESC, id ASC" );
|
2161 |
-
$html = $this->get_provider_html( $default_shippment_providers, $status );
|
2162 |
-
exit;
|
2163 |
-
}
|
2164 |
-
|
2165 |
-
/**
|
2166 |
-
* Add bulk filter for Shipping provider in orders list
|
2167 |
-
*
|
2168 |
-
* @since 2.4
|
2169 |
-
*/
|
2170 |
-
public function filter_orders_by_shipping_provider() {
|
2171 |
-
global $typenow, $wpdb;
|
2172 |
-
$default_shippment_providers = $wpdb->get_results( "SELECT * FROM $this->table ORDER BY shipping_default ASC, display_in_order DESC, trackship_supported DESC, id ASC" );
|
2173 |
-
|
2174 |
-
if ( 'shop_order' === $typenow ) {
|
2175 |
-
?>
|
2176 |
-
<select name="_shop_order_shipping_provider" id="dropdown_shop_order_shipping_provider">
|
2177 |
-
<option value=""><?php esc_html_e( 'Filter by shipping provider', 'woo-advanced-shipment-tracking' ); ?></option>
|
2178 |
-
<?php foreach ( $default_shippment_providers as $provider ) : ?>
|
2179 |
-
<option value="<?php echo esc_attr( $provider->ts_slug ); ?>" <?php echo esc_attr( isset( $_GET['_shop_order_shipping_provider'] ) ? selected( $provider->ts_slug, wc_clean( $_GET['_shop_order_shipping_provider'] ), false ) : '' ); ?>>
|
2180 |
-
<?php printf( '%1$s', esc_html( $provider->provider_name ) ); ?>
|
2181 |
-
</option>
|
2182 |
-
<?php endforeach; ?>
|
2183 |
-
</select>
|
2184 |
-
<?php
|
2185 |
-
}
|
2186 |
-
}
|
2187 |
-
|
2188 |
-
/**
|
2189 |
-
* Process bulk filter action for shipment status orders
|
2190 |
-
*
|
2191 |
-
* @since 3.0.0
|
2192 |
-
* @param array $vars query vars without filtering
|
2193 |
-
* @return array $vars query vars with (maybe) filtering
|
2194 |
-
*/
|
2195 |
-
public function filter_orders_by_shipping_provider_query( $vars ) {
|
2196 |
-
global $typenow;
|
2197 |
-
if ( 'shop_order' === $typenow && isset( $_GET['_shop_order_shipping_provider'] ) && '' != $_GET['_shop_order_shipping_provider'] ) {
|
2198 |
-
$vars['meta_query'][] = array(
|
2199 |
-
'key' => '_wc_shipment_tracking_items',
|
2200 |
-
'value' => wc_clean( $_GET['_shop_order_shipping_provider'] ),
|
2201 |
-
'compare' => 'LIKE'
|
2202 |
-
);
|
2203 |
-
}
|
2204 |
-
|
2205 |
-
return $vars;
|
2206 |
-
}
|
2207 |
-
|
2208 |
-
/**
|
2209 |
-
* Process bulk filter action for shipment status orders
|
2210 |
-
*
|
2211 |
-
* @since 2.7.4
|
2212 |
-
* @param array $vars query vars without filtering
|
2213 |
-
* @return array $vars query vars with (maybe) filtering
|
2214 |
-
*/
|
2215 |
-
public function filter_orders_by_tracking_number_query( $search_fields ) {
|
2216 |
-
$search_fields[] = '_wc_shipment_tracking_items';
|
2217 |
-
return $search_fields;
|
2218 |
-
}
|
2219 |
-
|
2220 |
-
/*
|
2221 |
-
* get tracking provider slug (ts_slug) from database
|
2222 |
-
*
|
2223 |
-
* return provider slug
|
2224 |
-
*/
|
2225 |
-
public function get_provider_slug_from_name( $tracking_provider_name ) {
|
2226 |
-
|
2227 |
-
global $wpdb;
|
2228 |
-
|
2229 |
-
$tracking_provider = $wpdb->get_var( $wpdb->prepare( "SELECT ts_slug FROM $this->table WHERE api_provider_name = %s", $tracking_provider_name ) );
|
2230 |
-
|
2231 |
-
if ( !$tracking_provider ) {
|
2232 |
-
$query = "SELECT ts_slug FROM $this->table WHERE JSON_CONTAINS(api_provider_name, '[" . '"' . $tracking_provider_name . '"' . "]')";
|
2233 |
-
$tracking_provider = $wpdb->get_var( $query );
|
2234 |
-
}
|
2235 |
-
|
2236 |
-
if ( !$tracking_provider ) {
|
2237 |
-
$tracking_provider = $wpdb->get_var( $wpdb->prepare( "SELECT ts_slug FROM $this->table WHERE provider_name = %s", $tracking_provider_name ) );
|
2238 |
-
}
|
2239 |
-
|
2240 |
-
if ( !$tracking_provider ) {
|
2241 |
-
$tracking_provider = $tracking_provider_name ;
|
2242 |
-
}
|
2243 |
-
|
2244 |
-
return $tracking_provider;
|
2245 |
-
}
|
2246 |
-
|
2247 |
-
/*
|
2248 |
-
* function for add more provider btn
|
2249 |
-
*/
|
2250 |
-
public function add_more_api_provider() {
|
2251 |
-
$tooltip_text = class_exists( 'ast_pro' ) ? __( 'Add API Name alias', 'woo-advanced-shipment-tracking' ) : __( 'Multiple API names mapping is a pro features', 'woo-advanced-shipment-tracking' ) ;
|
2252 |
-
?>
|
2253 |
-
<span class="dashicons dashicons-insert woocommerce-help-tip tipTip add_more_api_provider" title="<?php esc_html_e( $tooltip_text ); ?>"></span>
|
2254 |
-
<?php
|
2255 |
-
}
|
2256 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/class-wc-advanced-shipment-tracking-install.php
DELETED
@@ -1,419 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
if ( ! defined( 'ABSPATH' ) ) {
|
3 |
-
exit;
|
4 |
-
}
|
5 |
-
|
6 |
-
class WC_Advanced_Shipment_Tracking_Install {
|
7 |
-
|
8 |
-
/**
|
9 |
-
* Instance of this class.
|
10 |
-
*
|
11 |
-
* @var object Class Instance
|
12 |
-
*/
|
13 |
-
private static $instance;
|
14 |
-
|
15 |
-
/**
|
16 |
-
* Initialize the main plugin function
|
17 |
-
*/
|
18 |
-
public function __construct() {
|
19 |
-
|
20 |
-
global $wpdb;
|
21 |
-
$this->table = $wpdb->prefix . 'woo_shippment_provider';
|
22 |
-
|
23 |
-
if ( is_multisite() ) {
|
24 |
-
|
25 |
-
if ( ! function_exists( 'is_plugin_active_for_network' ) ) {
|
26 |
-
require_once( ABSPATH . '/wp-admin/includes/plugin.php' );
|
27 |
-
}
|
28 |
-
|
29 |
-
if ( is_plugin_active_for_network( 'woo-advanced-shipment-tracking/woocommerce-advanced-shipment-tracking.php' ) ) {
|
30 |
-
$main_blog_prefix = $wpdb->get_blog_prefix( BLOG_ID_CURRENT_SITE );
|
31 |
-
$this->table = $main_blog_prefix . 'woo_shippment_provider';
|
32 |
-
} else {
|
33 |
-
$this->table = $wpdb->prefix . 'woo_shippment_provider';
|
34 |
-
}
|
35 |
-
} else {
|
36 |
-
$this->table = $wpdb->prefix . 'woo_shippment_provider';
|
37 |
-
}
|
38 |
-
|
39 |
-
$this->init();
|
40 |
-
}
|
41 |
-
|
42 |
-
/**
|
43 |
-
* Get the class instance
|
44 |
-
*
|
45 |
-
* @return WC_Advanced_Shipment_Tracking_Install
|
46 |
-
*/
|
47 |
-
public static function get_instance() {
|
48 |
-
|
49 |
-
if ( null === self::$instance ) {
|
50 |
-
self::$instance = new self();
|
51 |
-
}
|
52 |
-
|
53 |
-
return self::$instance;
|
54 |
-
}
|
55 |
-
|
56 |
-
/*
|
57 |
-
* init from parent mail class
|
58 |
-
*/
|
59 |
-
public function init() {
|
60 |
-
add_action( 'init', array( $this, 'update_database_check' ) );
|
61 |
-
add_action( 'update_ts_shipment_status_order_mete', array( $this, 'update_ts_shipment_status_order_mete' ) );
|
62 |
-
add_action( 'wp_ajax_update_ts_shipment_status_order_mete', array( $this, 'update_ts_shipment_status_order_mete' ) );
|
63 |
-
}
|
64 |
-
|
65 |
-
/**
|
66 |
-
* Define plugin activation function
|
67 |
-
*
|
68 |
-
* Create Table
|
69 |
-
*
|
70 |
-
* Insert data
|
71 |
-
*
|
72 |
-
*
|
73 |
-
*/
|
74 |
-
public function woo_shippment_tracking_install() {
|
75 |
-
|
76 |
-
// Add transient to trigger redirect.
|
77 |
-
set_transient( '_ast_activation_redirect', 1, 30 );
|
78 |
-
|
79 |
-
$this->create_shippment_tracking_table();
|
80 |
-
$this->update_shipping_providers();
|
81 |
-
|
82 |
-
$wc_ast_default_mark_shipped = get_option( 'wc_ast_default_mark_shipped' );
|
83 |
-
if ( '' == $wc_ast_default_mark_shipped ) {
|
84 |
-
update_option( 'wc_ast_default_mark_shipped', 1 );
|
85 |
-
}
|
86 |
-
|
87 |
-
$wc_ast_unclude_tracking_info = get_option( 'wc_ast_unclude_tracking_info' );
|
88 |
-
if ( empty( $wc_ast_unclude_tracking_info ) ) {
|
89 |
-
$data_array = array( 'completed' => 1, 'partial-shipped' => 1, 'updated-tracking' => 1 );
|
90 |
-
update_option( 'wc_ast_unclude_tracking_info', $data_array );
|
91 |
-
}
|
92 |
-
|
93 |
-
$wc_ast_show_orders_actions = get_option( 'wc_ast_show_orders_actions' );
|
94 |
-
if ( empty( $wc_ast_show_orders_actions ) ) {
|
95 |
-
$data_array = array( 'processing' => 1, 'completed' => 1, 'partial-shipped' => 1, 'updated-tracking' => 1 );
|
96 |
-
update_option( 'wc_ast_show_orders_actions', $data_array );
|
97 |
-
}
|
98 |
-
update_option( 'wc_advanced_shipment_tracking', '3.21' );
|
99 |
-
}
|
100 |
-
|
101 |
-
/*
|
102 |
-
* function for create shipping provider table
|
103 |
-
*/
|
104 |
-
public function create_shippment_tracking_table() {
|
105 |
-
|
106 |
-
global $wpdb;
|
107 |
-
|
108 |
-
if ( !$wpdb->query( $wpdb->prepare( 'show tables like %s', $this->table ) ) ) {
|
109 |
-
$charset_collate = $wpdb->get_charset_collate();
|
110 |
-
$sql = "CREATE TABLE $this->table (
|
111 |
-
id mediumint(9) NOT NULL AUTO_INCREMENT,
|
112 |
-
provider_name varchar(500) DEFAULT '' NOT NULL,
|
113 |
-
api_provider_name text NULL DEFAULT NULL,
|
114 |
-
custom_provider_name text NULL DEFAULT NULL,
|
115 |
-
ts_slug text NULL DEFAULT NULL,
|
116 |
-
provider_url varchar(500) DEFAULT '' NULL,
|
117 |
-
shipping_country varchar(45) DEFAULT '' NULL,
|
118 |
-
shipping_default tinyint(4) NULL DEFAULT '0',
|
119 |
-
custom_thumb_id int(11) NOT NULL DEFAULT '0',
|
120 |
-
display_in_order tinyint(4) NOT NULL DEFAULT '1',
|
121 |
-
trackship_supported int(11) NOT NULL DEFAULT '0',
|
122 |
-
sort_order int(11) NOT NULL DEFAULT '0',
|
123 |
-
PRIMARY KEY (id)
|
124 |
-
) $charset_collate;";
|
125 |
-
require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
|
126 |
-
dbDelta( $sql );
|
127 |
-
} else {
|
128 |
-
$this->check_all_column_exist();
|
129 |
-
}
|
130 |
-
}
|
131 |
-
|
132 |
-
/*
|
133 |
-
* check if all column exist in shipping provider database
|
134 |
-
*/
|
135 |
-
public function check_all_column_exist() {
|
136 |
-
|
137 |
-
global $wpdb;
|
138 |
-
$results = $wpdb->get_row( "SELECT * FROM $this->table LIMIT 1", ARRAY_A );
|
139 |
-
$db_update_need = false;
|
140 |
-
|
141 |
-
if ( !array_key_exists( 'provider_name', $results ) ) {
|
142 |
-
$wpdb->query( "ALTER TABLE $this->table ADD provider_name varchar(500) DEFAULT '' NOT NULL AFTER id" );
|
143 |
-
$db_update_need = true;
|
144 |
-
}
|
145 |
-
|
146 |
-
if ( !array_key_exists( 'api_provider_name', $results ) ) {
|
147 |
-
$wpdb->query( "ALTER TABLE $this->table ADD api_provider_name text NULL DEFAULT NULL AFTER provider_name" );
|
148 |
-
$db_update_need = true;
|
149 |
-
}
|
150 |
-
|
151 |
-
if ( !array_key_exists( 'custom_provider_name', $results ) ) {
|
152 |
-
$wpdb->query( "ALTER TABLE $this->table ADD custom_provider_name text NULL DEFAULT NULL AFTER api_provider_name" );
|
153 |
-
$db_update_need = true;
|
154 |
-
}
|
155 |
-
|
156 |
-
if ( !array_key_exists( 'ts_slug', $results ) ) {
|
157 |
-
$wpdb->query( "ALTER TABLE $this->table ADD ts_slug text NULL DEFAULT NULL AFTER custom_provider_name" );
|
158 |
-
$db_update_need = true;
|
159 |
-
}
|
160 |
-
|
161 |
-
if ( !array_key_exists( 'provider_url', $results ) ) {
|
162 |
-
$wpdb->query( "ALTER TABLE $this->table ADD provider_url varchar(500) DEFAULT '' NULL AFTER ts_slug" );
|
163 |
-
$db_update_need = true;
|
164 |
-
}
|
165 |
-
|
166 |
-
if ( !array_key_exists( 'shipping_country', $results ) ) {
|
167 |
-
$wpdb->query( "ALTER TABLE $this->table ADD shipping_country varchar(45) DEFAULT '' NULL AFTER provider_url" );
|
168 |
-
$db_update_need = true;
|
169 |
-
}
|
170 |
-
|
171 |
-
if ( !array_key_exists( 'shipping_default', $results ) ) {
|
172 |
-
$wpdb->query( "ALTER TABLE $this->table ADD shipping_default tinyint(4) NULL DEFAULT '0' AFTER shipping_country" );
|
173 |
-
$db_update_need = true;
|
174 |
-
}
|
175 |
-
|
176 |
-
if ( !array_key_exists( 'custom_thumb_id', $results ) ) {
|
177 |
-
$wpdb->query( "ALTER TABLE $this->table ADD custom_thumb_id int(11) NOT NULL DEFAULT '0' AFTER shipping_default" );
|
178 |
-
$db_update_need = true;
|
179 |
-
}
|
180 |
-
|
181 |
-
if ( !array_key_exists( 'display_in_order', $results ) ) {
|
182 |
-
$wpdb->query( "ALTER TABLE $this->table ADD display_in_order tinyint(4) NOT NULL DEFAULT '1' AFTER custom_thumb_id" );
|
183 |
-
$db_update_need = true;
|
184 |
-
}
|
185 |
-
|
186 |
-
if ( !array_key_exists( 'trackship_supported', $results ) ) {
|
187 |
-
$wpdb->query( "ALTER TABLE $this->table ADD trackship_supported int(11) NOT NULL DEFAULT '0' AFTER display_in_order" );
|
188 |
-
$db_update_need = true;
|
189 |
-
}
|
190 |
-
|
191 |
-
if ( !array_key_exists( 'sort_order', $results ) ) {
|
192 |
-
$wpdb->query( "ALTER TABLE $this->table ADD sort_order int(11) NOT NULL DEFAULT '0' AFTER trackship_supported" );
|
193 |
-
$db_update_need = true;
|
194 |
-
}
|
195 |
-
|
196 |
-
if ( $db_update_need ) {
|
197 |
-
$this->update_shipping_providers();
|
198 |
-
}
|
199 |
-
}
|
200 |
-
|
201 |
-
/*
|
202 |
-
* database update
|
203 |
-
*/
|
204 |
-
public function update_database_check() {
|
205 |
-
if ( is_admin() ) {
|
206 |
-
|
207 |
-
if ( version_compare( get_option( 'wc_advanced_shipment_tracking' ), '3.14', '<' ) ) {
|
208 |
-
$this->add_provider_image_in_upload_directory();
|
209 |
-
update_option( 'wc_advanced_shipment_tracking', '3.14');
|
210 |
-
}
|
211 |
-
|
212 |
-
if ( version_compare( get_option( 'wc_advanced_shipment_tracking' ), '3.20', '<' ) ) {
|
213 |
-
as_schedule_single_action( time(), 'update_ts_shipment_status_order_mete' , array( 'order_page' => 1 ), '' );
|
214 |
-
as_schedule_single_action( time(), 'update_ts_shipment_status_order_mete' , array( 'order_page' => 2 ), '' );
|
215 |
-
as_schedule_single_action( time(), 'update_ts_shipment_status_order_mete' , array( 'order_page' => 3 ), '' );
|
216 |
-
as_schedule_single_action( time(), 'update_ts_shipment_status_order_mete' , array( 'order_page' => 4 ), '' );
|
217 |
-
as_schedule_single_action( time(), 'update_ts_shipment_status_order_mete' , array( 'order_page' => 5 ), '' );
|
218 |
-
as_schedule_single_action( time(), 'update_ts_shipment_status_order_mete' , array( 'order_page' => 6 ), '' );
|
219 |
-
as_schedule_single_action( time(), 'update_ts_shipment_status_order_mete' , array( 'order_page' => 7 ), '' );
|
220 |
-
as_schedule_single_action( time(), 'update_ts_shipment_status_order_mete' , array( 'order_page' => 8 ), '' );
|
221 |
-
as_schedule_single_action( time(), 'update_ts_shipment_status_order_mete' , array( 'order_page' => 9 ), '' );
|
222 |
-
as_schedule_single_action( time(), 'update_ts_shipment_status_order_mete' , array( 'order_page' => 10 ), '' );
|
223 |
-
update_option( 'wc_advanced_shipment_tracking', '3.20');
|
224 |
-
}
|
225 |
-
|
226 |
-
if ( version_compare( get_option( 'wc_advanced_shipment_tracking' ), '3.21', '<') ) {
|
227 |
-
$this->check_all_column_exist();
|
228 |
-
update_option( 'wc_advanced_shipment_tracking', '3.21');
|
229 |
-
}
|
230 |
-
if ( version_compare( get_option( 'wc_advanced_shipment_tracking' ), '3.22', '<' ) ) {
|
231 |
-
|
232 |
-
$upload_dir = wp_upload_dir();
|
233 |
-
$ast_directory = $upload_dir['baseurl'] . '/ast-shipping-providers/';
|
234 |
-
|
235 |
-
$tracking_items[] = array(
|
236 |
-
'tracking_provider' => 'usps',
|
237 |
-
'custom_tracking_provider' => '',
|
238 |
-
'formatted_tracking_provider' => 'USPS',
|
239 |
-
'tracking_provider_image' => $ast_directory . 'usps.png',
|
240 |
-
'formatted_tracking_link' => 'https://tools.usps.com/go/TrackConfirmAction_input?qtc_tLabels1=112123113',
|
241 |
-
'ast_tracking_link' => 'https://tools.usps.com/go/TrackConfirmAction_input?qtc_tLabels1=112123113',
|
242 |
-
'tracking_number' => '112123113',
|
243 |
-
'date_shipped' => strtotime( gmdate( 'Y-m-d' ) ),
|
244 |
-
);
|
245 |
-
|
246 |
-
update_post_meta( 1, '_wc_shipment_tracking_items', $tracking_items );
|
247 |
-
update_option( 'wc_advanced_shipment_tracking', '3.22');
|
248 |
-
}
|
249 |
-
}
|
250 |
-
}
|
251 |
-
|
252 |
-
/*
|
253 |
-
* function for update order meta from shipment_status to ts_shipment_status for filter order by shipment status
|
254 |
-
*/
|
255 |
-
public function update_ts_shipment_status_order_mete( $page ) {
|
256 |
-
|
257 |
-
$wc_ast_api_key = get_option( 'wc_ast_api_key' );
|
258 |
-
if ( !$wc_ast_api_key ) {
|
259 |
-
return;
|
260 |
-
}
|
261 |
-
|
262 |
-
$args = array(
|
263 |
-
'limit' => 100,
|
264 |
-
'paged' => $page,
|
265 |
-
'return' => 'ids',
|
266 |
-
);
|
267 |
-
|
268 |
-
$orders = wc_get_orders( $args );
|
269 |
-
|
270 |
-
foreach ( $orders as $order_id ) {
|
271 |
-
$shipment_status = get_post_meta( $order_id, 'shipment_status', true );
|
272 |
-
if ( !empty( $shipment_status ) ) {
|
273 |
-
foreach ( $shipment_status as $key => $shipment ) {
|
274 |
-
$ts_shipment_status[ $key ][ 'status' ] = $shipment[ 'status' ];
|
275 |
-
update_post_meta( $order_id, 'ts_shipment_status', $ts_shipment_status );
|
276 |
-
}
|
277 |
-
}
|
278 |
-
}
|
279 |
-
}
|
280 |
-
|
281 |
-
/**
|
282 |
-
* Function for add provider image in uploads directory under wp-content/uploads/ast-shipping-providers
|
283 |
-
*/
|
284 |
-
public function add_provider_image_in_upload_directory() {
|
285 |
-
$upload_dir = wp_upload_dir();
|
286 |
-
$ast_directory = $upload_dir['basedir'] . '/ast-shipping-providers';
|
287 |
-
|
288 |
-
if ( !is_dir( $ast_directory ) ) {
|
289 |
-
wp_mkdir_p( $ast_directory );
|
290 |
-
}
|
291 |
-
|
292 |
-
$url = 'https://trackship.info/wp-json/WCAST/v1/Provider';
|
293 |
-
$resp = wp_remote_get( $url );
|
294 |
-
|
295 |
-
if ( is_array( $resp ) && ! is_wp_error( $resp ) ) {
|
296 |
-
$providers = json_decode( $resp['body'], true );
|
297 |
-
foreach ( $providers as $provider ) {
|
298 |
-
$provider_name = $provider['shipping_provider'];
|
299 |
-
$img_url = $provider['img_url'];
|
300 |
-
$img_slug = sanitize_title($provider_name);
|
301 |
-
$img = $ast_directory . '/' . $img_slug . '.png';
|
302 |
-
$ch = curl_init();
|
303 |
-
|
304 |
-
curl_setopt($ch, CURLOPT_HEADER, 0);
|
305 |
-
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
|
306 |
-
curl_setopt($ch, CURLOPT_URL, $img_url);
|
307 |
-
|
308 |
-
$data = curl_exec($ch);
|
309 |
-
curl_close($ch);
|
310 |
-
file_put_contents($img, $data);
|
311 |
-
}
|
312 |
-
}
|
313 |
-
}
|
314 |
-
|
315 |
-
/**
|
316 |
-
* Get providers list from trackship and update providers in database
|
317 |
-
*/
|
318 |
-
public function update_shipping_providers() {
|
319 |
-
global $wpdb;
|
320 |
-
$url = 'https://trackship.info/wp-json/WCAST/v1/Provider';
|
321 |
-
$resp = wp_remote_get( $url );
|
322 |
-
|
323 |
-
$upload_dir = wp_upload_dir();
|
324 |
-
$ast_directory = $upload_dir['basedir'] . '/ast-shipping-providers';
|
325 |
-
|
326 |
-
if ( !is_dir( $ast_directory ) ) {
|
327 |
-
wp_mkdir_p( $ast_directory );
|
328 |
-
}
|
329 |
-
|
330 |
-
if ( is_array( $resp ) && ! is_wp_error( $resp ) ) {
|
331 |
-
|
332 |
-
$providers = json_decode( $resp['body'], true );
|
333 |
-
|
334 |
-
$providers_name = array();
|
335 |
-
|
336 |
-
$default_shippment_providers = $wpdb->get_results( "SELECT * FROM $this->table WHERE shipping_default = 1" );
|
337 |
-
foreach ( $default_shippment_providers as $key => $val ) {
|
338 |
-
$shippment_providers[ $val->provider_name ] = $val;
|
339 |
-
}
|
340 |
-
|
341 |
-
foreach ( $providers as $key => $val ) {
|
342 |
-
$providers_name[ $val['provider_name'] ] = $val;
|
343 |
-
}
|
344 |
-
|
345 |
-
$n = 0;
|
346 |
-
foreach ( $providers as $provider ) {
|
347 |
-
|
348 |
-
$provider_name = $provider['shipping_provider'];
|
349 |
-
$provider_url = $provider['provider_url'];
|
350 |
-
$shipping_country = $provider['shipping_country'];
|
351 |
-
$ts_slug = $provider['shipping_provider_slug'];
|
352 |
-
$trackship_supported = $provider['trackship_supported'];
|
353 |
-
|
354 |
-
if ( isset( $shippment_providers[ $provider_name ] ) ) {
|
355 |
-
$db_provider_url = $shippment_providers[$provider_name]->provider_url;
|
356 |
-
$db_shipping_country = $shippment_providers[$provider_name]->shipping_country;
|
357 |
-
$db_ts_slug = $shippment_providers[$provider_name]->ts_slug;
|
358 |
-
$db_trackship_supported = $shippment_providers[$provider_name]->trackship_supported;
|
359 |
-
|
360 |
-
if ( ( $db_provider_url != $provider_url ) || ( $db_shipping_country != $shipping_country ) || ( $db_ts_slug != $ts_slug ) || ( $db_trackship_supported != $trackship_supported ) ) {
|
361 |
-
$data_array = array(
|
362 |
-
'ts_slug' => $ts_slug,
|
363 |
-
'provider_url' => $provider_url,
|
364 |
-
'shipping_country' => $shipping_country,
|
365 |
-
'trackship_supported' => $trackship_supported,
|
366 |
-
);
|
367 |
-
$where_array = array(
|
368 |
-
'provider_name' => $provider_name,
|
369 |
-
);
|
370 |
-
$wpdb->update( $this->table, $data_array, $where_array);
|
371 |
-
}
|
372 |
-
} else {
|
373 |
-
$img_url = $provider['img_url'];
|
374 |
-
$img_slug = sanitize_title($provider_name);
|
375 |
-
$img = $ast_directory . '/' . $img_slug . '.png';
|
376 |
-
|
377 |
-
$ch = curl_init();
|
378 |
-
|
379 |
-
curl_setopt($ch, CURLOPT_HEADER, 0);
|
380 |
-
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
|
381 |
-
curl_setopt($ch, CURLOPT_URL, $img_url);
|
382 |
-
|
383 |
-
$data = curl_exec($ch);
|
384 |
-
curl_close($ch);
|
385 |
-
|
386 |
-
file_put_contents($img, $data);
|
387 |
-
|
388 |
-
$display_in_order = 1;
|
389 |
-
if ( $n > 14 ) {
|
390 |
-
$display_in_order = 0;
|
391 |
-
}
|
392 |
-
|
393 |
-
$data_array = array(
|
394 |
-
'shipping_country' => sanitize_text_field($shipping_country),
|
395 |
-
'provider_name' => sanitize_text_field($provider_name),
|
396 |
-
'ts_slug' => $ts_slug,
|
397 |
-
'provider_url' => sanitize_text_field($provider_url),
|
398 |
-
'display_in_order' => $display_in_order,
|
399 |
-
'shipping_default' => 1,
|
400 |
-
'trackship_supported' => $provider['trackship_supported'],
|
401 |
-
);
|
402 |
-
$result = $wpdb->insert( $this->table, $data_array );
|
403 |
-
$n++;
|
404 |
-
}
|
405 |
-
}
|
406 |
-
|
407 |
-
foreach ( $default_shippment_providers as $db_provider ) {
|
408 |
-
|
409 |
-
if ( !isset( $providers_name[ $db_provider->provider_name ] ) ) {
|
410 |
-
$where = array(
|
411 |
-
'provider_name' => $db_provider->provider_name,
|
412 |
-
'shipping_default' => 1
|
413 |
-
);
|
414 |
-
$wpdb->delete( $this->table, $where );
|
415 |
-
}
|
416 |
-
}
|
417 |
-
}
|
418 |
-
}
|
419 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/class-wc-advanced-shipment-tracking-settings.php
DELETED
@@ -1,704 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
if ( ! defined( 'ABSPATH' ) ) {
|
3 |
-
exit;
|
4 |
-
}
|
5 |
-
|
6 |
-
class WC_Advanced_Shipment_Tracking_Settings {
|
7 |
-
|
8 |
-
/**
|
9 |
-
* Initialize the main plugin function
|
10 |
-
*/
|
11 |
-
public function __construct() {
|
12 |
-
|
13 |
-
global $wpdb;
|
14 |
-
$this->table = $wpdb->prefix . 'woo_shippment_provider';
|
15 |
-
|
16 |
-
if ( is_multisite() ) {
|
17 |
-
|
18 |
-
if ( ! function_exists( 'is_plugin_active_for_network' ) ) {
|
19 |
-
require_once( ABSPATH . '/wp-admin/includes/plugin.php' );
|
20 |
-
}
|
21 |
-
|
22 |
-
if ( is_plugin_active_for_network( 'woo-advanced-shipment-tracking/woocommerce-advanced-shipment-tracking.php' ) ) {
|
23 |
-
$main_blog_prefix = $wpdb->get_blog_prefix( BLOG_ID_CURRENT_SITE );
|
24 |
-
$this->table = $main_blog_prefix . 'woo_shippment_provider';
|
25 |
-
} else {
|
26 |
-
$this->table = $wpdb->prefix . 'woo_shippment_provider';
|
27 |
-
}
|
28 |
-
} else {
|
29 |
-
$this->table = $wpdb->prefix . 'woo_shippment_provider';
|
30 |
-
}
|
31 |
-
}
|
32 |
-
|
33 |
-
/**
|
34 |
-
* Instance of this class.
|
35 |
-
*
|
36 |
-
* @var object Class Instance
|
37 |
-
*/
|
38 |
-
private static $instance;
|
39 |
-
|
40 |
-
/**
|
41 |
-
* Get the class instance
|
42 |
-
*
|
43 |
-
* @return WC_Advanced_Shipment_Tracking_Settings
|
44 |
-
*/
|
45 |
-
public static function get_instance() {
|
46 |
-
|
47 |
-
if ( null === self::$instance ) {
|
48 |
-
self::$instance = new self();
|
49 |
-
}
|
50 |
-
|
51 |
-
return self::$instance;
|
52 |
-
}
|
53 |
-
|
54 |
-
/*
|
55 |
-
* init from parent mail class
|
56 |
-
*/
|
57 |
-
public function init() {
|
58 |
-
|
59 |
-
//rename order status + rename bulk action + rename filter
|
60 |
-
add_filter( 'wc_order_statuses', array( $this, 'wc_renaming_order_status' ) );
|
61 |
-
add_filter( 'woocommerce_register_shop_order_post_statuses', array( $this, 'filter_woocommerce_register_shop_order_post_statuses' ), 10, 1 );
|
62 |
-
add_filter( 'bulk_actions-edit-shop_order', array( $this, 'modify_bulk_actions' ), 50, 1 );
|
63 |
-
|
64 |
-
add_action( 'woocommerce_update_options_email_customer_partial_shipped_order', array( $this, 'save_partial_shipped_email' ), 100, 1);
|
65 |
-
add_action( 'wp_ajax_sync_providers', array( $this, 'sync_providers_fun' ) );
|
66 |
-
|
67 |
-
//new order status
|
68 |
-
$updated_tracking_status = get_option( 'wc_ast_status_updated_tracking', 0 );
|
69 |
-
if ( true == $updated_tracking_status ) {
|
70 |
-
//register order status
|
71 |
-
add_action( 'init', array( $this, 'register_updated_tracking_order_status' ) );
|
72 |
-
//add status after completed
|
73 |
-
add_filter( 'wc_order_statuses', array( $this, 'add_updated_tracking_to_order_statuses' ) );
|
74 |
-
//Custom Statuses in admin reports
|
75 |
-
add_filter( 'woocommerce_reports_order_statuses', array( $this, 'include_updated_tracking_order_status_to_reports' ), 20, 1 );
|
76 |
-
// for automate woo to check order is paid
|
77 |
-
add_filter( 'woocommerce_order_is_paid_statuses', array( $this, 'updated_tracking_woocommerce_order_is_paid_statuses' ) );
|
78 |
-
add_filter('woocommerce_order_is_download_permitted', array( $this, 'add_updated_tracking_to_download_permission' ), 10, 2);
|
79 |
-
//add bulk action
|
80 |
-
add_filter( 'bulk_actions-edit-shop_order', array( $this, 'add_bulk_actions_updated_tracking' ), 50, 1 );
|
81 |
-
//add reorder button
|
82 |
-
add_filter( 'woocommerce_valid_order_statuses_for_order_again', array( $this, 'add_reorder_button_updated_tracking' ), 50, 1 );
|
83 |
-
add_filter( 'wcast_order_status_email_type', array( $this, 'wcast_order_status_email_type' ), 50, 1 );
|
84 |
-
}
|
85 |
-
|
86 |
-
//new order status
|
87 |
-
$partial_shipped_status = get_option( 'wc_ast_status_partial_shipped', 0 );
|
88 |
-
if ( true == $partial_shipped_status ) {
|
89 |
-
//register order status
|
90 |
-
add_action( 'init', array( $this, 'register_partial_shipped_order_status' ) );
|
91 |
-
//add status after completed
|
92 |
-
add_filter( 'wc_order_statuses', array( $this, 'add_partial_shipped_to_order_statuses' ) );
|
93 |
-
//Custom Statuses in admin reports
|
94 |
-
add_filter( 'woocommerce_reports_order_statuses', array( $this, 'include_partial_shipped_order_status_to_reports' ), 20, 1 );
|
95 |
-
// for automate woo to check order is paid
|
96 |
-
add_filter( 'woocommerce_order_is_paid_statuses', array( $this, 'partial_shipped_woocommerce_order_is_paid_statuses' ) );
|
97 |
-
add_filter('woocommerce_order_is_download_permitted', array( $this, 'add_partial_shipped_to_download_permission' ), 10, 2);
|
98 |
-
//add bulk action
|
99 |
-
add_filter( 'bulk_actions-edit-shop_order', array( $this, 'add_bulk_actions_partial_shipped' ), 50, 1 );
|
100 |
-
//add reorder button
|
101 |
-
add_filter( 'woocommerce_valid_order_statuses_for_order_again', array( $this, 'add_reorder_button_partial_shipped' ), 50, 1 );
|
102 |
-
}
|
103 |
-
|
104 |
-
// Hook for add admin body class in settings page
|
105 |
-
add_filter( 'admin_body_class', array( $this, 'ahipment_tracking_admin_body_class' ) );
|
106 |
-
|
107 |
-
// Ajax hook for open inline tracking form
|
108 |
-
add_action( 'wp_ajax_ast_open_inline_tracking_form', array( $this, 'ast_open_inline_tracking_form_fun' ) );
|
109 |
-
}
|
110 |
-
|
111 |
-
/**
|
112 |
-
* Register new status : Updated Tracking
|
113 |
-
**/
|
114 |
-
public function register_updated_tracking_order_status() {
|
115 |
-
register_post_status( 'wc-updated-tracking', array(
|
116 |
-
'label' => __( 'Updated Tracking', 'woo-advanced-shipment-tracking' ),
|
117 |
-
'public' => true,
|
118 |
-
'show_in_admin_status_list' => true,
|
119 |
-
'show_in_admin_all_list' => true,
|
120 |
-
'exclude_from_search' => false,
|
121 |
-
/* translators: %s: replace with Updated Tracking Count */
|
122 |
-
'label_count' => _n_noop( 'Updated Tracking <span class="count">(%s)</span>', 'Updated Tracking <span class="count">(%s)</span>', 'woo-advanced-shipment-tracking' )
|
123 |
-
) );
|
124 |
-
}
|
125 |
-
|
126 |
-
/**
|
127 |
-
* Register new status : Partially Shipped
|
128 |
-
**/
|
129 |
-
public function register_partial_shipped_order_status() {
|
130 |
-
register_post_status( 'wc-partial-shipped', array(
|
131 |
-
'label' => __( 'Partially Shipped', 'woo-advanced-shipment-tracking' ),
|
132 |
-
'public' => true,
|
133 |
-
'show_in_admin_status_list' => true,
|
134 |
-
'show_in_admin_all_list' => true,
|
135 |
-
'exclude_from_search' => false,
|
136 |
-
/* translators: %s: replace with Partially Shipped Count */
|
137 |
-
'label_count' => _n_noop( 'Partially Shipped <span class="count">(%s)</span>', 'Partially Shipped <span class="count">(%s)</span>', 'woo-advanced-shipment-tracking' )
|
138 |
-
) );
|
139 |
-
}
|
140 |
-
|
141 |
-
/*
|
142 |
-
* add status after completed
|
143 |
-
*/
|
144 |
-
public function add_updated_tracking_to_order_statuses( $order_statuses ) {
|
145 |
-
$new_order_statuses = array();
|
146 |
-
foreach ( $order_statuses as $key => $status ) {
|
147 |
-
$new_order_statuses[ $key ] = $status;
|
148 |
-
if ( 'wc-completed' === $key ) {
|
149 |
-
$new_order_statuses['wc-updated-tracking'] = __( 'Updated Tracking', 'woo-advanced-shipment-tracking' );
|
150 |
-
}
|
151 |
-
}
|
152 |
-
return $new_order_statuses;
|
153 |
-
}
|
154 |
-
|
155 |
-
/*
|
156 |
-
* add status after completed
|
157 |
-
*/
|
158 |
-
public function add_partial_shipped_to_order_statuses( $order_statuses ) {
|
159 |
-
$new_order_statuses = array();
|
160 |
-
foreach ( $order_statuses as $key => $status ) {
|
161 |
-
$new_order_statuses[ $key ] = $status;
|
162 |
-
if ( 'wc-completed' === $key ) {
|
163 |
-
$new_order_statuses['wc-partial-shipped'] = __( 'Partially Shipped', 'woo-advanced-shipment-tracking' );
|
164 |
-
}
|
165 |
-
}
|
166 |
-
return $new_order_statuses;
|
167 |
-
}
|
168 |
-
|
169 |
-
/*
|
170 |
-
* Adding the updated-tracking order status to the default woocommerce order statuses
|
171 |
-
*/
|
172 |
-
public function include_updated_tracking_order_status_to_reports( $statuses ) {
|
173 |
-
if ( $statuses ) {
|
174 |
-
$statuses[] = 'updated-tracking';
|
175 |
-
}
|
176 |
-
return $statuses;
|
177 |
-
}
|
178 |
-
|
179 |
-
/*
|
180 |
-
* Adding the partial-shipped order status to the default woocommerce order statuses
|
181 |
-
*/
|
182 |
-
public function include_partial_shipped_order_status_to_reports( $statuses ) {
|
183 |
-
if ( $statuses ) {
|
184 |
-
$statuses[] = 'partial-shipped';
|
185 |
-
}
|
186 |
-
return $statuses;
|
187 |
-
}
|
188 |
-
|
189 |
-
/*
|
190 |
-
* mark status as a paid.
|
191 |
-
*/
|
192 |
-
public function updated_tracking_woocommerce_order_is_paid_statuses( $statuses ) {
|
193 |
-
$statuses[] = 'updated-tracking';
|
194 |
-
return $statuses;
|
195 |
-
}
|
196 |
-
|
197 |
-
/*
|
198 |
-
* Give download permission to updated tracking order status
|
199 |
-
*/
|
200 |
-
public function add_updated_tracking_to_download_permission( $data, $order ) {
|
201 |
-
if ( $order->has_status( 'updated-tracking' ) ) {
|
202 |
-
return true;
|
203 |
-
}
|
204 |
-
return $data;
|
205 |
-
}
|
206 |
-
|
207 |
-
/*
|
208 |
-
* mark status as a paid.
|
209 |
-
*/
|
210 |
-
public function partial_shipped_woocommerce_order_is_paid_statuses( $statuses ) {
|
211 |
-
$statuses[] = 'partial-shipped';
|
212 |
-
return $statuses;
|
213 |
-
}
|
214 |
-
|
215 |
-
/*
|
216 |
-
* Give download permission to partial shipped order status
|
217 |
-
*/
|
218 |
-
public function add_partial_shipped_to_download_permission( $data, $order ) {
|
219 |
-
if ( $order->has_status( 'partial-shipped' ) ) {
|
220 |
-
return true;
|
221 |
-
}
|
222 |
-
return $data;
|
223 |
-
}
|
224 |
-
|
225 |
-
/*
|
226 |
-
* add bulk action
|
227 |
-
* Change order status to Updated Tracking
|
228 |
-
*/
|
229 |
-
public function add_bulk_actions_updated_tracking( $bulk_actions ) {
|
230 |
-
$lable = wc_get_order_status_name( 'updated-tracking' );
|
231 |
-
$bulk_actions['mark_updated-tracking'] = __( 'Change status to ' . $lable . '', 'woo-advanced-shipment-tracking' );
|
232 |
-
return $bulk_actions;
|
233 |
-
}
|
234 |
-
|
235 |
-
/*
|
236 |
-
* add bulk action
|
237 |
-
* Change order status to Partially Shipped
|
238 |
-
*/
|
239 |
-
public function add_bulk_actions_partial_shipped( $bulk_actions ) {
|
240 |
-
$lable = wc_get_order_status_name( 'partial-shipped' );
|
241 |
-
$bulk_actions['mark_partial-shipped'] = __( 'Change status to ' . $lable . '', 'woo-advanced-shipment-tracking' );
|
242 |
-
return $bulk_actions;
|
243 |
-
}
|
244 |
-
|
245 |
-
/*
|
246 |
-
* add order again button for delivered order status
|
247 |
-
*/
|
248 |
-
public function add_reorder_button_partial_shipped( $statuses ) {
|
249 |
-
$statuses[] = 'partial-shipped';
|
250 |
-
return $statuses;
|
251 |
-
}
|
252 |
-
|
253 |
-
/*
|
254 |
-
* add order again button for delivered order status
|
255 |
-
*/
|
256 |
-
public function add_reorder_button_updated_tracking( $statuses ) {
|
257 |
-
$statuses[] = 'updated-tracking';
|
258 |
-
return $statuses;
|
259 |
-
}
|
260 |
-
|
261 |
-
/*
|
262 |
-
* add Updated Tracking in order status email customizer
|
263 |
-
*/
|
264 |
-
public function wcast_order_status_email_type( $order_status ) {
|
265 |
-
$updated_tracking_status = array(
|
266 |
-
'updated_tracking' => __( 'Updated Tracking', 'woo-advanced-shipment-tracking' ),
|
267 |
-
);
|
268 |
-
$order_status = array_merge( $order_status, $updated_tracking_status );
|
269 |
-
return $order_status;
|
270 |
-
}
|
271 |
-
|
272 |
-
/*
|
273 |
-
* Rename WooCommerce Order Status
|
274 |
-
*/
|
275 |
-
public function wc_renaming_order_status( $order_statuses ) {
|
276 |
-
|
277 |
-
$enable = get_option( 'wc_ast_status_shipped', 0);
|
278 |
-
if ( false == $enable ) {
|
279 |
-
return $order_statuses;
|
280 |
-
}
|
281 |
-
|
282 |
-
foreach ( $order_statuses as $key => $status ) {
|
283 |
-
$new_order_statuses[ $key ] = $status;
|
284 |
-
if ( 'wc-completed' === $key ) {
|
285 |
-
$order_statuses['wc-completed'] = esc_html__( 'Shipped', 'woo-advanced-shipment-tracking' );
|
286 |
-
}
|
287 |
-
}
|
288 |
-
return $order_statuses;
|
289 |
-
}
|
290 |
-
|
291 |
-
/*
|
292 |
-
* define the woocommerce_register_shop_order_post_statuses callback
|
293 |
-
* rename filter
|
294 |
-
* rename from completed to shipped
|
295 |
-
*/
|
296 |
-
public function filter_woocommerce_register_shop_order_post_statuses( $array ) {
|
297 |
-
|
298 |
-
$enable = get_option( 'wc_ast_status_shipped', 0);
|
299 |
-
if ( false == $enable ) {
|
300 |
-
return $array;
|
301 |
-
}
|
302 |
-
|
303 |
-
if ( isset( $array[ 'wc-completed' ] ) ) {
|
304 |
-
/* translators: %s: replace with shipped order count */
|
305 |
-
$array[ 'wc-completed' ]['label_count'] = _n_noop( 'Shipped <span class="count">(%s)</span>', 'Shipped <span class="count">(%s)</span>', 'woo-advanced-shipment-tracking' );
|
306 |
-
}
|
307 |
-
return $array;
|
308 |
-
}
|
309 |
-
|
310 |
-
/*
|
311 |
-
* rename bulk action
|
312 |
-
*/
|
313 |
-
public function modify_bulk_actions( $bulk_actions ) {
|
314 |
-
|
315 |
-
$enable = get_option( 'wc_ast_status_shipped', 0);
|
316 |
-
if ( false == $enable ) {
|
317 |
-
return $bulk_actions;
|
318 |
-
}
|
319 |
-
|
320 |
-
if ( isset( $bulk_actions['mark_completed'] ) ) {
|
321 |
-
$bulk_actions['mark_completed'] = __( 'Change status to shipped', 'woo-advanced-shipment-tracking' );
|
322 |
-
}
|
323 |
-
return $bulk_actions;
|
324 |
-
}
|
325 |
-
|
326 |
-
/*
|
327 |
-
* Add class in admin settings page
|
328 |
-
*/
|
329 |
-
public function ahipment_tracking_admin_body_class( $classes ) {
|
330 |
-
$page = ( isset( $_REQUEST['page'] ) ? wc_clean( $_REQUEST['page'] ) : '' );
|
331 |
-
if ( 'woocommerce-advanced-shipment-tracking' == $page ) {
|
332 |
-
$classes .= ' shipment_tracking_admin_settings';
|
333 |
-
}
|
334 |
-
return $classes;
|
335 |
-
}
|
336 |
-
|
337 |
-
public function ast_open_inline_tracking_form_fun() {
|
338 |
-
|
339 |
-
if ( ! current_user_can( 'manage_woocommerce' ) ) {
|
340 |
-
exit( 'You are not allowed' );
|
341 |
-
}
|
342 |
-
|
343 |
-
check_ajax_referer( 'ast-order-list', 'security' );
|
344 |
-
|
345 |
-
$order_id = isset( $_POST['order_id'] ) ? wc_clean( $_POST['order_id'] ) :'';
|
346 |
-
$order = wc_get_order( $order_id );
|
347 |
-
$order_number = $order->get_order_number();
|
348 |
-
|
349 |
-
global $wpdb;
|
350 |
-
$WC_Countries = new WC_Countries();
|
351 |
-
$countries = $WC_Countries->get_countries();
|
352 |
-
|
353 |
-
$shippment_countries = $wpdb->get_results( "SELECT shipping_country FROM $this->table WHERE display_in_order = 1 GROUP BY shipping_country" );
|
354 |
-
|
355 |
-
$default_provider = get_option( 'wc_ast_default_provider' );
|
356 |
-
ob_start();
|
357 |
-
?>
|
358 |
-
<div id="" class="trackingpopup_wrapper add_tracking_popup" style="display:none;">
|
359 |
-
<div class="trackingpopup_row">
|
360 |
-
<div class="popup_header">
|
361 |
-
<h3 class="popup_title"><?php esc_html_e( 'Add Tracking - order ', 'woo-advanced-shipment-tracking'); ?> - #<?php esc_html_e( $order_number ); ?></h2>
|
362 |
-
<span class="dashicons dashicons-no-alt popup_close_icon"></span>
|
363 |
-
</div>
|
364 |
-
<div class="popup_body">
|
365 |
-
<form id="add_tracking_number_form" method="POST" class="add_tracking_number_form">
|
366 |
-
<?php do_action( 'ast_tracking_form_between_form', $order_id, 'inline' ); ?>
|
367 |
-
<p class="form-field tracking_number_field form-50">
|
368 |
-
<label for="tracking_number"><?php esc_html_e( 'Tracking number:', 'woo-advanced-shipment-tracking'); ?></label>
|
369 |
-
<input type="text" class="short" name="tracking_number" id="tracking_number" value="" autocomplete="off">
|
370 |
-
</p>
|
371 |
-
<p class="form-field form-50">
|
372 |
-
<label for="tracking_number"><?php esc_html_e( 'Shipping Provider:', 'woo-advanced-shipment-tracking'); ?></label>
|
373 |
-
<select class="chosen_select tracking_provider_dropdown" id="tracking_provider" name="tracking_provider">
|
374 |
-
<option value=""><?php esc_html_e( 'Shipping Provider:', 'woo-advanced-shipment-tracking' ); ?></option>
|
375 |
-
<?php
|
376 |
-
foreach ( $shippment_countries as $s_c ) {
|
377 |
-
if ( 'Global' != $s_c->shipping_country ) {
|
378 |
-
$country_name = esc_attr( $WC_Countries->countries[ $s_c->shipping_country ] );
|
379 |
-
} else {
|
380 |
-
$country_name = 'Global';
|
381 |
-
}
|
382 |
-
echo '<optgroup label="' . esc_html( $country_name ) . '">';
|
383 |
-
$country = $s_c->shipping_country;
|
384 |
-
$shippment_providers_by_country = $wpdb->get_results( $wpdb->prepare( "SELECT * FROM $this->table WHERE shipping_country = %s AND display_in_order = 1", $country ) );
|
385 |
-
foreach ( $shippment_providers_by_country as $providers ) {
|
386 |
-
$selected = ( esc_attr( $providers->provider_name ) == $default_provider ) ? 'selected' : '';
|
387 |
-
echo '<option value="' . esc_attr( $providers->ts_slug ) . '" ' . esc_html( $selected ) . '>' . esc_html( $providers->provider_name ) . '</option>';
|
388 |
-
}
|
389 |
-
echo '</optgroup>';
|
390 |
-
}
|
391 |
-
?>
|
392 |
-
</select>
|
393 |
-
</p>
|
394 |
-
<p class="form-field tracking_product_code_field form-50">
|
395 |
-
<label for="tracking_product_code"><?php esc_html_e( 'Product Code:', 'woo-advanced-shipment-tracking'); ?></label>
|
396 |
-
<input type="text" class="short" name="tracking_product_code" id="tracking_product_code" value="">
|
397 |
-
</p>
|
398 |
-
<p class="form-field date_shipped_field form-50">
|
399 |
-
<label for="date_shipped"><?php esc_html_e( 'Date shipped:', 'woo-advanced-shipment-tracking'); ?></label>
|
400 |
-
<input type="text" class="ast-date-picker-field" name="date_shipped" id="date_shipped" value="<?php echo esc_html( date_i18n( __( 'Y-m-d', 'woo-advanced-shipment-tracking' ), current_time( 'timestamp' ) ) ); ?>" placeholder="<?php echo esc_html( date_i18n( esc_html_e( 'Y-m-d', 'woo-advanced-shipment-tracking' ), time() ) ); ?>">
|
401 |
-
</p>
|
402 |
-
<?php do_action( 'ast_after_tracking_field', $order_id ); ?>
|
403 |
-
<hr>
|
404 |
-
<?php wc_advanced_shipment_tracking()->actions->mark_order_as_fields_html(); ?>
|
405 |
-
<hr>
|
406 |
-
<p>
|
407 |
-
<?php wp_nonce_field( 'wc_ast_inline_tracking_form', 'wc_ast_inline_tracking_form_nonce' ); ?>
|
408 |
-
<input type="hidden" name="action" value="add_inline_tracking_number">
|
409 |
-
<input type="hidden" name="order_id" id="order_id" value="<?php esc_html_e( $order_id ); ?>">
|
410 |
-
<input type="submit" name="Submit" value="<?php esc_html_e( 'Fulfill Order', 'woo-advanced-shipment-tracking' ); ?>" class="button-primary btn_green">
|
411 |
-
</p>
|
412 |
-
</form>
|
413 |
-
</div>
|
414 |
-
</div>
|
415 |
-
<div class="popupclose"></div>
|
416 |
-
</div>
|
417 |
-
<?php
|
418 |
-
$html = ob_get_clean();
|
419 |
-
echo $html;
|
420 |
-
exit;
|
421 |
-
}
|
422 |
-
|
423 |
-
/**
|
424 |
-
* Update Partially Shipped order email enable/disable in customizer
|
425 |
-
*/
|
426 |
-
public function save_partial_shipped_email( $data ) {
|
427 |
-
$woocommerce_customer_partial_shipped_order_enabled = ( isset( $_REQUEST['woocommerce_customer_partial_shipped_order_enabled'] ) ? wc_clean( $_REQUEST['woocommerce_customer_partial_shipped_order_enabled'] ) : '' );
|
428 |
-
update_option( 'customizer_partial_shipped_order_settings_enabled', $woocommerce_customer_partial_shipped_order_enabled );
|
429 |
-
}
|
430 |
-
|
431 |
-
/**
|
432 |
-
* Synch provider function
|
433 |
-
*/
|
434 |
-
public function sync_providers_fun() {
|
435 |
-
|
436 |
-
if ( ! current_user_can( 'manage_woocommerce' ) ) {
|
437 |
-
exit( 'You are not allowed' );
|
438 |
-
}
|
439 |
-
|
440 |
-
check_ajax_referer( 'nonce_shipping_provider', 'security' );
|
441 |
-
|
442 |
-
$reset_checked = isset( $_POST[ 'reset_checked' ] ) ? wc_clean( $_POST[ 'reset_checked' ] ) : '';
|
443 |
-
global $wpdb;
|
444 |
-
|
445 |
-
$url = apply_filters( 'ast_sync_provider_url', 'https://trackship.info/wp-json/WCAST/v1/Provider' );
|
446 |
-
$resp = wp_remote_get( $url );
|
447 |
-
|
448 |
-
$upload_dir = wp_upload_dir();
|
449 |
-
$ast_directory = $upload_dir['basedir'] . '/ast-shipping-providers';
|
450 |
-
|
451 |
-
if ( !is_dir( $ast_directory ) ) {
|
452 |
-
wp_mkdir_p( $ast_directory );
|
453 |
-
}
|
454 |
-
|
455 |
-
if ( is_array( $resp ) && ! is_wp_error( $resp ) ) {
|
456 |
-
$providers = json_decode( $resp['body'], true );
|
457 |
-
|
458 |
-
if ( 1 == $reset_checked ) {
|
459 |
-
|
460 |
-
$wpdb->query( "DROP TABLE IF EXISTS {$this->table}" );
|
461 |
-
|
462 |
-
$install = WC_Advanced_Shipment_Tracking_Install::get_instance();
|
463 |
-
$install->create_shippment_tracking_table();
|
464 |
-
|
465 |
-
foreach ( $providers as $provider ) {
|
466 |
-
$provider_name = $provider['shipping_provider'];
|
467 |
-
$provider_url = $provider['provider_url'];
|
468 |
-
$shipping_country = $provider['shipping_country'];
|
469 |
-
$ts_slug = $provider['shipping_provider_slug'];
|
470 |
-
$img_url = $provider['img_url'];
|
471 |
-
$trackship_supported = $provider['trackship_supported'];
|
472 |
-
$img_slug = sanitize_title( $provider_name );
|
473 |
-
|
474 |
-
$img = $ast_directory . '/' . $img_slug . '.png';
|
475 |
-
|
476 |
-
$ch = curl_init();
|
477 |
-
|
478 |
-
curl_setopt( $ch, CURLOPT_HEADER, 0 );
|
479 |
-
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, 1 );
|
480 |
-
curl_setopt( $ch, CURLOPT_URL, $img_url );
|
481 |
-
|
482 |
-
$data = curl_exec( $ch );
|
483 |
-
curl_close( $ch );
|
484 |
-
|
485 |
-
file_put_contents( $img, $data );
|
486 |
-
|
487 |
-
$data_array = array(
|
488 |
-
'shipping_country' => sanitize_text_field( $shipping_country ),
|
489 |
-
'provider_name' => sanitize_text_field( $provider_name ),
|
490 |
-
'ts_slug' => $ts_slug,
|
491 |
-
'provider_url' => sanitize_text_field( $provider_url ),
|
492 |
-
'display_in_order' => 1,
|
493 |
-
'shipping_default' => 1,
|
494 |
-
'trackship_supported' => sanitize_text_field( $trackship_supported ),
|
495 |
-
);
|
496 |
-
|
497 |
-
$data_array = apply_filters( 'ast_sync_provider_data_array', $data_array, $provider );
|
498 |
-
|
499 |
-
$result = $wpdb->insert( $this->table, $data_array );
|
500 |
-
}
|
501 |
-
|
502 |
-
$status = 'active';
|
503 |
-
$default_shippment_providers = $wpdb->get_results( "SELECT * FROM $this->table ORDER BY shipping_default ASC, display_in_order DESC, trackship_supported DESC, id ASC" );
|
504 |
-
ob_start();
|
505 |
-
$admin = new WC_Advanced_Shipment_Tracking_Admin();
|
506 |
-
$html = $admin->get_provider_html( $default_shippment_providers, $status );
|
507 |
-
$html = ob_get_clean();
|
508 |
-
|
509 |
-
echo json_encode( array( 'html' => $html ) );
|
510 |
-
exit;
|
511 |
-
} else {
|
512 |
-
|
513 |
-
$default_shippment_providers = $wpdb->get_results( "SELECT * FROM $this->table WHERE shipping_default = 1" );
|
514 |
-
|
515 |
-
foreach ( $default_shippment_providers as $key => $val ) {
|
516 |
-
$shippment_providers[ $val->provider_name ] = $val;
|
517 |
-
}
|
518 |
-
|
519 |
-
foreach ( $providers as $key => $val ) {
|
520 |
-
$providers_name[ $val['provider_name'] ] = $val;
|
521 |
-
}
|
522 |
-
|
523 |
-
$added = 0;
|
524 |
-
$updated = 0;
|
525 |
-
$deleted = 0;
|
526 |
-
$added_html = '';
|
527 |
-
$updated_html = '';
|
528 |
-
$deleted_html = '';
|
529 |
-
|
530 |
-
foreach ( $providers as $provider ) {
|
531 |
-
|
532 |
-
$provider_name = $provider['shipping_provider'];
|
533 |
-
$provider_url = $provider['provider_url'];
|
534 |
-
$shipping_country = $provider['shipping_country'];
|
535 |
-
$ts_slug = $provider['shipping_provider_slug'];
|
536 |
-
$trackship_supported = $provider['trackship_supported'];
|
537 |
-
|
538 |
-
if ( isset( $shippment_providers[ $provider_name ] ) ) {
|
539 |
-
$db_provider_url = $shippment_providers[ $provider_name ]->provider_url;
|
540 |
-
$db_shipping_country = $shippment_providers[ $provider_name ]->shipping_country;
|
541 |
-
$db_ts_slug = $shippment_providers[ $provider_name ]->ts_slug;
|
542 |
-
$db_trackship_supported = $shippment_providers[ $provider_name ]->trackship_supported;
|
543 |
-
|
544 |
-
$update_needed = apply_filters( 'ast_sync_provider_update', false, $provider, $shippment_providers );
|
545 |
-
|
546 |
-
if ( $db_provider_url != $provider_url ) {
|
547 |
-
$update_needed = true;
|
548 |
-
} elseif ( $db_shipping_country != $shipping_country ) {
|
549 |
-
$update_needed = true;
|
550 |
-
} elseif ( $db_ts_slug != $ts_slug ) {
|
551 |
-
$update_needed = true;
|
552 |
-
} elseif ( $db_trackship_supported != $trackship_supported ) {
|
553 |
-
$update_needed = true;
|
554 |
-
}
|
555 |
-
|
556 |
-
if ( $update_needed ) {
|
557 |
-
|
558 |
-
$data_array = array(
|
559 |
-
'ts_slug' => $ts_slug,
|
560 |
-
'provider_url' => $provider_url,
|
561 |
-
'shipping_country' => $shipping_country,
|
562 |
-
'trackship_supported' => $trackship_supported,
|
563 |
-
);
|
564 |
-
|
565 |
-
$data_array = apply_filters( 'ast_sync_provider_data_array', $data_array, $provider );
|
566 |
-
|
567 |
-
$where_array = array(
|
568 |
-
'provider_name' => $provider_name,
|
569 |
-
);
|
570 |
-
$wpdb->update( $this->table, $data_array, $where_array );
|
571 |
-
$updated_data[ $updated ] = array( 'provider_name' => $provider_name );
|
572 |
-
$updated++;
|
573 |
-
}
|
574 |
-
} else {
|
575 |
-
$img_url = $provider['img_url'];
|
576 |
-
$img_slug = sanitize_title( $provider_name );
|
577 |
-
$img = $ast_directory . '/' . $img_slug . '.png';
|
578 |
-
|
579 |
-
$ch = curl_init();
|
580 |
-
|
581 |
-
curl_setopt( $ch, CURLOPT_HEADER, 0 );
|
582 |
-
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, 1 );
|
583 |
-
curl_setopt( $ch, CURLOPT_URL, $img_url );
|
584 |
-
|
585 |
-
$data = curl_exec( $ch );
|
586 |
-
curl_close( $ch );
|
587 |
-
|
588 |
-
file_put_contents( $img, $data );
|
589 |
-
|
590 |
-
$data_array = array(
|
591 |
-
'shipping_country' => sanitize_text_field( $shipping_country ),
|
592 |
-
'provider_name' => sanitize_text_field( $provider_name ),
|
593 |
-
'ts_slug' => $ts_slug,
|
594 |
-
'provider_url' => sanitize_text_field( $provider_url ),
|
595 |
-
'display_in_order' => 0,
|
596 |
-
'shipping_default' => 1,
|
597 |
-
'trackship_supported' => sanitize_text_field( $trackship_supported ),
|
598 |
-
);
|
599 |
-
|
600 |
-
$data_array = apply_filters( 'ast_sync_provider_data_array', $data_array, $provider );
|
601 |
-
|
602 |
-
$result = $wpdb->insert( $this->table, $data_array );
|
603 |
-
$added_data[ $added ] = array( 'provider_name' => $provider_name );
|
604 |
-
$added++;
|
605 |
-
}
|
606 |
-
}
|
607 |
-
|
608 |
-
foreach ( $default_shippment_providers as $db_provider ) {
|
609 |
-
if ( !isset( $providers_name[ $db_provider->provider_name ] ) ) {
|
610 |
-
$where = array(
|
611 |
-
'provider_name' => $db_provider->provider_name,
|
612 |
-
'shipping_default' => 1
|
613 |
-
);
|
614 |
-
$wpdb->delete( $this->table, $where );
|
615 |
-
$deleted_data[ $deleted ] = array( 'provider_name' => $db_provider->provider_name );
|
616 |
-
$deleted++;
|
617 |
-
}
|
618 |
-
}
|
619 |
-
|
620 |
-
if ( $added > 0 ) {
|
621 |
-
ob_start();
|
622 |
-
$added_html = $this->added_html( $added_data );
|
623 |
-
$added_html = ob_get_clean();
|
624 |
-
}
|
625 |
-
|
626 |
-
if ( $updated > 0 ) {
|
627 |
-
ob_start();
|
628 |
-
$updated_html = $this->updated_html( $updated_data );
|
629 |
-
$updated_html = ob_get_clean();
|
630 |
-
}
|
631 |
-
|
632 |
-
if ( $deleted > 0 ) {
|
633 |
-
ob_start();
|
634 |
-
$deleted_html = $this->deleted_html( $deleted_data );
|
635 |
-
$deleted_html = ob_get_clean();
|
636 |
-
}
|
637 |
-
|
638 |
-
$status = 'active';
|
639 |
-
$default_shippment_providers = $wpdb->get_results( "SELECT * FROM $this->table ORDER BY shipping_default ASC, display_in_order DESC, trackship_supported DESC, id ASC" );
|
640 |
-
ob_start();
|
641 |
-
$admin = new WC_Advanced_Shipment_Tracking_Admin();
|
642 |
-
$html = $admin->get_provider_html( $default_shippment_providers, $status );
|
643 |
-
$html = ob_get_clean();
|
644 |
-
|
645 |
-
echo json_encode( array( 'added' => $added, 'added_html' => $added_html, 'updated' => $updated, 'updated_html' => $updated_html, 'deleted' => $deleted, 'deleted_html' => $deleted_html,'html' => $html ) );
|
646 |
-
exit;
|
647 |
-
}
|
648 |
-
} else {
|
649 |
-
echo json_encode( array( 'sync_error' => 1, 'message' => __( 'There are some issue with sync, Please Retry.', 'woo-advanced-shipment-tracking') ) );
|
650 |
-
exit;
|
651 |
-
}
|
652 |
-
}
|
653 |
-
|
654 |
-
/**
|
655 |
-
* Output html of added provider from sync providers
|
656 |
-
*/
|
657 |
-
public function added_html( $added_data ) {
|
658 |
-
?>
|
659 |
-
<ul class="updated_details" id="added_providers">
|
660 |
-
<?php
|
661 |
-
foreach ( $added_data as $added ) {
|
662 |
-
?>
|
663 |
-
<li><?php esc_html_e( $added['provider_name'] ); ?></li>
|
664 |
-
<?php } ?>
|
665 |
-
</ul>
|
666 |
-
<a class="view_synch_details" id="view_added_details" href="javaScript:void(0);" style="display: block;"><?php esc_html_e( 'view details', 'woo-advanced-shipment-tracking' ); ?></a>
|
667 |
-
<a class="view_synch_details" id="hide_added_details" href="javaScript:void(0);" style="display: none;"><?php esc_html_e( 'hide details', 'woo-advanced-shipment-tracking' ); ?></a>
|
668 |
-
<?php
|
669 |
-
}
|
670 |
-
|
671 |
-
/**
|
672 |
-
* Output html of updated provider from sync providers
|
673 |
-
*/
|
674 |
-
public function updated_html( $updated_data ) {
|
675 |
-
?>
|
676 |
-
<ul class="updated_details" id="updated_providers">
|
677 |
-
<?php
|
678 |
-
foreach ( $updated_data as $updated ) {
|
679 |
-
?>
|
680 |
-
<li><?php esc_html_e( $updated['provider_name'] ); ?></li>
|
681 |
-
<?php } ?>
|
682 |
-
</ul>
|
683 |
-
<a class="view_synch_details" id="view_updated_details" href="javaScript:void(0);" style="display: block;"><?php esc_html_e( 'view details', 'woo-advanced-shipment-tracking' ); ?></a>
|
684 |
-
<a class="view_synch_details" id="hide_updated_details" href="javaScript:void(0);" style="display: none;"><?php esc_html_e( 'hide details', 'woo-advanced-shipment-tracking' ); ?></a>
|
685 |
-
<?php
|
686 |
-
}
|
687 |
-
|
688 |
-
/**
|
689 |
-
* Output html of deleted provider from sync providers
|
690 |
-
*/
|
691 |
-
public function deleted_html( $deleted_data ) {
|
692 |
-
?>
|
693 |
-
<ul class="updated_details" id="deleted_providers">
|
694 |
-
<?php
|
695 |
-
foreach ( $deleted_data as $deleted ) {
|
696 |
-
?>
|
697 |
-
<li><?php esc_html_e( $deleted['provider_name'] ); ?></li>
|
698 |
-
<?php } ?>
|
699 |
-
</ul>
|
700 |
-
<a class="view_synch_details" id="view_deleted_details" href="javaScript:void(0);" style="display: block;"><?php esc_html_e( 'view details', 'woo-advanced-shipment-tracking'); ?></a>
|
701 |
-
<a class="view_synch_details" id="hide_deleted_details" href="javaScript:void(0);" style="display: none;"><?php esc_html_e( 'hide details', 'woo-advanced-shipment-tracking'); ?></a>
|
702 |
-
<?php
|
703 |
-
}
|
704 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/class-wc-advanced-shipment-tracking.php
DELETED
@@ -1,1685 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
if ( ! defined( 'ABSPATH' ) ) {
|
3 |
-
exit;
|
4 |
-
}
|
5 |
-
class WC_Advanced_Shipment_Tracking_Actions {
|
6 |
-
|
7 |
-
/**
|
8 |
-
* Instance of this class.
|
9 |
-
*
|
10 |
-
* @var object Class Instance
|
11 |
-
*/
|
12 |
-
private static $instance;
|
13 |
-
|
14 |
-
public function __construct() {
|
15 |
-
|
16 |
-
global $wpdb;
|
17 |
-
if ( is_multisite() ) {
|
18 |
-
|
19 |
-
if ( ! function_exists( 'is_plugin_active_for_network' ) ) {
|
20 |
-
require_once( ABSPATH . '/wp-admin/includes/plugin.php' );
|
21 |
-
}
|
22 |
-
|
23 |
-
if ( is_plugin_active_for_network( 'woo-advanced-shipment-tracking/woocommerce-advanced-shipment-tracking.php' ) ) {
|
24 |
-
$main_blog_prefix = $wpdb->get_blog_prefix( BLOG_ID_CURRENT_SITE );
|
25 |
-
$this->table = $main_blog_prefix . 'woo_shippment_provider';
|
26 |
-
} else {
|
27 |
-
$this->table = $wpdb->prefix . 'woo_shippment_provider';
|
28 |
-
}
|
29 |
-
} else {
|
30 |
-
$this->table = $wpdb->prefix . 'woo_shippment_provider';
|
31 |
-
}
|
32 |
-
}
|
33 |
-
|
34 |
-
/**
|
35 |
-
* Get the class instance
|
36 |
-
*
|
37 |
-
* @return WC_Advanced_Shipment_Tracking_Actions
|
38 |
-
*/
|
39 |
-
public static function get_instance() {
|
40 |
-
|
41 |
-
if ( null === self::$instance ) {
|
42 |
-
self::$instance = new self();
|
43 |
-
}
|
44 |
-
|
45 |
-
return self::$instance;
|
46 |
-
}
|
47 |
-
|
48 |
-
/**
|
49 |
-
* Get shipping providers from database
|
50 |
-
*/
|
51 |
-
public function get_providers() {
|
52 |
-
|
53 |
-
if ( empty( $this->providers ) ) {
|
54 |
-
$this->providers = array();
|
55 |
-
|
56 |
-
global $wpdb;
|
57 |
-
$wpdb->hide_errors();
|
58 |
-
$results = $wpdb->get_results( "SELECT * FROM {$this->table}" );
|
59 |
-
|
60 |
-
if ( ! empty( $results ) ) {
|
61 |
-
|
62 |
-
foreach ( $results as $row ) {
|
63 |
-
$provider_name = !empty( $row->custom_provider_name ) ? $row->custom_provider_name : $row->provider_name;
|
64 |
-
$shippment_providers[ $row->ts_slug ] = array(
|
65 |
-
'provider_name'=> $provider_name,
|
66 |
-
'provider_url' => $row->provider_url,
|
67 |
-
'trackship_supported' => $row->trackship_supported,
|
68 |
-
);
|
69 |
-
}
|
70 |
-
|
71 |
-
$this->providers = $shippment_providers;
|
72 |
-
}
|
73 |
-
}
|
74 |
-
return $this->providers;
|
75 |
-
|
76 |
-
}
|
77 |
-
|
78 |
-
/**
|
79 |
-
* Get shipping providers from database for WooCommerce App
|
80 |
-
*/
|
81 |
-
public function get_providers_for_app() {
|
82 |
-
|
83 |
-
if ( empty( $this->providers_for_app ) ) {
|
84 |
-
$this->providers_for_app = array();
|
85 |
-
|
86 |
-
global $wpdb;
|
87 |
-
$WC_Countries = new WC_Countries();
|
88 |
-
$wpdb->hide_errors();
|
89 |
-
|
90 |
-
$shippment_countries = $wpdb->get_results( "SELECT shipping_country FROM {$this->table} WHERE display_in_order = 1 GROUP BY shipping_country" );
|
91 |
-
|
92 |
-
$results = $wpdb->get_results( "SELECT * FROM {$this->table} GROUP BY shipping_country" );
|
93 |
-
|
94 |
-
|
95 |
-
foreach ( $shippment_countries as $s_c ) {
|
96 |
-
|
97 |
-
$country_name = ( 'Global' != $s_c->shipping_country ) ? esc_attr( $WC_Countries->countries[ $s_c->shipping_country ] ) : 'Global';
|
98 |
-
$country = $s_c->shipping_country;
|
99 |
-
$shippment_providers_by_country = $wpdb->get_results( $wpdb->prepare( "SELECT * FROM {$this->table} WHERE shipping_country = %s AND display_in_order = 1", $country ) );
|
100 |
-
|
101 |
-
$providers_array = array();
|
102 |
-
$new_provider = array();
|
103 |
-
|
104 |
-
foreach ( $shippment_providers_by_country as $providers ) {
|
105 |
-
$new_provider = array(
|
106 |
-
$providers->provider_name => $providers->provider_url,
|
107 |
-
);
|
108 |
-
$providers_array = array_merge( $providers_array, $new_provider );
|
109 |
-
}
|
110 |
-
|
111 |
-
$shippment_providers[ $country_name ] = $providers_array;
|
112 |
-
|
113 |
-
$this->providers_for_app = $shippment_providers;
|
114 |
-
}
|
115 |
-
}
|
116 |
-
return $this->providers_for_app;
|
117 |
-
|
118 |
-
}
|
119 |
-
|
120 |
-
/**
|
121 |
-
* Load admin styles.
|
122 |
-
*/
|
123 |
-
public function admin_styles() {
|
124 |
-
$plugin_url = wc_shipment_tracking()->plugin_url;
|
125 |
-
wp_enqueue_style( 'ast_styles', $plugin_url . '/assets/css/admin.css', array(), wc_shipment_tracking()->version );
|
126 |
-
}
|
127 |
-
|
128 |
-
/**
|
129 |
-
* Define shipment tracking column in admin orders list.
|
130 |
-
*
|
131 |
-
* @since 1.6.1
|
132 |
-
*
|
133 |
-
* @param array $columns Existing columns
|
134 |
-
*
|
135 |
-
* @return array Altered columns
|
136 |
-
*/
|
137 |
-
public function shop_order_columns( $columns ) {
|
138 |
-
$columns['woocommerce-advanced-shipment-tracking'] = __( 'Shipment Tracking', 'woo-advanced-shipment-tracking' );
|
139 |
-
return $columns;
|
140 |
-
}
|
141 |
-
|
142 |
-
/**
|
143 |
-
* Render shipment tracking in custom column.
|
144 |
-
*
|
145 |
-
* @since 1.6.1
|
146 |
-
*
|
147 |
-
* @param string $column Current column
|
148 |
-
*/
|
149 |
-
public function render_shop_order_columns( $column ) {
|
150 |
-
global $post;
|
151 |
-
if ( 'woocommerce-advanced-shipment-tracking' === $column ) {
|
152 |
-
echo wp_kses_post( $this->get_shipment_tracking_column( $post->ID ) );
|
153 |
-
}
|
154 |
-
}
|
155 |
-
|
156 |
-
/**
|
157 |
-
* Get content for shipment tracking column.
|
158 |
-
*
|
159 |
-
* @since 1.6.1
|
160 |
-
*
|
161 |
-
* @param int $order_id Order ID
|
162 |
-
*
|
163 |
-
* @return string Column content to render
|
164 |
-
*/
|
165 |
-
public function get_shipment_tracking_column( $order_id ) {
|
166 |
-
ob_start();
|
167 |
-
|
168 |
-
$tracking_items = $this->get_tracking_items( $order_id );
|
169 |
-
|
170 |
-
if ( count( $tracking_items ) > 0 ) {
|
171 |
-
echo '<ul class="wcast-tracking-number-list">';
|
172 |
-
|
173 |
-
foreach ( $tracking_items as $tracking_item ) {
|
174 |
-
global $wpdb;
|
175 |
-
|
176 |
-
$tracking_provider = isset( $tracking_item['tracking_provider'] ) ? $tracking_item['tracking_provider'] : $tracking_item['custom_tracking_provider'];
|
177 |
-
$tracking_provider = apply_filters( 'convert_provider_name_to_slug', $tracking_provider );
|
178 |
-
|
179 |
-
$results = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM $this->table WHERE ts_slug = %s", $tracking_provider ) );
|
180 |
-
|
181 |
-
$provider_name = apply_filters('get_ast_provider_name', $tracking_provider, $results);
|
182 |
-
|
183 |
-
$formatted = $this->get_formatted_tracking_item( $order_id, $tracking_item );
|
184 |
-
|
185 |
-
if ( $formatted['ast_tracking_link'] ) {
|
186 |
-
printf(
|
187 |
-
'<li id="tracking-item-%s" class="tracking-item-%s"><div><b>%s</b></div><a href="%s" target="_blank" class=ft11>%s</a><a class="inline_tracking_delete" rel="%s" data-order="%s" data-nonce="' . esc_html( wp_create_nonce( 'delete-tracking-item' ) ) . '"><span class="dashicons dashicons-trash"></span></a></li>',
|
188 |
-
esc_attr( $tracking_item['tracking_id'] ),
|
189 |
-
esc_attr( $tracking_item['tracking_id'] ),
|
190 |
-
esc_html( $provider_name ),
|
191 |
-
esc_url( $formatted['ast_tracking_link'] ),
|
192 |
-
esc_html( $tracking_item['tracking_number'] ),
|
193 |
-
esc_attr( $tracking_item['tracking_id'] ),
|
194 |
-
esc_attr( $order_id )
|
195 |
-
);
|
196 |
-
} else {
|
197 |
-
printf(
|
198 |
-
'<li id="tracking-item-%s" class="tracking-item-%s"><div><b>%s</b></div>%s<a class="inline_tracking_delete" rel="%s" data-order="%s" data-nonce="' . esc_html( wp_create_nonce( 'delete-tracking-item' ) ) . '"><span class="dashicons dashicons-trash"></span></a></li>',
|
199 |
-
esc_attr( $tracking_item['tracking_id'] ),
|
200 |
-
esc_attr( $tracking_item['tracking_id'] ),
|
201 |
-
esc_html( $provider_name ),
|
202 |
-
esc_html( $tracking_item['tracking_number'] ),
|
203 |
-
esc_attr( $tracking_item['tracking_id'] ),
|
204 |
-
esc_attr( $order_id )
|
205 |
-
);
|
206 |
-
}
|
207 |
-
}
|
208 |
-
echo '</ul>';
|
209 |
-
} else {
|
210 |
-
echo '–';
|
211 |
-
}
|
212 |
-
return apply_filters( 'woocommerce_shipment_tracking_get_shipment_tracking_column', ob_get_clean(), $order_id, $tracking_items );
|
213 |
-
}
|
214 |
-
|
215 |
-
/**
|
216 |
-
* Add the meta box for shipment info on the order page
|
217 |
-
*/
|
218 |
-
public function add_meta_box() {
|
219 |
-
add_meta_box( 'woocommerce-advanced-shipment-tracking', __( 'Shipment Tracking', 'woo-advanced-shipment-tracking' ), array( $this, 'meta_box' ), 'shop_order', 'side', 'high' );
|
220 |
-
}
|
221 |
-
|
222 |
-
/**
|
223 |
-
* Returns a HTML node for a tracking item for the admin meta box
|
224 |
-
*/
|
225 |
-
public function display_html_tracking_item_for_meta_box( $order_id, $item ) {
|
226 |
-
|
227 |
-
global $wpdb;
|
228 |
-
|
229 |
-
$formatted = $this->get_formatted_tracking_item( $order_id, $item );
|
230 |
-
$tracking_provider = isset( $item['tracking_provider'] ) ? $item['tracking_provider'] : $item['custom_tracking_provider'];
|
231 |
-
$tracking_provider = apply_filters( 'convert_provider_name_to_slug', $tracking_provider );
|
232 |
-
$results = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM $this->table WHERE ts_slug = %s", $tracking_provider ) );
|
233 |
-
$provider_name = apply_filters( 'get_ast_provider_name', $tracking_provider, $results );
|
234 |
-
?>
|
235 |
-
<div class="tracking-item" id="tracking-item-<?php echo esc_attr( $item['tracking_id'] ); ?>">
|
236 |
-
<div class="tracking-content">
|
237 |
-
<div class="tracking-content-div">
|
238 |
-
<strong><?php echo esc_html( $provider_name ); ?></strong>
|
239 |
-
<?php if ( strlen( $formatted['ast_tracking_link'] ) > 0 ) { ?>
|
240 |
-
-
|
241 |
-
<?php
|
242 |
-
echo sprintf( '<a href="%s" target="_blank" title="' . esc_attr( __( 'Track Shipment', 'woo-advanced-shipment-tracking' ) ) . '">' . esc_html( $item['tracking_number'] ) . '</a>', esc_url( $formatted['ast_tracking_link'] ) );
|
243 |
-
?>
|
244 |
-
<?php } else { ?>
|
245 |
-
<span> - <?php echo esc_html( $item['tracking_number'] ); ?></span>
|
246 |
-
<?php } ?>
|
247 |
-
</div>
|
248 |
-
<?php
|
249 |
-
do_action( 'ast_after_tracking_number', $order_id, $item['tracking_id'] );
|
250 |
-
do_action( 'ast_shipment_tracking_end', $order_id, $item );
|
251 |
-
?>
|
252 |
-
</div>
|
253 |
-
<p class="meta">
|
254 |
-
<?php /* translators: 1: shipping date */ ?>
|
255 |
-
<?php echo esc_html( sprintf( __( 'Shipped on %s', 'woo-advanced-shipment-tracking' ), date_i18n( get_option( 'date_format' ), $item['date_shipped'] ) ) ); ?>
|
256 |
-
<a href="#" class="delete-tracking" rel="<?php echo esc_attr( $item['tracking_id'] ); ?>"><?php esc_html_e( 'Delete', 'woocommerce' ); ?></a>
|
257 |
-
</p>
|
258 |
-
</div>
|
259 |
-
<?php
|
260 |
-
}
|
261 |
-
|
262 |
-
/**
|
263 |
-
* Show the meta box for shipment info on the order page
|
264 |
-
*/
|
265 |
-
public function meta_box() {
|
266 |
-
global $post,$wpdb;
|
267 |
-
|
268 |
-
$order = wc_get_order( $post->ID );
|
269 |
-
$order_status = $order->get_status();
|
270 |
-
|
271 |
-
$WC_Countries = new WC_Countries();
|
272 |
-
$countries = $WC_Countries->get_countries();
|
273 |
-
|
274 |
-
$tracking_items = $this->get_tracking_items( $post->ID );
|
275 |
-
|
276 |
-
$shippment_countries = $wpdb->get_results( "SELECT shipping_country FROM $this->table WHERE display_in_order = 1 GROUP BY shipping_country" );
|
277 |
-
|
278 |
-
$shippment_providers = $wpdb->get_results( "SELECT * FROM $this->table" );
|
279 |
-
|
280 |
-
$default_provider = get_option( 'wc_ast_default_provider' );
|
281 |
-
$wc_ast_default_mark_shipped = get_option( 'wc_ast_default_mark_shipped' );
|
282 |
-
$wc_ast_status_partial_shipped = get_option( 'wc_ast_status_partial_shipped' );
|
283 |
-
$value = 1;
|
284 |
-
$cbvalue = '';
|
285 |
-
|
286 |
-
if ( 1 == $wc_ast_default_mark_shipped ) {
|
287 |
-
if ( $wc_ast_status_partial_shipped ) {
|
288 |
-
$cbvalue = 'change_order_to_shipped';
|
289 |
-
} else {
|
290 |
-
$cbvalue = 1;
|
291 |
-
}
|
292 |
-
}
|
293 |
-
|
294 |
-
$wc_ast_status_shipped = get_option( 'wc_ast_status_shipped' );
|
295 |
-
|
296 |
-
if ( 1 == $wc_ast_status_shipped ) {
|
297 |
-
$change_order_status_label = __( 'Mark as Shipped?', 'woo-advanced-shipment-tracking' );
|
298 |
-
$shipped_label = 'Shipped';
|
299 |
-
} else {
|
300 |
-
$change_order_status_label = __( 'Mark as Completed?', 'woo-advanced-shipment-tracking' );
|
301 |
-
$shipped_label = 'Completed';
|
302 |
-
}
|
303 |
-
|
304 |
-
echo '<div id="tracking-items">';
|
305 |
-
if ( count( $tracking_items ) > 0 ) {
|
306 |
-
foreach ( $tracking_items as $tracking_item ) {
|
307 |
-
$this->display_html_tracking_item_for_meta_box( $post->ID, $tracking_item );
|
308 |
-
}
|
309 |
-
}
|
310 |
-
echo '</div>';
|
311 |
-
|
312 |
-
do_action( 'ast_add_tracking_btn' );
|
313 |
-
|
314 |
-
echo '<div id="advanced-shipment-tracking-form">';
|
315 |
-
?>
|
316 |
-
<p class="form-field tracking_number_field ">
|
317 |
-
<label for="tracking_number"><?php esc_html_e( 'Tracking number:', 'woo-advanced-shipment-tracking' ); ?></label>
|
318 |
-
<input type="text" class="short" style="" name="tracking_number" id="tracking_number" value="" autocomplete="off">
|
319 |
-
</p>
|
320 |
-
<?php
|
321 |
-
echo '<p class="form-field tracking_provider_field"><label for="tracking_provider">' . esc_html__( 'Shipping Provider:', 'woo-advanced-shipment-tracking' ) . '</label><br/><select id="tracking_provider" name="tracking_provider" class="chosen_select tracking_provider_dropdown" style="width:100%;">';
|
322 |
-
|
323 |
-
echo '<option value="">' . esc_html__( 'Select Provider', 'woo-advanced-shipment-tracking' ) . '</option>';
|
324 |
-
|
325 |
-
foreach ( $shippment_countries as $s_c ) {
|
326 |
-
if ( 'Global' != $s_c->shipping_country ) {
|
327 |
-
$country_name = esc_attr( $WC_Countries->countries[$s_c->shipping_country] );
|
328 |
-
} else {
|
329 |
-
$country_name = 'Global';
|
330 |
-
}
|
331 |
-
echo '<optgroup label="' . esc_html( $country_name ) . '">';
|
332 |
-
$country = $s_c->shipping_country;
|
333 |
-
$shippment_providers_by_country = $wpdb->get_results( "SELECT * FROM $this->table WHERE shipping_country = '$country' AND display_in_order = 1" );
|
334 |
-
foreach ( $shippment_providers_by_country as $providers ) {
|
335 |
-
$providers->ts_slug;
|
336 |
-
$selected = ( esc_attr( $providers->provider_name ) == $default_provider ) ? 'selected' : '';
|
337 |
-
echo '<option value="' . esc_attr( $providers->ts_slug ) . '" ' . esc_html( $selected ) . '>' . esc_html( $providers->provider_name ) . '</option>';
|
338 |
-
}
|
339 |
-
echo '</optgroup>';
|
340 |
-
}
|
341 |
-
|
342 |
-
echo '</select> ';
|
343 |
-
|
344 |
-
woocommerce_wp_hidden_input( array(
|
345 |
-
'id' => 'wc_shipment_tracking_get_nonce',
|
346 |
-
'value' => wp_create_nonce( 'get-tracking-item' ),
|
347 |
-
) );
|
348 |
-
|
349 |
-
woocommerce_wp_hidden_input( array(
|
350 |
-
'id' => 'wc_shipment_tracking_delete_nonce',
|
351 |
-
'value' => wp_create_nonce( 'delete-tracking-item' ),
|
352 |
-
) );
|
353 |
-
|
354 |
-
woocommerce_wp_hidden_input( array(
|
355 |
-
'id' => 'wc_shipment_tracking_create_nonce',
|
356 |
-
'value' => wp_create_nonce( 'create-tracking-item' ),
|
357 |
-
) );
|
358 |
-
|
359 |
-
woocommerce_wp_text_input( array(
|
360 |
-
'id' => 'tracking_product_code',
|
361 |
-
'label' => __( 'Product Code:', 'woo-advanced-shipment-tracking' ),
|
362 |
-
'placeholder' => '',
|
363 |
-
'description' => '',
|
364 |
-
'value' => '',
|
365 |
-
) );
|
366 |
-
|
367 |
-
woocommerce_wp_text_input( array(
|
368 |
-
'id' => 'date_shipped',
|
369 |
-
'label' => __( 'Date shipped:', 'woo-advanced-shipment-tracking' ),
|
370 |
-
'placeholder' => date_i18n( __( 'Y-m-d', 'woo-advanced-shipment-tracking' ), time() ),
|
371 |
-
'description' => '',
|
372 |
-
'class' => 'date-picker-field',
|
373 |
-
'value' => date_i18n( __( 'Y-m-d', 'woo-advanced-shipment-tracking' ), current_time( 'timestamp' ) ),
|
374 |
-
) );
|
375 |
-
|
376 |
-
do_action( 'ast_after_tracking_field', $post->ID);
|
377 |
-
do_action( 'ast_tracking_form_between_form', $post->ID, 'single_order' );
|
378 |
-
|
379 |
-
if ( 'auto-draft' != $order_status ) {
|
380 |
-
wc_advanced_shipment_tracking()->actions->mark_order_as_fields_html();
|
381 |
-
}
|
382 |
-
|
383 |
-
if ( 'auto-draft' != $order_status ) {
|
384 |
-
echo '<button class="button button-primary btn_ast2 button-save-form">' . esc_html__( 'Save Tracking', 'woo-advanced-shipment-tracking' ) . '</button>';
|
385 |
-
}
|
386 |
-
|
387 |
-
echo '<p class="preview_tracking_link">' . esc_html__( 'Preview:', 'woo-advanced-shipment-tracking' ) . ' <a href="" target="_blank">' . esc_html__( 'Track Shipment', 'woo-advanced-shipment-tracking' ) . '</a></p>';
|
388 |
-
|
389 |
-
echo '</div>';
|
390 |
-
|
391 |
-
$provider_array = array();
|
392 |
-
|
393 |
-
foreach ( $shippment_providers as $provider ) {
|
394 |
-
$provider_array[ sanitize_title( $provider->provider_name ) ] = urlencode( $provider->provider_url );
|
395 |
-
}
|
396 |
-
|
397 |
-
$js = "
|
398 |
-
jQuery( 'p.custom_tracking_link_field, p.custom_tracking_provider_field ').hide();
|
399 |
-
|
400 |
-
jQuery( 'input#tracking_number, #tracking_provider' ).change( function() {
|
401 |
-
|
402 |
-
var tracking = jQuery( 'input#tracking_number' ).val();
|
403 |
-
var provider = jQuery( '#tracking_provider' ).val();
|
404 |
-
var providers = jQuery.parseJSON( '" . json_encode( $provider_array ) . "' );
|
405 |
-
|
406 |
-
var postcode = jQuery( '#_shipping_postcode' ).val();
|
407 |
-
|
408 |
-
if ( ! postcode.length ) {
|
409 |
-
postcode = jQuery( '#_billing_postcode' ).val();
|
410 |
-
}
|
411 |
-
|
412 |
-
postcode = encodeURIComponent( postcode );
|
413 |
-
|
414 |
-
var link = '';
|
415 |
-
|
416 |
-
if ( providers[ provider ] ) {
|
417 |
-
link = providers[provider];
|
418 |
-
link = link.replace( '%25number%25', tracking );
|
419 |
-
link = link.replace( '%252%24s', postcode );
|
420 |
-
link = decodeURIComponent( link );
|
421 |
-
|
422 |
-
jQuery( 'p.custom_tracking_link_field, p.custom_tracking_provider_field' ).hide();
|
423 |
-
} else {
|
424 |
-
jQuery( 'p.custom_tracking_link_field, p.custom_tracking_provider_field' ).show();
|
425 |
-
|
426 |
-
link = jQuery( 'input#custom_tracking_link' ).val();
|
427 |
-
}
|
428 |
-
|
429 |
-
if ( link ) {
|
430 |
-
jQuery( 'p.preview_tracking_link a' ).attr( 'href', link );
|
431 |
-
jQuery( 'p.preview_tracking_link' ).show();
|
432 |
-
} else {
|
433 |
-
jQuery( 'p.preview_tracking_link' ).hide();
|
434 |
-
}
|
435 |
-
|
436 |
-
} ).change();";
|
437 |
-
|
438 |
-
if ( function_exists( 'wc_enqueue_js' ) ) {
|
439 |
-
wc_enqueue_js( $js );
|
440 |
-
} else {
|
441 |
-
WC()->add_inline_js( $js );
|
442 |
-
}
|
443 |
-
|
444 |
-
wp_enqueue_style( 'ast_styles', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/admin.css', array(), wc_advanced_shipment_tracking()->version );
|
445 |
-
wp_enqueue_script( 'woocommerce-advanced-shipment-tracking-js', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/js/admin.js', array( 'jquery' ), wc_advanced_shipment_tracking()->version, true );
|
446 |
-
?>
|
447 |
-
<script>
|
448 |
-
jQuery(document).on("change", "#tracking_provider", function(){
|
449 |
-
var selected_provider = jQuery(this).val();
|
450 |
-
if(selected_provider == 'nz-couriers' || selected_provider == 'post-haste' || selected_provider == 'castle-parcels' || selected_provider == 'dx-mail' || selected_provider == 'now-couriers'){
|
451 |
-
jQuery('.tracking_product_code_field').show();
|
452 |
-
} else{
|
453 |
-
jQuery('.tracking_product_code_field').hide();
|
454 |
-
}
|
455 |
-
});
|
456 |
-
</script>
|
457 |
-
<?php
|
458 |
-
do_action( 'ast_tracking_form_end_meta_box' );
|
459 |
-
}
|
460 |
-
|
461 |
-
/*
|
462 |
-
* Function for mark order as html
|
463 |
-
*/
|
464 |
-
public function mark_order_as_fields_html() {
|
465 |
-
|
466 |
-
$wc_ast_status_shipped = get_option( 'wc_ast_status_shipped', 0 );
|
467 |
-
$shipped_label = ( 1 == $wc_ast_status_shipped ) ? __( 'Shipped', 'woo-advanced-shipment-tracking' ) : __( 'Completed', 'woo-advanced-shipment-tracking' );
|
468 |
-
|
469 |
-
$wc_ast_default_mark_shipped = get_option( 'wc_ast_default_mark_shipped' );
|
470 |
-
$wc_ast_status_partial_shipped = get_option( 'wc_ast_status_partial_shipped' );
|
471 |
-
|
472 |
-
$order_status_array = apply_filters( 'mark_order_as_fields_data' , array(
|
473 |
-
'change_order_to_shipped' => array(
|
474 |
-
'name' => 'change_order_to_shipped',
|
475 |
-
'class' => 'mark_shipped_checkbox',
|
476 |
-
'label' => $shipped_label,
|
477 |
-
'checked' => ( 1 == $wc_ast_default_mark_shipped ) ? true : false,
|
478 |
-
'show' => true,
|
479 |
-
),
|
480 |
-
'change_order_to_partial_shipped' => array(
|
481 |
-
'name' => 'change_order_to_shipped',
|
482 |
-
'class' => 'mark_shipped_checkbox',
|
483 |
-
'label' => __( 'Partial Shipped', 'woo-advanced-shipment-tracking'),
|
484 |
-
'checked' => false,
|
485 |
-
'show' => ( 1 == $wc_ast_status_partial_shipped ) ? true : false
|
486 |
-
),
|
487 |
-
)
|
488 |
-
);
|
489 |
-
?>
|
490 |
-
|
491 |
-
<fieldset class="form-field change_order_to_shipped_field">
|
492 |
-
<span><?php esc_html_e( 'Mark order as:', 'woo-advanced-shipment-tracking'); ?></span>
|
493 |
-
<ul class="wc-radios">
|
494 |
-
<?php
|
495 |
-
foreach ( $order_status_array as $value => $data ) {
|
496 |
-
if ( isset( $data['show'] ) && true == $data['show'] ) {
|
497 |
-
$checked = $data['checked'] ? 'checked' : '';
|
498 |
-
?>
|
499 |
-
<li>
|
500 |
-
<label>
|
501 |
-
<input name="<?php esc_html_e( $data['name'] ); ?>" value="<?php esc_html_e( $value ); ?>" type="checkbox" class="select short mark_shipped_checkbox" <?php esc_html_e( $checked ); ?>><?php esc_html_e( $data['label'] ); ?>
|
502 |
-
</label>
|
503 |
-
</li>
|
504 |
-
<?php
|
505 |
-
}
|
506 |
-
}
|
507 |
-
?>
|
508 |
-
</ul>
|
509 |
-
</fieldset>
|
510 |
-
<?php
|
511 |
-
}
|
512 |
-
|
513 |
-
/*
|
514 |
-
* Function for add tracking button in order details page
|
515 |
-
*/
|
516 |
-
public function ast_add_tracking_btn() {
|
517 |
-
echo '<button class="button button-primary btn_ast2 btn_full button-show-tracking-form" type="button">' . esc_html__( 'Add Tracking Info', 'woo-advanced-shipment-tracking' ) . '</button>';
|
518 |
-
}
|
519 |
-
|
520 |
-
/**
|
521 |
-
* Order Tracking Get All Order Items AJAX
|
522 |
-
*
|
523 |
-
* Function for getting all tracking items associated with the order
|
524 |
-
*/
|
525 |
-
public function get_meta_box_items_ajax() {
|
526 |
-
|
527 |
-
check_ajax_referer( 'get-tracking-item', 'security', true );
|
528 |
-
|
529 |
-
$order_id = isset( $_POST['order_id'] ) ? wc_clean( $_POST['order_id'] ) : '';
|
530 |
-
$tracking_items = $this->get_tracking_items( $order_id );
|
531 |
-
|
532 |
-
foreach ( $tracking_items as $tracking_item ) {
|
533 |
-
$this->display_html_tracking_item_for_meta_box( $order_id, $tracking_item );
|
534 |
-
}
|
535 |
-
die();
|
536 |
-
}
|
537 |
-
|
538 |
-
/**
|
539 |
-
* Get shipping provider custom name or name
|
540 |
-
*/
|
541 |
-
public function get_ast_provider_name_callback( $provider_name, $results ) {
|
542 |
-
|
543 |
-
if ( !empty( $results ) ) {
|
544 |
-
$provider_name = ( null != $results->custom_provider_name ) ? $results->custom_provider_name : $results->provider_name;
|
545 |
-
}
|
546 |
-
|
547 |
-
return $provider_name;
|
548 |
-
}
|
549 |
-
|
550 |
-
/**
|
551 |
-
* Get shipping provider image src
|
552 |
-
*/
|
553 |
-
public function get_shipping_provdider_src_callback( $results ) {
|
554 |
-
|
555 |
-
if ( !empty( $results ) ) {
|
556 |
-
|
557 |
-
$upload_dir = wp_upload_dir();
|
558 |
-
$ast_directory = $upload_dir['baseurl'] . '/ast-shipping-providers/';
|
559 |
-
$ast_base_directory = $upload_dir['basedir'] . '/ast-shipping-providers/';
|
560 |
-
|
561 |
-
$custom_thumb_id = $results->custom_thumb_id;
|
562 |
-
|
563 |
-
if ( 0 == (int) $custom_thumb_id && 1 == (int) $results->shipping_default ) {
|
564 |
-
$src = $ast_directory . '' . sanitize_title( $results->provider_name ) . '.png?v=' . wc_advanced_shipment_tracking()->version;
|
565 |
-
} else if ( 0 != (int) $custom_thumb_id ) {
|
566 |
-
$image_attributes = wp_get_attachment_image_src( (int) $custom_thumb_id , array( '60', '60' ) );
|
567 |
-
if ( $image_attributes[0] ) {
|
568 |
-
$src = $image_attributes[0];
|
569 |
-
}
|
570 |
-
} else {
|
571 |
-
$src = wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/images/icon-default.png';
|
572 |
-
}
|
573 |
-
} else {
|
574 |
-
$src = wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/images/icon-default.png';
|
575 |
-
}
|
576 |
-
return $src;
|
577 |
-
}
|
578 |
-
|
579 |
-
/**
|
580 |
-
* Order Tracking Save
|
581 |
-
*
|
582 |
-
* Function for saving tracking items
|
583 |
-
*/
|
584 |
-
public function save_meta_box( $post_id, $post ) {
|
585 |
-
|
586 |
-
// Check the nonce.
|
587 |
-
if ( empty( $_POST['woocommerce_meta_nonce'] ) || ! wp_verify_nonce( wp_unslash( wc_clean( $_POST['woocommerce_meta_nonce'] ) ), 'woocommerce_save_data' ) ) { // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized
|
588 |
-
return;
|
589 |
-
}
|
590 |
-
|
591 |
-
$tracking_provider = isset( $_POST['tracking_provider'] ) ? wc_clean( $_POST['tracking_provider'] ) : '';
|
592 |
-
$tracking_number = isset( $_POST['tracking_number'] ) ? wc_clean( $_POST['tracking_number'] ) : '';
|
593 |
-
|
594 |
-
if ( strlen( $tracking_number ) > 0 && '' != $tracking_provider ) {
|
595 |
-
|
596 |
-
$tracking_product_code = isset( $_POST['tracking_product_code'] ) ? wc_clean( $_POST['tracking_product_code'] ) : '';
|
597 |
-
$date_shipped = isset( $_POST['date_shipped'] ) ? wc_clean( $_POST['date_shipped'] ) : '';
|
598 |
-
$tracking_number = isset( $_POST['tracking_number'] ) ? wc_clean( $_POST['tracking_number'] ) : '';
|
599 |
-
$tracking_provider = isset( $_POST['tracking_provider'] ) ? wc_clean( $_POST['tracking_provider'] ) : '';
|
600 |
-
$order = new WC_Order($post_id);
|
601 |
-
|
602 |
-
$args = array(
|
603 |
-
'tracking_provider' => $tracking_provider,
|
604 |
-
'tracking_number' => $tracking_number,
|
605 |
-
'tracking_product_code' => $tracking_product_code,
|
606 |
-
'date_shipped' => $date_shipped,
|
607 |
-
);
|
608 |
-
|
609 |
-
$args = apply_filters( 'tracking_info_args', $args, $_POST, $post_id );
|
610 |
-
|
611 |
-
if ( isset( $_POST['change_order_to_shipped'] ) ) {
|
612 |
-
if ( 'change_order_to_shipped' == $_POST['change_order_to_shipped'] ) {
|
613 |
-
$args['status_shipped'] = 1;
|
614 |
-
} elseif ( 'change_order_to_partial_shipped' == $_POST['change_order_to_shipped'] ) {
|
615 |
-
$args['status_shipped'] = 2;
|
616 |
-
}
|
617 |
-
} else {
|
618 |
-
$args['status_shipped'] = 0;
|
619 |
-
}
|
620 |
-
|
621 |
-
$this->add_tracking_item( $post_id, $args );
|
622 |
-
}
|
623 |
-
}
|
624 |
-
|
625 |
-
/**
|
626 |
-
* Order Tracking Save AJAX
|
627 |
-
*
|
628 |
-
* Function for saving tracking items via AJAX
|
629 |
-
*/
|
630 |
-
public function save_meta_box_ajax() {
|
631 |
-
|
632 |
-
check_ajax_referer( 'create-tracking-item', 'security', true );
|
633 |
-
|
634 |
-
$tracking_provider = isset( $_POST['tracking_provider'] ) ? wc_clean( $_POST['tracking_provider'] ) : '';
|
635 |
-
$tracking_number = isset( $_POST['tracking_number'] ) ? wc_clean( $_POST['tracking_number'] ) : '';
|
636 |
-
$tracking_number = str_replace( ' ', '', $tracking_number );
|
637 |
-
|
638 |
-
if ( strlen( $tracking_number ) > 0 && '' != $tracking_provider ) {
|
639 |
-
|
640 |
-
$order_id = isset( $_POST['order_id'] ) ? wc_clean( $_POST['order_id'] ) : '';
|
641 |
-
$order = new WC_Order( $order_id );
|
642 |
-
$tracking_product_code = isset( $_POST['tracking_product_code'] ) ? wc_clean( $_POST['tracking_product_code'] ) : '';
|
643 |
-
$date_shipped = isset( $_POST['date_shipped'] ) ? wc_clean( $_POST['date_shipped'] ) : '';
|
644 |
-
|
645 |
-
$args = array(
|
646 |
-
'tracking_provider' => $tracking_provider,
|
647 |
-
'tracking_number' => $tracking_number,
|
648 |
-
'tracking_product_code' => $tracking_product_code,
|
649 |
-
'date_shipped' => $date_shipped,
|
650 |
-
);
|
651 |
-
|
652 |
-
$args = apply_filters( 'tracking_info_args', $args, $_POST, $order_id );
|
653 |
-
|
654 |
-
$change_order_to_shipped = isset( $_POST[ 'change_order_to_shipped' ] ) ? wc_clean( $_POST[ 'change_order_to_shipped' ] ) : '';
|
655 |
-
|
656 |
-
if ( 'change_order_to_shipped' == $change_order_to_shipped ) {
|
657 |
-
$args['status_shipped'] = 1;
|
658 |
-
} elseif ( 'change_order_to_partial_shipped' == $change_order_to_shipped ) {
|
659 |
-
$args['status_shipped'] = 2;
|
660 |
-
}
|
661 |
-
|
662 |
-
$tracking_item = $this->add_tracking_item( $order_id, $args );
|
663 |
-
|
664 |
-
do_action( 'ast_save_tracking_details_end', $order_id, $_POST );
|
665 |
-
|
666 |
-
if ( isset( $_POST['productlist'] ) && !empty( $_POST['productlist'] ) && '[]' != $_POST['productlist'] ) {
|
667 |
-
echo 'reload';
|
668 |
-
die();
|
669 |
-
}
|
670 |
-
|
671 |
-
$this->display_html_tracking_item_for_meta_box( $order_id, $tracking_item );
|
672 |
-
}
|
673 |
-
|
674 |
-
die();
|
675 |
-
}
|
676 |
-
|
677 |
-
/**
|
678 |
-
* Order Tracking Save AJAX
|
679 |
-
*
|
680 |
-
* Function for saving tracking items via AJAX
|
681 |
-
*/
|
682 |
-
public function save_inline_tracking_number() {
|
683 |
-
|
684 |
-
check_ajax_referer( 'wc_ast_inline_tracking_form', 'wc_ast_inline_tracking_form_nonce' );
|
685 |
-
|
686 |
-
$tracking_provider = isset( $_POST['tracking_provider'] ) ? wc_clean( $_POST['tracking_provider'] ) : '';
|
687 |
-
$tracking_number = isset( $_POST['tracking_number'] ) ? wc_clean( $_POST['tracking_number'] ) : '';
|
688 |
-
|
689 |
-
if ( strlen( $tracking_number ) > 0 && '' != $tracking_provider ) {
|
690 |
-
|
691 |
-
$order_id = isset( $_POST['order_id'] ) ? wc_clean( $_POST['order_id'] ) : '';
|
692 |
-
$tracking_product_code = isset( $_POST['tracking_product_code'] ) ? wc_clean( $_POST['tracking_product_code'] ) : '';
|
693 |
-
$date_shipped = isset( $_POST['date_shipped'] ) ? wc_clean( $_POST['date_shipped'] ) : '';
|
694 |
-
|
695 |
-
$args = array(
|
696 |
-
'tracking_provider' => $tracking_provider,
|
697 |
-
'tracking_number' => $tracking_number,
|
698 |
-
'tracking_product_code' => $tracking_product_code,
|
699 |
-
'date_shipped' => $date_shipped,
|
700 |
-
);
|
701 |
-
|
702 |
-
$args = apply_filters( 'tracking_info_args', $args, $_POST, $order_id );
|
703 |
-
|
704 |
-
$change_order_to_shipped = isset( $_POST[ 'change_order_to_shipped' ] ) ? wc_clean( $_POST[ 'change_order_to_shipped' ] ) : '';
|
705 |
-
|
706 |
-
if ( 'change_order_to_shipped' == $change_order_to_shipped || 'yes' == $change_order_to_shipped ) {
|
707 |
-
$args['status_shipped'] = 1;
|
708 |
-
} elseif ( 'change_order_to_partial_shipped' == $change_order_to_shipped ) {
|
709 |
-
$args['status_shipped'] = 2;
|
710 |
-
}
|
711 |
-
|
712 |
-
$tracking_item = $this->add_tracking_item( $order_id, $args );
|
713 |
-
do_action( 'ast_save_tracking_details_end', $order_id, $_POST );
|
714 |
-
}
|
715 |
-
}
|
716 |
-
|
717 |
-
/**
|
718 |
-
* Order Tracking Delete
|
719 |
-
*
|
720 |
-
* Function to delete a tracking item
|
721 |
-
*/
|
722 |
-
public function meta_box_delete_tracking() {
|
723 |
-
|
724 |
-
check_ajax_referer( 'delete-tracking-item', 'security' );
|
725 |
-
|
726 |
-
$order_id = isset( $_POST['order_id'] ) ? wc_clean( $_POST['order_id'] ) : '';
|
727 |
-
$tracking_id = isset( $_POST['tracking_id'] ) ? wc_clean( $_POST['tracking_id'] ) : '';
|
728 |
-
$tracking_items = $this->get_tracking_items( $order_id, true );
|
729 |
-
|
730 |
-
do_action( 'delete_tracking_number_from_trackship', $tracking_items, $tracking_id, $order_id );
|
731 |
-
|
732 |
-
foreach ( $tracking_items as $tracking_item ) {
|
733 |
-
if ( $tracking_item['tracking_id'] == $tracking_id ) {
|
734 |
-
|
735 |
-
$formated_tracking_item = $this->get_formatted_tracking_item( $order_id, $tracking_item );
|
736 |
-
$tracking_number = $tracking_item['tracking_number'];
|
737 |
-
$tracking_provider = $formated_tracking_item['formatted_tracking_provider'];
|
738 |
-
$order = wc_get_order( $order_id );
|
739 |
-
|
740 |
-
/* translators: %1$s: Reaplce with tracking provider, %2$s: Reaplce with tracking number */
|
741 |
-
$note = sprintf( __( 'Tracking info was deleted for tracking provider %1$s with tracking number %2$s', 'woo-advanced-shipment-tracking' ), $tracking_provider, $tracking_number );
|
742 |
-
|
743 |
-
// Add the note
|
744 |
-
$order->add_order_note( $note );
|
745 |
-
}
|
746 |
-
}
|
747 |
-
|
748 |
-
$this->delete_tracking_item( $order_id, $tracking_id );
|
749 |
-
}
|
750 |
-
|
751 |
-
/**
|
752 |
-
* Display Shipment info in the frontend (order view/tracking page).
|
753 |
-
*/
|
754 |
-
public function show_tracking_info_order( $order_id ) {
|
755 |
-
|
756 |
-
wp_enqueue_style( 'front_style' );
|
757 |
-
wp_enqueue_script( 'jquery-blockui' );
|
758 |
-
wp_enqueue_script( 'front-js' );
|
759 |
-
|
760 |
-
$local_template = get_stylesheet_directory() . '/woocommerce/myaccount/tracking-info.php';
|
761 |
-
|
762 |
-
if ( file_exists( $local_template ) && is_writable( $local_template ) ) {
|
763 |
-
wc_get_template( 'myaccount/tracking-info.php', array( 'tracking_items' => $this->get_tracking_items( $order_id, true ), 'order_id' => $order_id ), 'woocommerce-advanced-shipment-tracking/', get_stylesheet_directory() . '/woocommerce/' );
|
764 |
-
} else {
|
765 |
-
wc_get_template( 'myaccount/tracking-info.php', array( 'tracking_items' => $this->get_tracking_items( $order_id, true ), 'order_id' => $order_id ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
|
766 |
-
}
|
767 |
-
}
|
768 |
-
|
769 |
-
/**
|
770 |
-
* Adds a new column Track to the "My Orders" table in the account.
|
771 |
-
*
|
772 |
-
* @param string[] $columns the columns in the orders table
|
773 |
-
* @return string[] updated columns
|
774 |
-
*/
|
775 |
-
public function add_column_my_account_orders( $columns ) {
|
776 |
-
|
777 |
-
$new_columns = array();
|
778 |
-
foreach ( $columns as $key => $name ) {
|
779 |
-
|
780 |
-
$new_columns[ $key ] = $name;
|
781 |
-
|
782 |
-
// add ship-to after order status column
|
783 |
-
if ( 'order-total' === $key ) {
|
784 |
-
$new_columns['order-ast-track'] = __( 'Track', 'woo-advanced-shipment-tracking' );
|
785 |
-
}
|
786 |
-
}
|
787 |
-
|
788 |
-
return $new_columns;
|
789 |
-
}
|
790 |
-
|
791 |
-
/**
|
792 |
-
* Adds data to the custom "Track" column in "My Account > Orders".
|
793 |
-
*
|
794 |
-
* @param \WC_Order $order the order object for the row
|
795 |
-
*/
|
796 |
-
public function add_column_my_account_orders_ast_track_column( $actions, $order ) {
|
797 |
-
|
798 |
-
$order_id = $order->get_id();
|
799 |
-
$tracking_items = $this->get_tracking_items( $order_id, true );
|
800 |
-
$wc_ast_api_key = get_option( 'wc_ast_api_key' );
|
801 |
-
$use_tracking_page = get_option( 'wc_ast_use_tracking_page' );
|
802 |
-
$display_track_in_my_account = get_option( 'display_track_in_my_account', 0 );
|
803 |
-
$open_track_in_new_tab = get_option( 'open_track_in_new_tab', 0 );
|
804 |
-
|
805 |
-
if ( 1 != $display_track_in_my_account ) {
|
806 |
-
return $actions;
|
807 |
-
}
|
808 |
-
|
809 |
-
if ( 0 == count( $tracking_items ) ) {
|
810 |
-
return $actions;
|
811 |
-
}
|
812 |
-
|
813 |
-
if ( count( $tracking_items ) > 1 && ( !$wc_ast_api_key || !$use_tracking_page ) ) {
|
814 |
-
$actions['ast_multi_track'] = array(
|
815 |
-
// adjust URL as needed
|
816 |
-
'url' => $order->get_view_order_url(),
|
817 |
-
'name' => __( 'Track', 'woo-advanced-shipment-tracking' ),
|
818 |
-
);
|
819 |
-
return $actions;
|
820 |
-
}
|
821 |
-
|
822 |
-
if ( 1 == $open_track_in_new_tab ) {
|
823 |
-
?>
|
824 |
-
<script>
|
825 |
-
jQuery( document ).ready(function() {
|
826 |
-
jQuery('.ast_track').attr("target","_blank");
|
827 |
-
});
|
828 |
-
</script>
|
829 |
-
<?php
|
830 |
-
}
|
831 |
-
$tracking_items = reset($tracking_items);
|
832 |
-
$actions['ast_track'] = array(
|
833 |
-
// adjust URL as needed
|
834 |
-
'url' => $tracking_items[ 'ast_tracking_link' ],
|
835 |
-
'name' => __( 'Track', 'woo-advanced-shipment-tracking' ),
|
836 |
-
);
|
837 |
-
return $actions;
|
838 |
-
}
|
839 |
-
|
840 |
-
/**
|
841 |
-
* Display shipment info in customer emails.
|
842 |
-
*
|
843 |
-
* @version 1.6.8
|
844 |
-
*
|
845 |
-
* @param WC_Order $order Order object.
|
846 |
-
* @param bool $sent_to_admin Whether the email is being sent to admin or not.
|
847 |
-
* @param bool $plain_text Whether email is in plain text or not.
|
848 |
-
* @param WC_Email $email Email object.
|
849 |
-
*/
|
850 |
-
public function email_display( $order, $sent_to_admin, $plain_text = null, $email = null ) {
|
851 |
-
|
852 |
-
$wc_ast_unclude_tracking_info = get_option( 'wc_ast_unclude_tracking_info' );
|
853 |
-
|
854 |
-
$order_id = is_callable( array( $order, 'get_id' ) ) ? $order->get_id() : $order->id;
|
855 |
-
|
856 |
-
$preview = ( ( isset( $_REQUEST['wcast-tracking-preview'] ) && '1' === $_REQUEST['wcast-tracking-preview'] ) || ( isset( $_REQUEST['wcast-partial-shipped-email-customizer-preview'] ) && '1' === $_REQUEST['wcast-partial-shipped-email-customizer-preview'] ) ) ? true : false;
|
857 |
-
|
858 |
-
$local_template = get_stylesheet_directory() . '/woocommerce/emails/tracking-info.php';
|
859 |
-
|
860 |
-
$order = wc_get_order( $order_id );
|
861 |
-
|
862 |
-
if ( $preview && 1 == $order_id ) {
|
863 |
-
|
864 |
-
$upload_dir = wp_upload_dir();
|
865 |
-
$ast_directory = $upload_dir['baseurl'] . '/ast-shipping-providers/';
|
866 |
-
|
867 |
-
$tracking_items[] = array(
|
868 |
-
'tracking_provider' => 'usps',
|
869 |
-
'custom_tracking_provider' => '',
|
870 |
-
'formatted_tracking_provider' => 'USPS',
|
871 |
-
'tracking_provider_image' => $ast_directory . 'usps.png',
|
872 |
-
'formatted_tracking_link' => 'https://tools.usps.com/go/TrackConfirmAction_input?qtc_tLabels1=112123113',
|
873 |
-
'ast_tracking_link' => 'https://tools.usps.com/go/TrackConfirmAction_input?qtc_tLabels1=112123113',
|
874 |
-
'tracking_number' => '112123113',
|
875 |
-
'date_shipped' => strtotime( gmdate( 'Y-m-d' ) ),
|
876 |
-
);
|
877 |
-
|
878 |
-
if ( file_exists( $local_template ) && is_writable( $local_template ) ) {
|
879 |
-
wc_get_template( 'emails/tracking-info.php', array( 'tracking_items' => $tracking_items, 'order_id'=> 1 ), 'woocommerce-advanced-shipment-tracking/', get_stylesheet_directory() . '/woocommerce/' );
|
880 |
-
} else {
|
881 |
-
wc_get_template( 'emails/tracking-info.php', array( 'tracking_items' => $tracking_items, 'order_id'=> 1 ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
|
882 |
-
}
|
883 |
-
|
884 |
-
} else if ( $order ) {
|
885 |
-
$order_status = $order->get_status();
|
886 |
-
|
887 |
-
if ( is_a( $email, 'WC_Email_Customer_Invoice' ) && isset( $wc_ast_unclude_tracking_info['show_in_customer_invoice'] ) && 0 == $wc_ast_unclude_tracking_info['show_in_customer_invoice'] ) {
|
888 |
-
return;
|
889 |
-
}
|
890 |
-
|
891 |
-
if ( is_a( $email, 'WC_Email_Customer_Note' ) && isset( $wc_ast_unclude_tracking_info['show_in_customer_note'] ) && 0 == $wc_ast_unclude_tracking_info['show_in_customer_note'] ) {
|
892 |
-
return;
|
893 |
-
}
|
894 |
-
|
895 |
-
if ( isset( $wc_ast_unclude_tracking_info[ $order_status ] ) && 0 == $wc_ast_unclude_tracking_info[ $order_status ] && !is_a( $email, 'WC_Email_Customer_Invoice' ) && !is_a( $email, 'WC_Email_Customer_Note' ) ) {
|
896 |
-
return;
|
897 |
-
}
|
898 |
-
|
899 |
-
if ( is_a( $email, 'WC_Email_Customer_Refunded_Order' ) && isset( $wc_ast_unclude_tracking_info[ 'refunded' ] ) && 0 == $wc_ast_unclude_tracking_info[ 'refunded' ] ) {
|
900 |
-
return;
|
901 |
-
}
|
902 |
-
|
903 |
-
$tracking_items = $this->get_tracking_items( $order_id, true );
|
904 |
-
|
905 |
-
if ( true === $plain_text ) {
|
906 |
-
|
907 |
-
if ( file_exists( $local_template ) && is_writable( $local_template ) ) {
|
908 |
-
wc_get_template( 'emails/plain/tracking-info.php', array( 'tracking_items' => $this->get_tracking_items( $order_id, true ), 'order_id'=> $order_id ), 'woocommerce-advanced-shipment-tracking/', get_stylesheet_directory() . '/woocommerce/' );
|
909 |
-
} else {
|
910 |
-
wc_get_template( 'emails/plain/tracking-info.php', array( 'tracking_items' => $this->get_tracking_items( $order_id, true ), 'order_id'=> $order_id ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
|
911 |
-
}
|
912 |
-
} else {
|
913 |
-
if ( file_exists( $local_template ) && is_writable( $local_template ) ) {
|
914 |
-
wc_get_template( 'emails/tracking-info.php', array( 'tracking_items' => $this->get_tracking_items( $order_id, true ), 'order_id'=> $order_id ), 'woocommerce-advanced-shipment-tracking/', get_stylesheet_directory() . '/woocommerce/' );
|
915 |
-
} else {
|
916 |
-
wc_get_template( 'emails/tracking-info.php', array( 'tracking_items' => $this->get_tracking_items( $order_id, true ), 'order_id'=> $order_id ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
|
917 |
-
}
|
918 |
-
}
|
919 |
-
}
|
920 |
-
}
|
921 |
-
|
922 |
-
/**
|
923 |
-
* Prevents data being copied to subscription renewals
|
924 |
-
*/
|
925 |
-
public function woocommerce_subscriptions_renewal_order_meta_query( $order_meta_query, $original_order_id, $renewal_order_id, $new_order_role ) {
|
926 |
-
$order_meta_query .= " AND `meta_key` NOT IN ( '_wc_shipment_tracking_items' )";
|
927 |
-
return $order_meta_query;
|
928 |
-
}
|
929 |
-
|
930 |
-
/*
|
931 |
-
* Works out the final tracking provider and tracking link and appends then to the returned tracking item
|
932 |
-
*
|
933 |
-
*/
|
934 |
-
public function get_formatted_tracking_item( $order_id, $tracking_item ) {
|
935 |
-
$formatted = array();
|
936 |
-
$tracking_items = $this->get_tracking_items( $order_id );
|
937 |
-
$trackship_supported = '';
|
938 |
-
|
939 |
-
foreach ( $tracking_items as $key => $item ) {
|
940 |
-
if ( $item['tracking_id'] == $tracking_item['tracking_id'] ) {
|
941 |
-
$shipmet_key = $key;
|
942 |
-
}
|
943 |
-
}
|
944 |
-
|
945 |
-
$shipment_status = get_post_meta( $order_id, 'shipment_status', true );
|
946 |
-
|
947 |
-
$status = isset( $shipment_status[ $shipmet_key ][ 'status' ] ) ? $shipment_status[ $shipmet_key ][ 'status' ] : '';
|
948 |
-
|
949 |
-
if ( version_compare( WC_VERSION, '3.0', '<' ) ) {
|
950 |
-
$postcode = get_post_meta( $order_id, '_shipping_postcode', true );
|
951 |
-
} else {
|
952 |
-
$order = new WC_Order( $order_id );
|
953 |
-
$postcode = $order->get_shipping_postcode();
|
954 |
-
}
|
955 |
-
|
956 |
-
$formatted['formatted_tracking_provider'] = '';
|
957 |
-
$formatted['formatted_tracking_link'] = '';
|
958 |
-
|
959 |
-
if ( empty( $postcode ) ) {
|
960 |
-
$postcode = get_post_meta( $order_id, '_shipping_postcode', true );
|
961 |
-
}
|
962 |
-
|
963 |
-
$tracking_provider = isset( $tracking_item['tracking_provider'] ) ? $tracking_item['tracking_provider'] : $tracking_item['custom_tracking_provider'];
|
964 |
-
$tracking_provider = apply_filters( 'convert_provider_name_to_slug', $tracking_provider );
|
965 |
-
$tracking_item['tracking_provider'] = $tracking_provider;
|
966 |
-
|
967 |
-
$link_format = '';
|
968 |
-
|
969 |
-
foreach ( $this->get_providers() as $provider => $format ) {
|
970 |
-
if ( $provider === $tracking_item['tracking_provider'] || $format['provider_name'] === $tracking_item['tracking_provider'] ) {
|
971 |
-
$link_format = $format['provider_url'];
|
972 |
-
$trackship_supported = $format['trackship_supported'];
|
973 |
-
$formatted['formatted_tracking_provider'] = $format['provider_name'];
|
974 |
-
break;
|
975 |
-
}
|
976 |
-
|
977 |
-
if ( $link_format ) {
|
978 |
-
break;
|
979 |
-
}
|
980 |
-
}
|
981 |
-
|
982 |
-
if ( $link_format ) {
|
983 |
-
$searchVal = array( '%number%', str_replace( ' ', '', '%2 $ s' ) );
|
984 |
-
$tracking_number = str_replace( ' ', '', $tracking_item['tracking_number'] );
|
985 |
-
$replaceVal = array( $tracking_number, urlencode( $postcode ) );
|
986 |
-
$link_format = str_replace( $searchVal, $replaceVal, $link_format );
|
987 |
-
|
988 |
-
if ( isset( $tracking_item[ 'tracking_product_code' ] ) ) {
|
989 |
-
$searchnumber2 = array( '%number2%', str_replace(' ', '', '%2 $ s') );
|
990 |
-
$tracking_product_code = str_replace(' ', '', $tracking_item['tracking_product_code']);
|
991 |
-
$link_format = str_replace( $searchnumber2, $tracking_product_code, $link_format );
|
992 |
-
}
|
993 |
-
|
994 |
-
if ( null != $order->get_shipping_country() ) {
|
995 |
-
$shipping_country = $order->get_shipping_country();
|
996 |
-
} else {
|
997 |
-
$shipping_country = $order->get_billing_country();
|
998 |
-
}
|
999 |
-
|
1000 |
-
if ( $shipping_country ) {
|
1001 |
-
|
1002 |
-
if ( 'jp-post' == $tracking_item['tracking_provider'] && 'JP' != $shipping_country ) {
|
1003 |
-
$local_en = '&locale=en';
|
1004 |
-
$link_format = $link_format . $local_en;
|
1005 |
-
}
|
1006 |
-
|
1007 |
-
if ( 'dhl-ecommerce' == $tracking_item['tracking_provider'] ) {
|
1008 |
-
$link_format = str_replace('us-en', strtolower($shipping_country) . '-en', $link_format);
|
1009 |
-
}
|
1010 |
-
|
1011 |
-
if ( 'dhl-freight' == $tracking_item['tracking_provider'] ) {
|
1012 |
-
$link_format = str_replace('global-en', strtolower($shipping_country) . '-en', $link_format);
|
1013 |
-
}
|
1014 |
-
}
|
1015 |
-
|
1016 |
-
if ( null != $order->get_shipping_postcode() ) {
|
1017 |
-
$shipping_postal_code = $order->get_shipping_postcode();
|
1018 |
-
} else {
|
1019 |
-
$shipping_postal_code = $order->get_billing_postcode();
|
1020 |
-
}
|
1021 |
-
|
1022 |
-
$shipping_country = str_replace( ' ', '', $shipping_country );
|
1023 |
-
$link_format = str_replace( '%country_code%', $shipping_country, $link_format );
|
1024 |
-
|
1025 |
-
if ( 'apc-overnight' == $tracking_item['tracking_provider'] ) {
|
1026 |
-
$shipping_postal_code = str_replace( ' ', '+', $shipping_postal_code );
|
1027 |
-
} else {
|
1028 |
-
$shipping_postal_code = str_replace( ' ', '', $shipping_postal_code );
|
1029 |
-
}
|
1030 |
-
|
1031 |
-
$link_format = str_replace( '%postal_code%', $shipping_postal_code, $link_format );
|
1032 |
-
|
1033 |
-
$formatted_tracking_link = $link_format;
|
1034 |
-
$formatted['formatted_tracking_link'] = $link_format;
|
1035 |
-
} else {
|
1036 |
-
$formatted_tracking_link = isset( $tracking_item['custom_tracking_link'] ) ? $tracking_item['custom_tracking_link'] : '' ;
|
1037 |
-
$formatted['formatted_tracking_link'] = $formatted_tracking_link;
|
1038 |
-
}
|
1039 |
-
|
1040 |
-
$ts_tracking_page = $this->check_ts_tracking_page_for_tracking_item( $order_id, $tracking_item, $status );
|
1041 |
-
|
1042 |
-
if ( $ts_tracking_page ) {
|
1043 |
-
|
1044 |
-
$tracking_page = get_option( 'wc_ast_trackship_page_id' );
|
1045 |
-
$order_key = $order->get_order_key();
|
1046 |
-
|
1047 |
-
if ( 'other' == $tracking_page ) {
|
1048 |
-
$trackship_other_page = get_option( 'wc_ast_trackship_other_page' );
|
1049 |
-
$ts_tracking_link = add_query_arg( array(
|
1050 |
-
'order_id' => $order_id,
|
1051 |
-
'order_key' => $order_key,
|
1052 |
-
), $trackship_other_page );
|
1053 |
-
} else {
|
1054 |
-
$ts_tracking_link = add_query_arg( array(
|
1055 |
-
'order_id' => $order_id,
|
1056 |
-
'order_key' => $order_key,
|
1057 |
-
), get_permalink( $tracking_page ) );
|
1058 |
-
}
|
1059 |
-
|
1060 |
-
$formatted['ast_tracking_link'] = $ts_tracking_link;
|
1061 |
-
} else {
|
1062 |
-
$formatted['ast_tracking_link'] = $formatted_tracking_link;
|
1063 |
-
}
|
1064 |
-
|
1065 |
-
global $wpdb;
|
1066 |
-
$results = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM {$this->table} WHERE ts_slug = %s", $tracking_item['tracking_provider'] ) );
|
1067 |
-
$formatted[ 'tracking_provider_image' ] = apply_filters( 'get_shipping_provdider_src', $results );
|
1068 |
-
|
1069 |
-
return $formatted;
|
1070 |
-
}
|
1071 |
-
|
1072 |
-
public function check_ts_tracking_page_for_tracking_item( $order_id, $tracking_item, $status ) {
|
1073 |
-
$wc_ast_api_key = get_option( 'wc_ast_api_key' );
|
1074 |
-
$use_tracking_page = get_option( 'wc_ast_use_tracking_page' );
|
1075 |
-
|
1076 |
-
$shipment_status = get_post_meta( $order_id, 'shipment_status', true );
|
1077 |
-
if ( empty( $shipment_status ) ) {
|
1078 |
-
return false;
|
1079 |
-
}
|
1080 |
-
|
1081 |
-
$trackship_supported = 0;
|
1082 |
-
|
1083 |
-
foreach ( $this->get_providers() as $provider => $format ) {
|
1084 |
-
if ( $provider === $tracking_item['tracking_provider'] || $format['provider_name'] == $tracking_item['tracking_provider'] ) {
|
1085 |
-
$trackship_supported = isset( $format['trackship_supported'] ) ? $format['trackship_supported'] : 0;
|
1086 |
-
break;
|
1087 |
-
}
|
1088 |
-
}
|
1089 |
-
|
1090 |
-
if ( $wc_ast_api_key && $use_tracking_page && 1 == $trackship_supported && 'carrier_unsupported' != $status && function_exists( 'trackship_for_woocommerce' ) ) {
|
1091 |
-
return true;
|
1092 |
-
}
|
1093 |
-
return false;
|
1094 |
-
}
|
1095 |
-
|
1096 |
-
/**
|
1097 |
-
* Deletes a tracking item from post_meta array
|
1098 |
-
*
|
1099 |
-
* @param int $order_id Order ID
|
1100 |
-
* @param string $tracking_id Tracking ID
|
1101 |
-
*
|
1102 |
-
* @return bool True if tracking item is deleted successfully
|
1103 |
-
*/
|
1104 |
-
public function delete_tracking_item( $order_id, $tracking_id ) {
|
1105 |
-
$tracking_items = $this->get_tracking_items( $order_id );
|
1106 |
-
|
1107 |
-
$is_deleted = false;
|
1108 |
-
|
1109 |
-
if ( count( $tracking_items ) > 0 ) {
|
1110 |
-
foreach ( $tracking_items as $key => $item ) {
|
1111 |
-
if ( $item['tracking_id'] == $tracking_id ) {
|
1112 |
-
unset( $tracking_items[ $key ] );
|
1113 |
-
$is_deleted = true;
|
1114 |
-
do_action( 'fix_shipment_tracking_for_deleted_tracking', $order_id, $key, $item );
|
1115 |
-
break;
|
1116 |
-
}
|
1117 |
-
}
|
1118 |
-
$this->save_tracking_items( $order_id, $tracking_items );
|
1119 |
-
}
|
1120 |
-
|
1121 |
-
$tracking_items = $this->get_tracking_items( $order_id );
|
1122 |
-
|
1123 |
-
if ( !$tracking_items ) {
|
1124 |
-
delete_post_meta( $order_id, '_wc_shipment_tracking_items' );
|
1125 |
-
}
|
1126 |
-
|
1127 |
-
return $is_deleted;
|
1128 |
-
}
|
1129 |
-
|
1130 |
-
/*
|
1131 |
-
* Adds a tracking item to the post_meta array
|
1132 |
-
*
|
1133 |
-
* @param int $order_id Order ID
|
1134 |
-
* @param array $tracking_items List of tracking item
|
1135 |
-
*
|
1136 |
-
* @return array Tracking item
|
1137 |
-
*/
|
1138 |
-
public function add_tracking_item( $order_id, $args ) {
|
1139 |
-
$tracking_item = array();
|
1140 |
-
|
1141 |
-
$tracking_item['tracking_provider'] = isset( $args['tracking_provider'] ) ? wc_clean( $args['tracking_provider'] ) : '';
|
1142 |
-
$tracking_item['custom_tracking_provider'] = isset( $args['custom_tracking_provider'] ) ? wc_clean( $args['custom_tracking_provider'] ) : '';
|
1143 |
-
$tracking_item['custom_tracking_link'] = isset( $args['custom_tracking_link'] ) ? wc_clean( $args['custom_tracking_link'] ) : '';
|
1144 |
-
$tracking_item['tracking_number'] = isset( $args['tracking_number'] ) ? wc_clean( $args['tracking_number'] ) : '';
|
1145 |
-
$tracking_item['tracking_product_code'] = isset( $args['tracking_product_code'] ) ? wc_clean( $args['tracking_product_code'] ) : '';
|
1146 |
-
|
1147 |
-
if ( isset( $args['date_shipped'] ) ) {
|
1148 |
-
$date = str_replace( '/', '-', $args['date_shipped'] );
|
1149 |
-
$date = date_create( $date );
|
1150 |
-
|
1151 |
-
if ( isset($args['source']) && 'REST_API' == $args['source'] ) {
|
1152 |
-
$wc_ast_api_date_format = get_option( 'wc_ast_api_date_format', 'd-m-Y' );
|
1153 |
-
$date = date_format( $date, $wc_ast_api_date_format );
|
1154 |
-
} else {
|
1155 |
-
$date = date_format( $date, 'd-m-Y' );
|
1156 |
-
}
|
1157 |
-
|
1158 |
-
$tracking_item['date_shipped'] = wc_clean( strtotime( $date ) );
|
1159 |
-
}
|
1160 |
-
|
1161 |
-
$tracking_item['products_list'] = isset( $args['products_list'] ) ? wc_clean( $args['products_list'] ) : '';
|
1162 |
-
$tracking_item['status_shipped'] = isset( $args['status_shipped'] ) ? wc_clean( $args['status_shipped'] ) : '';
|
1163 |
-
$tracking_item['date_shipped'] = !isset( $args['date_shipped'] ) ? time() : $tracking_item['date_shipped'];
|
1164 |
-
|
1165 |
-
if ( 0 == (int) $tracking_item['date_shipped'] ) {
|
1166 |
-
$tracking_item['date_shipped'] = time();
|
1167 |
-
}
|
1168 |
-
|
1169 |
-
if ( isset($tracking_item['custom_tracking_provider'] )) {
|
1170 |
-
$tracking_item['tracking_id'] = md5( "{$tracking_item['custom_tracking_provider']}-{$tracking_item['tracking_number']}" . microtime() );
|
1171 |
-
} else {
|
1172 |
-
$tracking_item['tracking_id'] = md5( "{$tracking_item['tracking_provider']}-{$tracking_item['tracking_number']}" . microtime() );
|
1173 |
-
}
|
1174 |
-
|
1175 |
-
$tracking_item = apply_filters( 'tracking_item_args', $tracking_item, $args, $order_id );
|
1176 |
-
|
1177 |
-
$tracking_items = $this->get_tracking_items( $order_id );
|
1178 |
-
|
1179 |
-
$tracking_items[] = $tracking_item;
|
1180 |
-
|
1181 |
-
$status_shipped = ( isset( $tracking_item[ 'status_shipped' ] ) ? $tracking_item[ 'status_shipped' ] : '' );
|
1182 |
-
|
1183 |
-
$this->save_tracking_items( $order_id, $tracking_items );
|
1184 |
-
|
1185 |
-
$order = new WC_Order( $order_id );
|
1186 |
-
|
1187 |
-
do_action( 'update_order_status_after_adding_tracking', $status_shipped, $order );
|
1188 |
-
|
1189 |
-
$formated_tracking_item = $this->get_formatted_tracking_item( $order_id, $tracking_item );
|
1190 |
-
$tracking_provider = $formated_tracking_item['formatted_tracking_provider'];
|
1191 |
-
|
1192 |
-
/* translators: %1$s: Reaplce with tracking provider, %2$s: Reaplce with tracking number */
|
1193 |
-
$note = sprintf( __( 'Order was shipped with %1$s and tracking number is: %2$s', 'woo-advanced-shipment-tracking' ), $tracking_provider, $tracking_item['tracking_number'] );
|
1194 |
-
|
1195 |
-
// Add the note
|
1196 |
-
$order->add_order_note( $note );
|
1197 |
-
|
1198 |
-
return $tracking_item;
|
1199 |
-
}
|
1200 |
-
|
1201 |
-
public function seach_tracking_number_in_items( $tracking_number, $tracking_items ) {
|
1202 |
-
foreach ( $tracking_items as $key => $val ) {
|
1203 |
-
if ( $val['tracking_number'] === $tracking_number ) {
|
1204 |
-
return $key;
|
1205 |
-
}
|
1206 |
-
}
|
1207 |
-
return null;
|
1208 |
-
}
|
1209 |
-
|
1210 |
-
/*
|
1211 |
-
* Adds a tracking item to the post_meta array from external system programatticaly
|
1212 |
-
*
|
1213 |
-
* @param int $order_id Order ID
|
1214 |
-
* @param array $tracking_items List of tracking item
|
1215 |
-
*
|
1216 |
-
* @return array Tracking item
|
1217 |
-
*/
|
1218 |
-
public function insert_tracking_item( $order_id, $args ) {
|
1219 |
-
$tracking_item = array();
|
1220 |
-
$tracking_provider = $args['tracking_provider'];
|
1221 |
-
|
1222 |
-
$ast_admin = WC_Advanced_Shipment_Tracking_Admin::get_instance();
|
1223 |
-
$shippment_provider = $ast_admin->get_provider_slug_from_name( $tracking_provider );
|
1224 |
-
|
1225 |
-
if ( $args['tracking_provider'] && !empty( $shippment_provider ) ) {
|
1226 |
-
$tracking_item['tracking_provider'] = wc_clean ( $shippment_provider );
|
1227 |
-
} else if ( $args['tracking_provider'] ) {
|
1228 |
-
$tracking_item['tracking_provider'] = $args['tracking_provider'];
|
1229 |
-
}
|
1230 |
-
|
1231 |
-
if ( $args['tracking_number'] ) {
|
1232 |
-
$tracking_item['tracking_number'] = wc_clean( $args['tracking_number'] );
|
1233 |
-
}
|
1234 |
-
|
1235 |
-
if ( $args['date_shipped'] ) {
|
1236 |
-
$date = str_replace( '/', '-', $args['date_shipped'] );
|
1237 |
-
$date = date_create($date);
|
1238 |
-
$date = date_format( $date, 'd-m-Y' );
|
1239 |
-
|
1240 |
-
$tracking_item['date_shipped'] = wc_clean( strtotime( $date ) );
|
1241 |
-
}
|
1242 |
-
|
1243 |
-
if ( $args['status_shipped'] ) {
|
1244 |
-
$tracking_item['status_shipped'] = wc_clean( $args['status_shipped'] );
|
1245 |
-
}
|
1246 |
-
|
1247 |
-
if ( 0 == (int) $tracking_item['date_shipped'] ) {
|
1248 |
-
$tracking_item['date_shipped'] = time();
|
1249 |
-
}
|
1250 |
-
|
1251 |
-
$tracking_item['tracking_id'] = md5( "{$tracking_item['tracking_provider']}-{$tracking_item['tracking_number']}" . microtime() );
|
1252 |
-
|
1253 |
-
$tracking_items = $this->get_tracking_items( $order_id );
|
1254 |
-
$tracking_items[] = $tracking_item;
|
1255 |
-
|
1256 |
-
if ( $tracking_item['tracking_provider'] ) {
|
1257 |
-
$this->save_tracking_items( $order_id, $tracking_items );
|
1258 |
-
|
1259 |
-
$status_shipped = ( isset( $tracking_item['status_shipped'] ) ? $tracking_item['status_shipped'] : '' );
|
1260 |
-
|
1261 |
-
$order = new WC_Order( $order_id );
|
1262 |
-
|
1263 |
-
do_action( 'update_order_status_after_adding_tracking', $status_shipped, $order );
|
1264 |
-
|
1265 |
-
$formated_tracking_item = $this->get_formatted_tracking_item( $order_id, $tracking_item );
|
1266 |
-
$tracking_provider = $formated_tracking_item['formatted_tracking_provider'];
|
1267 |
-
|
1268 |
-
/* translators: %1$s: Reaplce with tracking provider, %2$s: Reaplce with tracking number */
|
1269 |
-
$note = sprintf( __( 'Order was shipped with %1$s and tracking number is: %2$s', 'woo-advanced-shipment-tracking' ), $tracking_provider, $tracking_item['tracking_number'] );
|
1270 |
-
|
1271 |
-
// Add the note
|
1272 |
-
$order->add_order_note( $note );
|
1273 |
-
|
1274 |
-
return $tracking_item;
|
1275 |
-
}
|
1276 |
-
}
|
1277 |
-
|
1278 |
-
|
1279 |
-
|
1280 |
-
/**
|
1281 |
-
* Saves the tracking items array to post_meta.
|
1282 |
-
*
|
1283 |
-
* @param int $order_id Order ID
|
1284 |
-
* @param array $tracking_items List of tracking item
|
1285 |
-
*/
|
1286 |
-
public function save_tracking_items( $order_id, $tracking_items ) {
|
1287 |
-
if ( version_compare( WC_VERSION, '3.0', '<' ) ) {
|
1288 |
-
update_post_meta( $order_id, '_wc_shipment_tracking_items', $tracking_items );
|
1289 |
-
} else {
|
1290 |
-
$order = new WC_Order( $order_id );
|
1291 |
-
$order->update_meta_data( '_wc_shipment_tracking_items', $tracking_items );
|
1292 |
-
$order->save_meta_data();
|
1293 |
-
}
|
1294 |
-
}
|
1295 |
-
|
1296 |
-
/**
|
1297 |
-
* Gets a single tracking item from the post_meta array for an order.
|
1298 |
-
*
|
1299 |
-
* @param int $order_id Order ID
|
1300 |
-
* @param string $tracking_id Tracking ID
|
1301 |
-
* @param bool $formatted Wether or not to reslove the final tracking
|
1302 |
-
* link and provider in the returned tracking item.
|
1303 |
-
* Default to false.
|
1304 |
-
*
|
1305 |
-
* @return null|array Null if not found, otherwise array of tracking item will be returned
|
1306 |
-
*/
|
1307 |
-
public function get_tracking_item( $order_id, $tracking_id, $formatted = false ) {
|
1308 |
-
$tracking_items = $this->get_tracking_items( $order_id, $formatted );
|
1309 |
-
|
1310 |
-
if ( count( $tracking_items ) ) {
|
1311 |
-
foreach ( $tracking_items as $item ) {
|
1312 |
-
if ( $item['tracking_id'] === $tracking_id ) {
|
1313 |
-
return $item;
|
1314 |
-
}
|
1315 |
-
}
|
1316 |
-
}
|
1317 |
-
return null;
|
1318 |
-
}
|
1319 |
-
|
1320 |
-
/*
|
1321 |
-
* Gets all tracking itesm fron the post meta array for an order
|
1322 |
-
*
|
1323 |
-
* @param int $order_id Order ID
|
1324 |
-
* @param bool $formatted Wether or not to reslove the final tracking link
|
1325 |
-
* and provider in the returned tracking item.
|
1326 |
-
* Default to false.
|
1327 |
-
*
|
1328 |
-
* @return array List of tracking items
|
1329 |
-
*/
|
1330 |
-
public function get_tracking_items( $order_id, $formatted = false ) {
|
1331 |
-
|
1332 |
-
global $wpdb;
|
1333 |
-
$order = wc_get_order( $order_id );
|
1334 |
-
if ( $order ) {
|
1335 |
-
if ( version_compare( WC_VERSION, '3.0', '<' ) ) {
|
1336 |
-
$tracking_items = get_post_meta( $order_id, '_wc_shipment_tracking_items', true );
|
1337 |
-
} else {
|
1338 |
-
$order = new WC_Order( $order_id );
|
1339 |
-
$tracking_items = $order->get_meta( '_wc_shipment_tracking_items', true );
|
1340 |
-
}
|
1341 |
-
|
1342 |
-
if ( is_array( $tracking_items ) ) {
|
1343 |
-
if ( $formatted ) {
|
1344 |
-
foreach ( $tracking_items as &$item ) {
|
1345 |
-
$formatted_item = $this->get_formatted_tracking_item( $order_id, $item );
|
1346 |
-
$item = array_merge( $item, $formatted_item );
|
1347 |
-
}
|
1348 |
-
}
|
1349 |
-
return $tracking_items;
|
1350 |
-
} else {
|
1351 |
-
return array();
|
1352 |
-
}
|
1353 |
-
} else {
|
1354 |
-
return array();
|
1355 |
-
}
|
1356 |
-
}
|
1357 |
-
|
1358 |
-
/**
|
1359 |
-
* Gets the absolute plugin path without a trailing slash, e.g.
|
1360 |
-
* /path/to/wp-content/plugins/plugin-directory
|
1361 |
-
*
|
1362 |
-
* @return string plugin path
|
1363 |
-
*/
|
1364 |
-
public function get_plugin_path() {
|
1365 |
-
$this->plugin_path = untrailingslashit( plugin_dir_path( dirname( __FILE__ ) ) );
|
1366 |
-
return $this->plugin_path;
|
1367 |
-
}
|
1368 |
-
|
1369 |
-
/**
|
1370 |
-
* Validation code add tracking info form
|
1371 |
-
*/
|
1372 |
-
public function custom_validation_js() {
|
1373 |
-
?>
|
1374 |
-
<script>
|
1375 |
-
jQuery(document).on("click",".button-save-form",function(e){
|
1376 |
-
var error;
|
1377 |
-
var tracking_provider = jQuery("#tracking_provider");
|
1378 |
-
var tracking_number = jQuery("#tracking_number");
|
1379 |
-
|
1380 |
-
if(tracking_provider.val() == '' ){
|
1381 |
-
jQuery( "#select2-tracking_provider-container" ).closest( ".select2-selection" ).css( "border-color", "red" );
|
1382 |
-
error = true;
|
1383 |
-
} else {
|
1384 |
-
jQuery( "#select2-tracking_provider-container" ).closest( ".select2-selection" ).css( "border-color", "" );
|
1385 |
-
}
|
1386 |
-
if(tracking_number.val() == '' ){
|
1387 |
-
tracking_number.css( "border-color", "red" );
|
1388 |
-
error = true;
|
1389 |
-
} else {
|
1390 |
-
var pattern = /^[0-9a-zA-Z- \b]+$/;
|
1391 |
-
if(!pattern.test(tracking_number.val())){
|
1392 |
-
tracking_number.css( "border-color", "red" );
|
1393 |
-
error = true;
|
1394 |
-
} else{
|
1395 |
-
tracking_number.css( "border-color", "" );
|
1396 |
-
}
|
1397 |
-
}
|
1398 |
-
|
1399 |
-
if(error == true){
|
1400 |
-
return false;
|
1401 |
-
}
|
1402 |
-
});
|
1403 |
-
</script>
|
1404 |
-
<?php
|
1405 |
-
}
|
1406 |
-
|
1407 |
-
/*
|
1408 |
-
* Get formated order id
|
1409 |
-
*/
|
1410 |
-
public function get_formated_order_id( $order_id ) {
|
1411 |
-
|
1412 |
-
if ( is_plugin_active( 'custom-order-numbers-for-woocommerce/custom-order-numbers-for-woocommerce.php' ) ) {
|
1413 |
-
$alg_wc_custom_order_numbers_enabled = get_option( 'alg_wc_custom_order_numbers_enabled' );
|
1414 |
-
$alg_wc_custom_order_numbers_prefix = get_option( 'alg_wc_custom_order_numbers_prefix' );
|
1415 |
-
$new_order_id = str_replace( $alg_wc_custom_order_numbers_prefix, '', $order_id );
|
1416 |
-
|
1417 |
-
if ( 'yes' == $alg_wc_custom_order_numbers_enabled ) {
|
1418 |
-
$args = array(
|
1419 |
-
'post_type' => 'shop_order',
|
1420 |
-
'posts_per_page' => '1',
|
1421 |
-
'meta_query' => array(
|
1422 |
-
'relation' => 'AND',
|
1423 |
-
array(
|
1424 |
-
'key' => '_alg_wc_custom_order_number',
|
1425 |
-
'value' => $new_order_id,
|
1426 |
-
),
|
1427 |
-
),
|
1428 |
-
'post_status' => array_keys( wc_get_order_statuses() ) ,
|
1429 |
-
);
|
1430 |
-
$posts = get_posts( $args );
|
1431 |
-
$my_query = new WP_Query( $args );
|
1432 |
-
|
1433 |
-
if ( $my_query->have_posts() ) {
|
1434 |
-
while ( $my_query->have_posts()) {
|
1435 |
-
$my_query->the_post();
|
1436 |
-
if ( get_the_ID() ) {
|
1437 |
-
$order_id = get_the_ID();
|
1438 |
-
}
|
1439 |
-
} // end while
|
1440 |
-
} // end if
|
1441 |
-
$order_id;
|
1442 |
-
wp_reset_postdata();
|
1443 |
-
}
|
1444 |
-
}
|
1445 |
-
|
1446 |
-
if ( is_plugin_active( 'woocommerce-sequential-order-numbers/woocommerce-sequential-order-numbers.php' ) ) {
|
1447 |
-
|
1448 |
-
$s_order_id = wc_sequential_order_numbers()->find_order_by_order_number( $order_id );
|
1449 |
-
if ( $s_order_id ) {
|
1450 |
-
$order_id = $s_order_id;
|
1451 |
-
}
|
1452 |
-
}
|
1453 |
-
|
1454 |
-
if ( is_plugin_active( 'woocommerce-sequential-order-numbers-pro/woocommerce-sequential-order-numbers-pro.php' ) ) {
|
1455 |
-
|
1456 |
-
// search for the order by custom order number
|
1457 |
-
$query_args = array(
|
1458 |
-
'numberposts' => 1,
|
1459 |
-
'meta_key' => '_order_number_formatted',
|
1460 |
-
'meta_value' => $order_id,
|
1461 |
-
'post_type' => 'shop_order',
|
1462 |
-
'post_status' => 'any',
|
1463 |
-
'fields' => 'ids',
|
1464 |
-
);
|
1465 |
-
|
1466 |
-
$posts = get_posts( $query_args );
|
1467 |
-
if ( !empty( $posts ) ) {
|
1468 |
-
list( $order_id ) = $posts;
|
1469 |
-
}
|
1470 |
-
}
|
1471 |
-
|
1472 |
-
if ( is_plugin_active( 'woocommerce-jetpack/woocommerce-jetpack.php' ) ) {
|
1473 |
-
|
1474 |
-
$wcj_order_numbers_enabled = get_option( 'wcj_order_numbers_enabled' );
|
1475 |
-
// Get prefix and suffix options
|
1476 |
-
$prefix = do_shortcode( get_option( 'wcj_order_number_prefix', '' ) );
|
1477 |
-
$prefix .= date_i18n( get_option( 'wcj_order_number_date_prefix', '' ) );
|
1478 |
-
$suffix = do_shortcode( get_option( 'wcj_order_number_suffix', '' ) );
|
1479 |
-
$suffix .= date_i18n( get_option( 'wcj_order_number_date_suffix', '' ) );
|
1480 |
-
|
1481 |
-
// Ignore suffix and prefix from search input
|
1482 |
-
$search_no_suffix = preg_replace( "/\A{$prefix}/i", '', $order_id );
|
1483 |
-
$search_no_suffix_and_prefix = preg_replace( "/{$suffix}\z/i", '', $search_no_suffix );
|
1484 |
-
$final_search = empty( $search_no_suffix_and_prefix ) ? $search : $search_no_suffix_and_prefix;
|
1485 |
-
|
1486 |
-
if ( 'yes' == $wcj_order_numbers_enabled ) {
|
1487 |
-
$query_args = array(
|
1488 |
-
'numberposts' => 1,
|
1489 |
-
'meta_key' => '_wcj_order_number',
|
1490 |
-
'meta_value' => $final_search,
|
1491 |
-
'post_type' => 'shop_order',
|
1492 |
-
'post_status' => 'any',
|
1493 |
-
'fields' => 'ids',
|
1494 |
-
);
|
1495 |
-
|
1496 |
-
$posts = get_posts( $query_args );
|
1497 |
-
if ( !empty( $posts ) ) {
|
1498 |
-
list( $order_id ) = $posts;
|
1499 |
-
}
|
1500 |
-
}
|
1501 |
-
}
|
1502 |
-
|
1503 |
-
if ( is_plugin_active( 'wp-lister-amazon/wp-lister-amazon.php' ) ) {
|
1504 |
-
$wpla_use_amazon_order_number = get_option( 'wpla_use_amazon_order_number' );
|
1505 |
-
if ( 1 == $wpla_use_amazon_order_number ) {
|
1506 |
-
$query_args = array(
|
1507 |
-
'numberposts' => 1,
|
1508 |
-
'meta_key' => '_wpla_amazon_order_id',
|
1509 |
-
'meta_value' => $order_id,
|
1510 |
-
'post_type' => 'shop_order',
|
1511 |
-
'post_status' => 'any',
|
1512 |
-
'fields' => 'ids',
|
1513 |
-
);
|
1514 |
-
|
1515 |
-
$posts = get_posts( $query_args );
|
1516 |
-
if ( !empty( $posts ) ) {
|
1517 |
-
list( $order_id ) = $posts;
|
1518 |
-
}
|
1519 |
-
}
|
1520 |
-
}
|
1521 |
-
|
1522 |
-
if ( is_plugin_active( 'wp-lister/wp-lister.php' ) || is_plugin_active( 'wp-lister-for-ebay/wp-lister.php' ) ) {
|
1523 |
-
$args = array(
|
1524 |
-
'post_type' => 'shop_order',
|
1525 |
-
'posts_per_page' => '1',
|
1526 |
-
'meta_query' => array(
|
1527 |
-
'relation' => 'OR',
|
1528 |
-
array(
|
1529 |
-
'key' => '_ebay_extended_order_id',
|
1530 |
-
'value' => $order_id
|
1531 |
-
),
|
1532 |
-
array(
|
1533 |
-
'key' => '_ebay_order_id',
|
1534 |
-
'value' => $order_id
|
1535 |
-
),
|
1536 |
-
),
|
1537 |
-
'post_status' => 'any',
|
1538 |
-
);
|
1539 |
-
|
1540 |
-
$posts = get_posts( $args );
|
1541 |
-
$my_query = new WP_Query( $args );
|
1542 |
-
|
1543 |
-
if ( $my_query->have_posts() ) {
|
1544 |
-
while ( $my_query->have_posts() ) {
|
1545 |
-
$my_query->the_post();
|
1546 |
-
if ( get_the_ID() ) {
|
1547 |
-
$order_id = get_the_ID();
|
1548 |
-
}
|
1549 |
-
} // end while
|
1550 |
-
} // end if
|
1551 |
-
wp_reset_postdata();
|
1552 |
-
}
|
1553 |
-
|
1554 |
-
if ( is_plugin_active( 'yith-woocommerce-sequential-order-number-premium/init.php' ) ) {
|
1555 |
-
$query_args = array(
|
1556 |
-
'numberposts' => 1,
|
1557 |
-
'meta_key' => '_ywson_custom_number_order_complete',
|
1558 |
-
'meta_value' => $order_id,
|
1559 |
-
'post_type' => 'shop_order',
|
1560 |
-
'post_status' => 'any',
|
1561 |
-
'fields' => 'ids',
|
1562 |
-
);
|
1563 |
-
|
1564 |
-
$posts = get_posts( $query_args );
|
1565 |
-
if ( !empty( $posts ) ) {
|
1566 |
-
list( $order_id ) = $posts;
|
1567 |
-
}
|
1568 |
-
}
|
1569 |
-
|
1570 |
-
if ( is_plugin_active( 'wt-woocommerce-sequential-order-numbers/wt-advanced-order-number.php' ) ) {
|
1571 |
-
$query_args = array(
|
1572 |
-
'numberposts' => 1,
|
1573 |
-
'meta_key' => '_order_number',
|
1574 |
-
'meta_value' => $order_id,
|
1575 |
-
'post_type' => 'shop_order',
|
1576 |
-
'post_status' => 'any',
|
1577 |
-
'fields' => 'ids',
|
1578 |
-
);
|
1579 |
-
|
1580 |
-
$posts = get_posts( $query_args );
|
1581 |
-
if ( !empty( $posts ) ) {
|
1582 |
-
list( $order_id ) = $posts;
|
1583 |
-
}
|
1584 |
-
}
|
1585 |
-
|
1586 |
-
return apply_filters( 'ast_formated_order_id', $order_id );
|
1587 |
-
}
|
1588 |
-
|
1589 |
-
/*
|
1590 |
-
* Return option value for customizer
|
1591 |
-
*/
|
1592 |
-
public function get_option_value_from_array( $array, $key, $default_value ) {
|
1593 |
-
|
1594 |
-
$array_data = get_option( $array );
|
1595 |
-
$value = '';
|
1596 |
-
|
1597 |
-
if ( isset( $array_data[ $key ] ) ) {
|
1598 |
-
$value = $array_data[ $key ];
|
1599 |
-
if ( '' != $value ) {
|
1600 |
-
return $value;
|
1601 |
-
}
|
1602 |
-
}
|
1603 |
-
|
1604 |
-
if ( '' == $value ) {
|
1605 |
-
$value = $default_value;
|
1606 |
-
}
|
1607 |
-
|
1608 |
-
return $value;
|
1609 |
-
}
|
1610 |
-
|
1611 |
-
/*
|
1612 |
-
* Return checkbox option value for customizer
|
1613 |
-
*/
|
1614 |
-
public function get_checkbox_option_value_from_array( $array, $key, $default_value ) {
|
1615 |
-
|
1616 |
-
$array_data = get_option( $array );
|
1617 |
-
$value = '';
|
1618 |
-
|
1619 |
-
if ( isset( $array_data[ $key ] ) ) {
|
1620 |
-
$value = $array_data[ $key ];
|
1621 |
-
return $value;
|
1622 |
-
}
|
1623 |
-
|
1624 |
-
if ( '' == $value ) {
|
1625 |
-
$value = $default_value;
|
1626 |
-
}
|
1627 |
-
|
1628 |
-
return $value;
|
1629 |
-
}
|
1630 |
-
|
1631 |
-
/*
|
1632 |
-
* Return Tracking information template
|
1633 |
-
*/
|
1634 |
-
public function tracking_info_template( $order_id, $tracking_items, $shipment_status = '' ) {
|
1635 |
-
|
1636 |
-
$local_template = get_stylesheet_directory() . '/woocommerce/emails/tracking-info.php';
|
1637 |
-
|
1638 |
-
if ( file_exists( $local_template ) && is_writable( $local_template ) ) {
|
1639 |
-
return wc_get_template_html( 'emails/tracking-info.php', array(
|
1640 |
-
'tracking_items' => $tracking_items,
|
1641 |
-
'order_id' => $order_id,
|
1642 |
-
'show_shipment_status' => true,
|
1643 |
-
'new_status' => $shipment_status,
|
1644 |
-
), 'woocommerce-advanced-shipment-tracking/', get_stylesheet_directory() . '/woocommerce/' );
|
1645 |
-
} else {
|
1646 |
-
return wc_get_template_html( 'emails/tracking-info.php', array(
|
1647 |
-
'tracking_items' => $tracking_items,
|
1648 |
-
'order_id' => $order_id,
|
1649 |
-
'show_shipment_status' => true,
|
1650 |
-
'new_status' => $shipment_status,
|
1651 |
-
), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
|
1652 |
-
}
|
1653 |
-
}
|
1654 |
-
|
1655 |
-
/*
|
1656 |
-
* Return order details template
|
1657 |
-
*/
|
1658 |
-
public function order_details_template( $order, $hide_shipping_item_price = '' ) {
|
1659 |
-
return wc_get_template_html(
|
1660 |
-
'emails/wcast-email-order-details.php', array(
|
1661 |
-
'order' => $order,
|
1662 |
-
'hide_shipping_item_price' => $hide_shipping_item_price,
|
1663 |
-
'sent_to_admin' => false,
|
1664 |
-
'plain_text' => false,
|
1665 |
-
'email' => '',
|
1666 |
-
),
|
1667 |
-
'woocommerce-advanced-shipment-tracking/',
|
1668 |
-
wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/'
|
1669 |
-
);
|
1670 |
-
}
|
1671 |
-
|
1672 |
-
/*
|
1673 |
-
* Return shipping address template
|
1674 |
-
*/
|
1675 |
-
public function order_shipping_details_template( $order ) {
|
1676 |
-
return wc_get_template_html(
|
1677 |
-
'emails/wcast-shipping-email-addresses.php', array(
|
1678 |
-
'order' => $order,
|
1679 |
-
'sent_to_admin' => false,
|
1680 |
-
),
|
1681 |
-
'woocommerce-advanced-shipment-tracking/',
|
1682 |
-
wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/'
|
1683 |
-
);
|
1684 |
-
}
|
1685 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/customizer/class-wc-partial-shipped-email-customizer.php
DELETED
@@ -1,375 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Customizer Setup and Custom Controls
|
4 |
-
*
|
5 |
-
*/
|
6 |
-
|
7 |
-
/**
|
8 |
-
* Adds the individual sections, settings, and controls to the theme customizer
|
9 |
-
*/
|
10 |
-
class Wcast_Partial_Shipped_Customizer_Email {
|
11 |
-
|
12 |
-
|
13 |
-
// Get our default values
|
14 |
-
public function __construct() {
|
15 |
-
// Get our Customizer defaults
|
16 |
-
$this->defaults = $this->wcast_generate_defaults();
|
17 |
-
|
18 |
-
// Register our sample default controls
|
19 |
-
add_action( 'customize_register', array( $this, 'wcast_register_sample_default_controls' ) );
|
20 |
-
|
21 |
-
// Only proceed if this is own request.
|
22 |
-
if ( ! $this->is_own_customizer_request() && ! $this->is_own_preview_request() ) {
|
23 |
-
return;
|
24 |
-
}
|
25 |
-
|
26 |
-
// Register our sections
|
27 |
-
add_action( 'customize_register', array( wcast_customizer(), 'wcast_add_customizer_sections' ) );
|
28 |
-
|
29 |
-
// Remove unrelated components.
|
30 |
-
add_filter( 'customize_loaded_components', array( wcast_customizer(), 'remove_unrelated_components' ), 99, 2 );
|
31 |
-
|
32 |
-
// Remove unrelated sections.
|
33 |
-
add_filter( 'customize_section_active', array( wcast_customizer(), 'remove_unrelated_sections' ), 10, 2 );
|
34 |
-
|
35 |
-
// Unhook divi front end.
|
36 |
-
add_action( 'woomail_footer', array( wcast_customizer(), 'unhook_divi' ), 10 );
|
37 |
-
|
38 |
-
// Unhook Flatsome js
|
39 |
-
add_action( 'customize_preview_init', array( wcast_customizer(), 'unhook_flatsome' ), 50 );
|
40 |
-
|
41 |
-
add_filter( 'customize_controls_enqueue_scripts', array( wcast_customizer(), 'enqueue_customizer_scripts' ) );
|
42 |
-
|
43 |
-
add_action( 'parse_request', array( $this, 'set_up_preview' ) );
|
44 |
-
|
45 |
-
add_action( 'customize_preview_init', array( $this, 'enqueue_preview_scripts' ) );
|
46 |
-
}
|
47 |
-
|
48 |
-
public function enqueue_preview_scripts() {
|
49 |
-
wp_enqueue_script('wcast-email-preview-scripts', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/js/preview-scripts.js', array('jquery', 'customize-preview'), wc_advanced_shipment_tracking()->version, true);
|
50 |
-
wp_enqueue_style('wcast-preview-styles', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/preview-styles.css', array(), wc_advanced_shipment_tracking()->version );
|
51 |
-
// Send variables to Javascript
|
52 |
-
$preview_id = get_theme_mod('wcast_partial_shipped_preview_order_id');
|
53 |
-
wp_localize_script('wcast-email-preview-scripts', 'wcast_preview', array(
|
54 |
-
'site_title' => $this->get_blogname(),
|
55 |
-
'order_number' => $preview_id,
|
56 |
-
));
|
57 |
-
}
|
58 |
-
|
59 |
-
/**
|
60 |
-
* Get blog name formatted for emails.
|
61 |
-
*
|
62 |
-
* @return string
|
63 |
-
*/
|
64 |
-
public function get_blogname() {
|
65 |
-
return wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES );
|
66 |
-
}
|
67 |
-
|
68 |
-
/**
|
69 |
-
* Checks to see if we are opening our custom customizer preview
|
70 |
-
*
|
71 |
-
* @return bool
|
72 |
-
*/
|
73 |
-
public function is_own_preview_request() {
|
74 |
-
return isset( $_REQUEST['wcast-partial-shipped-email-customizer-preview'] ) && '1' === $_REQUEST['wcast-partial-shipped-email-customizer-preview'];
|
75 |
-
}
|
76 |
-
|
77 |
-
/**
|
78 |
-
* Checks to see if we are opening our custom customizer controls
|
79 |
-
*
|
80 |
-
* @return bool
|
81 |
-
*/
|
82 |
-
public function is_own_customizer_request() {
|
83 |
-
return isset( $_REQUEST['email'] ) && 'custom_order_status_email' === $_REQUEST['email'];
|
84 |
-
}
|
85 |
-
|
86 |
-
/**
|
87 |
-
* Get Customizer URL
|
88 |
-
*
|
89 |
-
*/
|
90 |
-
public function get_customizer_url( $email, $order_status ) {
|
91 |
-
return add_query_arg( array(
|
92 |
-
'wcast-customizer' => '1',
|
93 |
-
'email' => $email,
|
94 |
-
'order_status' => $order_status,
|
95 |
-
'autofocus[section]' => 'custom_order_status_email',
|
96 |
-
'url' => urlencode( add_query_arg( array( 'wcast-partial-shipped-email-customizer-preview' => '1' ), home_url( '/' ) ) ),
|
97 |
-
'return' => urlencode( $this->get_email_settings_page_url() ),
|
98 |
-
), admin_url( 'customize.php' ) );
|
99 |
-
}
|
100 |
-
|
101 |
-
/**
|
102 |
-
* Get WooCommerce email settings page URL
|
103 |
-
*
|
104 |
-
* @return string
|
105 |
-
*/
|
106 |
-
public function get_email_settings_page_url() {
|
107 |
-
return admin_url( 'admin.php?page=woocommerce-advanced-shipment-tracking' );
|
108 |
-
}
|
109 |
-
|
110 |
-
/**
|
111 |
-
* Code for initialize default value for customizer
|
112 |
-
*/
|
113 |
-
public function wcast_generate_defaults() {
|
114 |
-
$customizer_defaults = array(
|
115 |
-
'wcast_partial_shipped_email_subject' => __( 'Your {site_title} order is now partially shipped', 'woo-advanced-shipment-tracking' ),
|
116 |
-
'wcast_partial_shipped_email_heading' => __( 'Your Order is Partially Shipped', 'woo-advanced-shipment-tracking' ),
|
117 |
-
'wcast_partial_shipped_email_content' => __( "Hi there. we thought you'd like to know that your recent order from {site_title} has been partially shipped.", 'woo-advanced-shipment-tracking' ),
|
118 |
-
'wcast_enable_partial_shipped_email' => 'no',
|
119 |
-
);
|
120 |
-
|
121 |
-
return apply_filters( 'partially_shipped_customizer_defaults', $customizer_defaults );
|
122 |
-
}
|
123 |
-
|
124 |
-
/**
|
125 |
-
* Register our sample default controls
|
126 |
-
*/
|
127 |
-
public function wcast_register_sample_default_controls( $wp_customize ) {
|
128 |
-
/**
|
129 |
-
* Load all our Customizer Custom Controls
|
130 |
-
*/
|
131 |
-
require_once trailingslashit( dirname(__FILE__) ) . 'custom-controls.php';
|
132 |
-
|
133 |
-
$order_status = array(
|
134 |
-
'partially_shipped' => __( 'Partially Shipped', 'woo-advanced-shipment-tracking' ),
|
135 |
-
);
|
136 |
-
$order_status = apply_filters('wcast_order_status_email_type', $order_status);
|
137 |
-
|
138 |
-
// Preview Order
|
139 |
-
$wp_customize->add_setting( 'wcast_order_status_email_type',
|
140 |
-
array(
|
141 |
-
'default' => 'mockup',
|
142 |
-
'transport' => 'postMessage',
|
143 |
-
'sanitize_callback' => '',
|
144 |
-
'type' => 'option',
|
145 |
-
)
|
146 |
-
);
|
147 |
-
$wp_customize->add_control( new AST_Dropdown_Select_Custom_Control( $wp_customize, 'wcast_order_status_email_type',
|
148 |
-
array(
|
149 |
-
'label' => __( 'Email Type', 'woo-advanced-shipment-tracking' ),
|
150 |
-
'description' => '',
|
151 |
-
'section' => 'custom_order_status_email',
|
152 |
-
'input_attrs' => array(
|
153 |
-
'placeholder' => __( 'Select email type', 'woo-advanced-shipment-tracking' ),
|
154 |
-
'class' => 'preview_email_type',
|
155 |
-
),
|
156 |
-
'choices' => $order_status,
|
157 |
-
)
|
158 |
-
) );
|
159 |
-
|
160 |
-
// Display Shipment Provider image/thumbnail
|
161 |
-
$wp_customize->add_setting( 'customizer_partial_shipped_order_settings_enabled',
|
162 |
-
array(
|
163 |
-
'default' => $this->defaults['wcast_enable_partial_shipped_email'],
|
164 |
-
'transport' => 'postMessage',
|
165 |
-
'type' => 'option',
|
166 |
-
'sanitize_callback' => ''
|
167 |
-
)
|
168 |
-
);
|
169 |
-
$wp_customize->add_control( 'customizer_partial_shipped_order_settings_enabled',
|
170 |
-
array(
|
171 |
-
'label' => __( 'Enable Partially Shipped order status email', 'woo-advanced-shipment-tracking' ),
|
172 |
-
'description' => '',
|
173 |
-
'section' => 'custom_order_status_email',
|
174 |
-
'type' => 'checkbox',
|
175 |
-
'active_callback' => array( $this, 'active_callback' ),
|
176 |
-
)
|
177 |
-
);
|
178 |
-
|
179 |
-
// Header Text
|
180 |
-
$wp_customize->add_setting( 'woocommerce_customer_partial_shipped_order_settings[subject]',
|
181 |
-
array(
|
182 |
-
'default' => $this->defaults['wcast_partial_shipped_email_subject'],
|
183 |
-
'transport' => 'postMessage',
|
184 |
-
'type' => 'option',
|
185 |
-
'sanitize_callback' => ''
|
186 |
-
)
|
187 |
-
);
|
188 |
-
$wp_customize->add_control( 'woocommerce_customer_partial_shipped_order_settings[subject]',
|
189 |
-
array(
|
190 |
-
'label' => __( 'Subject', 'woocommerce' ),
|
191 |
-
'description' => esc_html__( 'Available variables:', 'woo-advanced-shipment-tracking' ) . ' {site_title}, {order_number}',
|
192 |
-
'section' => 'custom_order_status_email',
|
193 |
-
'type' => 'text',
|
194 |
-
'input_attrs' => array(
|
195 |
-
'class' => '',
|
196 |
-
'style' => '',
|
197 |
-
'placeholder' => __( $this->defaults['wcast_partial_shipped_email_subject'], 'woo-advanced-shipment-tracking' ),
|
198 |
-
),
|
199 |
-
'active_callback' => array( $this, 'active_callback' ),
|
200 |
-
)
|
201 |
-
);
|
202 |
-
|
203 |
-
// Header Text
|
204 |
-
$wp_customize->add_setting( 'woocommerce_customer_partial_shipped_order_settings[heading]',
|
205 |
-
array(
|
206 |
-
'default' => $this->defaults['wcast_partial_shipped_email_heading'],
|
207 |
-
'transport' => 'postMessage',
|
208 |
-
'type' => 'option',
|
209 |
-
'sanitize_callback' => ''
|
210 |
-
)
|
211 |
-
);
|
212 |
-
$wp_customize->add_control( 'woocommerce_customer_partial_shipped_order_settings[heading]',
|
213 |
-
array(
|
214 |
-
'label' => __( 'Email heading', 'woocommerce' ),
|
215 |
-
'description' => esc_html__( 'Available variables:', 'woo-advanced-shipment-tracking' ) . ' {site_title}, {order_number}',
|
216 |
-
'section' => 'custom_order_status_email',
|
217 |
-
'type' => 'text',
|
218 |
-
'input_attrs' => array(
|
219 |
-
'class' => '',
|
220 |
-
'style' => '',
|
221 |
-
'placeholder' => __( $this->defaults['wcast_partial_shipped_email_heading'], 'woo-advanced-shipment-tracking' ),
|
222 |
-
),
|
223 |
-
'active_callback' => array( $this, 'active_callback' ),
|
224 |
-
)
|
225 |
-
);
|
226 |
-
|
227 |
-
|
228 |
-
// Test of TinyMCE control
|
229 |
-
$wp_customize->add_setting( 'woocommerce_customer_partial_shipped_order_settings[wcast_partial_shipped_email_content]',
|
230 |
-
array(
|
231 |
-
'default' => $this->defaults['wcast_partial_shipped_email_content'],
|
232 |
-
'transport' => 'refresh',
|
233 |
-
'sanitize_callback' => 'wp_kses_post',
|
234 |
-
'type' => 'option',
|
235 |
-
)
|
236 |
-
);
|
237 |
-
$wp_customize->add_control( new AST_TinyMCE_Custom_control( $wp_customize, 'woocommerce_customer_partial_shipped_order_settings[wcast_partial_shipped_email_content]',
|
238 |
-
array(
|
239 |
-
'label' => __( 'Email content', 'woo-advanced-shipment-tracking' ),
|
240 |
-
'description' => __( 'Available variables:', 'woo-advanced-shipment-tracking' ) . ' {site_title}, {customer_email}, {customer_first_name}, {customer_last_name}, {customer_username}, {order_number}',
|
241 |
-
'section' => 'custom_order_status_email',
|
242 |
-
'input_attrs' => array(
|
243 |
-
'toolbar1' => 'bold italic bullist numlist alignleft aligncenter alignright link',
|
244 |
-
'mediaButtons' => true,
|
245 |
-
'placeholder' => __( $this->defaults['wcast_partial_shipped_email_content'], 'woo-advanced-shipment-tracking' ),
|
246 |
-
),
|
247 |
-
'active_callback' => array( $this, 'active_callback' ),
|
248 |
-
)
|
249 |
-
) );
|
250 |
-
|
251 |
-
$wp_customize->add_setting( 'wcast_partial_shipped_code_block',
|
252 |
-
array(
|
253 |
-
'default' => '',
|
254 |
-
'transport' => 'postMessage',
|
255 |
-
'sanitize_callback' => ''
|
256 |
-
)
|
257 |
-
);
|
258 |
-
$wp_customize->add_control( new WP_Customize_codeinfoblock_Control( $wp_customize, 'wcast_partial_shipped_code_block',
|
259 |
-
array(
|
260 |
-
'label' => __( 'Available variables:', 'woo-advanced-shipment-tracking' ),
|
261 |
-
'description' => '<code>{site_title}<br>{customer_email}<br>{customer_first_name}<br>{customer_last_name}<br>{customer_company_name}<br>{customer_username}<br>{order_number}</code>',
|
262 |
-
'section' => 'custom_order_status_email',
|
263 |
-
'active_callback' => array( $this, 'active_callback' ),
|
264 |
-
)
|
265 |
-
) );
|
266 |
-
}
|
267 |
-
|
268 |
-
public function active_callback() {
|
269 |
-
return ( $this->is_own_preview_request() ) ? true : false ;
|
270 |
-
}
|
271 |
-
|
272 |
-
/**
|
273 |
-
* Set up preview
|
274 |
-
*
|
275 |
-
* @return void
|
276 |
-
*/
|
277 |
-
public function set_up_preview() {
|
278 |
-
// Make sure this is own preview request.
|
279 |
-
if ( ! $this->is_own_preview_request() ) {
|
280 |
-
return;
|
281 |
-
}
|
282 |
-
include wc_advanced_shipment_tracking()->get_plugin_path() . '/includes/customizer/preview/partial_shipped_preview.php';
|
283 |
-
exit;
|
284 |
-
}
|
285 |
-
|
286 |
-
/**
|
287 |
-
* Code for preview of delivered order status email
|
288 |
-
*/
|
289 |
-
public function preview_partial_shipped_email() {
|
290 |
-
// Load WooCommerce emails.
|
291 |
-
$wc_emails = WC_Emails::instance();
|
292 |
-
$emails = $wc_emails->get_emails();
|
293 |
-
$preview_id = 'mockup';
|
294 |
-
$email_type = 'WC_Email_Customer_Partial_Shipped_Order';
|
295 |
-
|
296 |
-
if ( false === $email_type ) {
|
297 |
-
return false;
|
298 |
-
}
|
299 |
-
|
300 |
-
// Reference email.
|
301 |
-
if ( isset( $emails[ $email_type ] ) && is_object( $emails[ $email_type ] ) ) {
|
302 |
-
$email = $emails[ $email_type ];
|
303 |
-
}
|
304 |
-
$order_status = 'partial-shipped';
|
305 |
-
// Get an order
|
306 |
-
$order = wcast_customizer()->get_wc_order_for_preview( $order_status, $preview_id );
|
307 |
-
|
308 |
-
// Make sure gateways are running in case the email needs to input content from them.
|
309 |
-
WC()->payment_gateways();
|
310 |
-
// Make sure shipping is running in case the email needs to input content from it.
|
311 |
-
WC()->shipping();
|
312 |
-
|
313 |
-
$email->object = $order;
|
314 |
-
$email->find['order-date'] = '{order_date}';
|
315 |
-
$email->find['order-number'] = '{order_number}';
|
316 |
-
if ( is_object( $order ) ) {
|
317 |
-
$email->replace['order-date'] = wc_format_datetime( $email->object->get_date_created() );
|
318 |
-
$email->replace['order-number'] = $email->object->get_order_number();
|
319 |
-
// Other properties
|
320 |
-
$email->recipient = $email->object->get_billing_email();
|
321 |
-
}
|
322 |
-
|
323 |
-
// Get email content and apply styles.
|
324 |
-
$content = $email->get_content();
|
325 |
-
|
326 |
-
$content = $email->style_inline( $content );
|
327 |
-
$content = apply_filters( 'woocommerce_mail_content', $content );
|
328 |
-
|
329 |
-
echo wp_kses_post( $content );
|
330 |
-
}
|
331 |
-
}
|
332 |
-
|
333 |
-
/**
|
334 |
-
* Returns an instance of zorem_woocommerce_advanced_shipment_tracking.
|
335 |
-
*
|
336 |
-
* @since 1.6.5
|
337 |
-
* @version 1.6.5
|
338 |
-
*
|
339 |
-
* @return zorem_woocommerce_advanced_shipment_tracking
|
340 |
-
*/
|
341 |
-
function ps_customizer() {
|
342 |
-
static $instance;
|
343 |
-
|
344 |
-
if ( ! isset( $instance ) ) {
|
345 |
-
$instance = new Wcast_Partial_Shipped_Customizer_Email();
|
346 |
-
}
|
347 |
-
|
348 |
-
return $instance;
|
349 |
-
}
|
350 |
-
|
351 |
-
/**
|
352 |
-
* Register this class globally.
|
353 |
-
*
|
354 |
-
* Backward compatibility.
|
355 |
-
*/
|
356 |
-
ps_customizer();
|
357 |
-
|
358 |
-
add_action( 'customize_save_customizer_partial_shipped_order_settings_enabled', 'woocommerce_customer_partial_shipped_order_settings_fun', 100, 1 );
|
359 |
-
|
360 |
-
/**
|
361 |
-
* Update Delivered order email enable/disable
|
362 |
-
*/
|
363 |
-
function woocommerce_customer_partial_shipped_order_settings_fun( $data ) {
|
364 |
-
|
365 |
-
$customized = isset( $_POST['customized'] ) ? wc_clean( $_POST['customized'] ) : '';
|
366 |
-
$post_values = json_decode( wp_unslash( $customized ), true );
|
367 |
-
$partial_shipped_order_settings = get_option( 'woocommerce_customer_partial_shipped_order_settings');
|
368 |
-
|
369 |
-
if ( isset( $post_values['customizer_partial_shipped_order_settings_enabled'] ) && ( 1 == $post_values['customizer_partial_shipped_order_settings_enabled'] ) ) {
|
370 |
-
$partial_shipped_order_settings['enabled'] = 'yes';
|
371 |
-
} else {
|
372 |
-
$partial_shipped_order_settings['enabled'] = 'no';
|
373 |
-
}
|
374 |
-
update_option( 'woocommerce_customer_partial_shipped_order_settings', $partial_shipped_order_settings );
|
375 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/customizer/class-wc-tracking-info-customizer.php
DELETED
@@ -1,1163 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Customizer Setup and Custom Controls
|
4 |
-
*
|
5 |
-
*/
|
6 |
-
|
7 |
-
/**
|
8 |
-
* Adds the individual sections, settings, and controls to the theme customizer
|
9 |
-
*/
|
10 |
-
class Wcast_Initialise_Customizer_Settings {
|
11 |
-
// Get our default values
|
12 |
-
private static $order_ids = null;
|
13 |
-
|
14 |
-
public function __construct() {
|
15 |
-
// Get our Customizer defaults
|
16 |
-
$this->defaults = $this->wcast_generate_defaults();
|
17 |
-
|
18 |
-
// Register our sample default controls
|
19 |
-
add_action( 'customize_register', array( $this, 'wcast_register_sample_default_controls' ) );
|
20 |
-
|
21 |
-
// Only proceed if this is own request.
|
22 |
-
if ( ! $this->is_own_customizer_request() && ! $this->is_own_preview_request() ) {
|
23 |
-
return;
|
24 |
-
}
|
25 |
-
|
26 |
-
// Register our sections
|
27 |
-
add_action( 'customize_register', array( wcast_customizer(), 'wcast_add_customizer_sections' ) );
|
28 |
-
|
29 |
-
// Remove unrelated components.
|
30 |
-
add_filter( 'customize_loaded_components', array( wcast_customizer(), 'remove_unrelated_components' ), 99, 2 );
|
31 |
-
|
32 |
-
// Remove unrelated sections.
|
33 |
-
add_filter( 'customize_section_active', array( wcast_customizer(), 'remove_unrelated_sections' ), 10, 2 );
|
34 |
-
|
35 |
-
// Unhook divi front end.
|
36 |
-
add_action( 'woomail_footer', array( wcast_customizer(), 'unhook_divi' ), 10 );
|
37 |
-
|
38 |
-
// Unhook Flatsome js
|
39 |
-
add_action( 'customize_preview_init', array( wcast_customizer(), 'unhook_flatsome' ), 50 );
|
40 |
-
|
41 |
-
add_filter( 'customize_controls_enqueue_scripts', array( wcast_customizer(), 'enqueue_customizer_scripts' ) );
|
42 |
-
|
43 |
-
add_action( 'parse_request', array( $this, 'set_up_preview' ) );
|
44 |
-
|
45 |
-
add_action( 'customize_preview_init', array( $this, 'enqueue_preview_scripts' ) );
|
46 |
-
}
|
47 |
-
|
48 |
-
|
49 |
-
/**
|
50 |
-
* Add css and js for preview
|
51 |
-
*/
|
52 |
-
public function enqueue_preview_scripts() {
|
53 |
-
wp_enqueue_script('wcast-preview-scripts', wc_advanced_shipment_tracking()->plugin_dir_url() . '/assets/js/preview-scripts.js', array('jquery', 'customize-preview'), wc_advanced_shipment_tracking()->version, true);
|
54 |
-
wp_enqueue_style('wcast-preview-styles', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/preview-styles.css', array(), wc_advanced_shipment_tracking()->version );
|
55 |
-
$preview_id = get_theme_mod('wcast_email_preview_order_id');
|
56 |
-
wp_localize_script('wcast-preview-scripts', 'wcast_preview', array(
|
57 |
-
'site_title' => $this->get_blogname(),
|
58 |
-
'order_number' => $preview_id,
|
59 |
-
));
|
60 |
-
}
|
61 |
-
|
62 |
-
/**
|
63 |
-
* Get blog name formatted for emails.
|
64 |
-
*
|
65 |
-
* @return string
|
66 |
-
*/
|
67 |
-
public function get_blogname() {
|
68 |
-
return wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES );
|
69 |
-
}
|
70 |
-
|
71 |
-
/**
|
72 |
-
* Checks to see if we are opening our custom customizer preview
|
73 |
-
*
|
74 |
-
* @return bool
|
75 |
-
*/
|
76 |
-
public function is_own_preview_request() {
|
77 |
-
return isset( $_REQUEST['wcast-tracking-preview'] ) && '1' === $_REQUEST['wcast-tracking-preview'];
|
78 |
-
}
|
79 |
-
|
80 |
-
/**
|
81 |
-
* Checks to see if we are opening our custom customizer controls
|
82 |
-
*
|
83 |
-
* @return bool
|
84 |
-
*/
|
85 |
-
public function is_own_customizer_request() {
|
86 |
-
return isset( $_REQUEST['email'] ) && 'ast_tracking_general_section' === $_REQUEST['email'];
|
87 |
-
}
|
88 |
-
|
89 |
-
/**
|
90 |
-
* Get Customizer URL
|
91 |
-
*
|
92 |
-
*/
|
93 |
-
public function get_customizer_url( $email, $return_tab ) {
|
94 |
-
return add_query_arg( array(
|
95 |
-
'wcast-customizer' => '1',
|
96 |
-
'email' => $email,
|
97 |
-
//'autofocus[section]' => 'ast_tracking_general_section',
|
98 |
-
'url' => urlencode( add_query_arg( array( 'wcast-tracking-preview' => '1' ), home_url( '/' ) ) ),
|
99 |
-
'return' => urlencode( $this->get_email_settings_page_url($return_tab) ),
|
100 |
-
//'autofocus[panel]' => 'ast_tracking_display_panel',
|
101 |
-
), admin_url( 'customize.php' ) );
|
102 |
-
}
|
103 |
-
|
104 |
-
/**
|
105 |
-
* Get WooCommerce email settings page URL
|
106 |
-
*
|
107 |
-
* @return string
|
108 |
-
*/
|
109 |
-
public function get_email_settings_page_url( $return_tab ) {
|
110 |
-
return admin_url( 'admin.php?page=woocommerce-advanced-shipment-tracking&tab=' . $return_tab );
|
111 |
-
}
|
112 |
-
|
113 |
-
/**
|
114 |
-
* Code for initialize default value for customizer
|
115 |
-
*/
|
116 |
-
public function wcast_generate_defaults() {
|
117 |
-
$customizer_defaults = array(
|
118 |
-
'display_shipment_provider_image' => 1,
|
119 |
-
'display_shipment_provider_name' => 1,
|
120 |
-
'remove_date_from_tracking' => '',
|
121 |
-
'header_text_change' => '',
|
122 |
-
'additional_header_text' => '',
|
123 |
-
'table_bg_color' => '#ffffff',
|
124 |
-
'table_border_color' => '#e0e0e0',
|
125 |
-
'table_border_size' => '1',
|
126 |
-
'table_header_font_size' => '',
|
127 |
-
'table_header_font_color' => '',
|
128 |
-
'table_header_bg_color' => '#fafafa',
|
129 |
-
'table_header_font_weight' => '400',
|
130 |
-
'table_content_font_size' => '12',
|
131 |
-
'table_content_font_color' => '#212121',
|
132 |
-
'tracking_link_font_color' => '',
|
133 |
-
'tracking_link_bg_color' => '',
|
134 |
-
'wcast_preview_order_id' => 'mockup',
|
135 |
-
'table_content_line_height' => '20',
|
136 |
-
'table_content_font_weight' => '400',
|
137 |
-
'table_padding' => '12',
|
138 |
-
'header_content_text_align' => 'left',
|
139 |
-
'tracking_link_border' => 1,
|
140 |
-
'show_track_label' => '',
|
141 |
-
'provider_header_text' => __( 'Provider', 'woo-advanced-shipment-tracking' ),
|
142 |
-
'tracking_number_header_text' => __( 'Tracking Number', 'woo-advanced-shipment-tracking' ),
|
143 |
-
'shipped_date_header_text' => __( 'Shipped Date', 'woo-advanced-shipment-tracking' ),
|
144 |
-
'track_header_text' => __( 'Track', 'woo-advanced-shipment-tracking' ),
|
145 |
-
'display_tracking_info_at' => 'before_order',
|
146 |
-
'select_tracking_template' => 'default_table',
|
147 |
-
'simple_provider_font_size' => '14',
|
148 |
-
'simple_provider_font_color' => '#212121',
|
149 |
-
'show_provider_border' => 1,
|
150 |
-
'provider_border_color' => '#e0e0e0',
|
151 |
-
'simple_layout_content' => __( 'Shipped on {ship_date} via {shipping_provider} - {tracking_number_link}', 'woo-advanced-shipment-tracking' ),
|
152 |
-
);
|
153 |
-
|
154 |
-
return apply_filters( 'ast_customizer_defaults', $customizer_defaults );
|
155 |
-
}
|
156 |
-
|
157 |
-
/**
|
158 |
-
* Register our sample default controls
|
159 |
-
*/
|
160 |
-
public function wcast_register_sample_default_controls( $wp_customize ) {
|
161 |
-
/**
|
162 |
-
* Load all our Customizer Custom Controls
|
163 |
-
*/
|
164 |
-
require_once trailingslashit( dirname(__FILE__) ) . 'custom-controls.php';
|
165 |
-
|
166 |
-
$font_size_array[ '' ] = __( 'Select', 'woocommerce' );
|
167 |
-
for ( $i = 10; $i <= 30; $i++ ) {
|
168 |
-
$font_size_array[ $i ] = $i . 'px';
|
169 |
-
}
|
170 |
-
|
171 |
-
// Tracking Display Position
|
172 |
-
$wp_customize->add_setting( 'tracking_info_settings[display_tracking_info_at]',
|
173 |
-
array(
|
174 |
-
'default' => $this->defaults['display_tracking_info_at'],
|
175 |
-
'transport' => 'refresh',
|
176 |
-
'sanitize_callback' => '',
|
177 |
-
'type' => 'option',
|
178 |
-
)
|
179 |
-
);
|
180 |
-
$wp_customize->add_control( 'tracking_info_settings[display_tracking_info_at]',
|
181 |
-
array(
|
182 |
-
'label' => __( 'Tracking Display Position', 'woo-advanced-shipment-tracking' ),
|
183 |
-
'section' => 'ast_tracking_general_section',
|
184 |
-
'type' => 'select',
|
185 |
-
'choices' => array(
|
186 |
-
'before_order' => __( 'Before Order Details', 'woo-advanced-shipment-tracking' ),
|
187 |
-
'after_order' => __( 'After Order Details', 'woo-advanced-shipment-tracking' ),
|
188 |
-
)
|
189 |
-
)
|
190 |
-
);
|
191 |
-
|
192 |
-
// Show track label
|
193 |
-
$wp_customize->add_setting( 'tracking_info_settings[hide_trackig_header]',
|
194 |
-
array(
|
195 |
-
'default' => '',
|
196 |
-
'transport' => 'refresh',
|
197 |
-
'sanitize_callback' => '',
|
198 |
-
'type' => 'option',
|
199 |
-
)
|
200 |
-
);
|
201 |
-
$wp_customize->add_control( 'tracking_info_settings[hide_trackig_header]',
|
202 |
-
array(
|
203 |
-
'label' => __( 'Hide Tracking Header', 'woo-advanced-shipment-tracking' ),
|
204 |
-
'description' => '',
|
205 |
-
'section' => 'ast_tracking_general_section',
|
206 |
-
'type' => 'checkbox'
|
207 |
-
)
|
208 |
-
);
|
209 |
-
|
210 |
-
// Header Text
|
211 |
-
$wp_customize->add_setting( 'tracking_info_settings[header_text_change]',
|
212 |
-
array(
|
213 |
-
'default' => $this->defaults['header_text_change'],
|
214 |
-
'transport' => 'postMessage',
|
215 |
-
'sanitize_callback' => '',
|
216 |
-
'type' => 'option',
|
217 |
-
)
|
218 |
-
);
|
219 |
-
$wp_customize->add_control( 'tracking_info_settings[header_text_change]',
|
220 |
-
array(
|
221 |
-
'label' => __( 'Tracking Header text', 'woo-advanced-shipment-tracking' ),
|
222 |
-
'description' => '',
|
223 |
-
'section' => 'ast_tracking_general_section',
|
224 |
-
'type' => 'text',
|
225 |
-
'input_attrs' => array(
|
226 |
-
'class' => '',
|
227 |
-
'style' => '',
|
228 |
-
'placeholder' => __( 'Tracking Information', 'woo-advanced-shipment-tracking' ),
|
229 |
-
),
|
230 |
-
'active_callback' => array( $this, 'active_callback_for_hide_trackig_header' ),
|
231 |
-
)
|
232 |
-
);
|
233 |
-
|
234 |
-
// Additional text after header
|
235 |
-
$wp_customize->add_setting( 'tracking_info_settings[additional_header_text]',
|
236 |
-
array(
|
237 |
-
'default' => $this->defaults['additional_header_text'],
|
238 |
-
'transport' => 'postMessage',
|
239 |
-
'sanitize_callback' => '',
|
240 |
-
'type' => 'option',
|
241 |
-
)
|
242 |
-
);
|
243 |
-
$wp_customize->add_control( 'tracking_info_settings[additional_header_text]',
|
244 |
-
array(
|
245 |
-
'label' => __( 'Additional text after header', 'woo-advanced-shipment-tracking' ),
|
246 |
-
'section' => 'ast_tracking_general_section',
|
247 |
-
'type' => 'textarea',
|
248 |
-
'input_attrs' => array(
|
249 |
-
'class' => '',
|
250 |
-
'style' => '',
|
251 |
-
'placeholder' =>'',
|
252 |
-
),
|
253 |
-
)
|
254 |
-
);
|
255 |
-
|
256 |
-
// Tracking display layout
|
257 |
-
|
258 |
-
$tracking_template = array(
|
259 |
-
'' => __( 'Select Template', 'woo-advanced-shipment-tracking' ),
|
260 |
-
'default_table' => __( 'Table Layout', 'woo-advanced-shipment-tracking' ),
|
261 |
-
'simple_list' => 'Simple Layout',
|
262 |
-
);
|
263 |
-
$tracking_template = apply_filters('ast_tracking_template', $tracking_template);
|
264 |
-
$wp_customize->add_setting( 'tracking_info_settings[select_tracking_template]',
|
265 |
-
array(
|
266 |
-
'default' => $this->defaults['select_tracking_template'],
|
267 |
-
'transport' => 'refresh',
|
268 |
-
'sanitize_callback' => '',
|
269 |
-
'type' => 'option',
|
270 |
-
)
|
271 |
-
);
|
272 |
-
$wp_customize->add_control( new AST_Dropdown_Select_Custom_Control( $wp_customize, 'tracking_info_settings[select_tracking_template]',
|
273 |
-
array(
|
274 |
-
'label' => __( 'Tracking display layout', 'woo-advanced-shipment-tracking' ),
|
275 |
-
'section' => 'ast_tracking_general_section',
|
276 |
-
'input_attrs' => array(
|
277 |
-
'placeholder' => __( 'Tracking display layout', 'woo-advanced-shipment-tracking' ),
|
278 |
-
'class' => 'tracking_template_select',
|
279 |
-
),
|
280 |
-
'choices' => $tracking_template,
|
281 |
-
)
|
282 |
-
) );
|
283 |
-
|
284 |
-
// Test of Toggle Switch Custom Control
|
285 |
-
$wp_customize->add_setting( 'tracking_info_settings[simple_content_header]',
|
286 |
-
array(
|
287 |
-
'default' => '',
|
288 |
-
'transport' => 'postMessage',
|
289 |
-
'sanitize_callback' => '',
|
290 |
-
'type' => 'option',
|
291 |
-
)
|
292 |
-
);
|
293 |
-
$wp_customize->add_control( new WP_Customize_Heading_Control( $wp_customize, 'tracking_info_settings[simple_content_header]',
|
294 |
-
array(
|
295 |
-
'label' => __( 'Simple Layout Design', 'woo-advanced-shipment-tracking' ),
|
296 |
-
'section' => 'ast_tracking_general_section',
|
297 |
-
'active_callback' => array( $this, 'active_callback_for_simple_layout' ),
|
298 |
-
)
|
299 |
-
) );
|
300 |
-
|
301 |
-
// Additional text after header
|
302 |
-
$wp_customize->add_setting( 'tracking_info_settings[simple_layout_content]',
|
303 |
-
array(
|
304 |
-
'default' => $this->defaults['simple_layout_content'],
|
305 |
-
'transport' => 'refresh',
|
306 |
-
'sanitize_callback' => '',
|
307 |
-
'type' => 'option',
|
308 |
-
)
|
309 |
-
);
|
310 |
-
$wp_customize->add_control( 'tracking_info_settings[simple_layout_content]',
|
311 |
-
array(
|
312 |
-
'label' => __( 'Content', 'woo-advanced-shipment-tracking' ),
|
313 |
-
'section' => 'ast_tracking_general_section',
|
314 |
-
'type' => 'textarea',
|
315 |
-
'input_attrs' => array(
|
316 |
-
'class' => '',
|
317 |
-
'style' => '',
|
318 |
-
'placeholder' =>'',
|
319 |
-
),
|
320 |
-
'active_callback' => array( $this, 'active_callback_for_simple_layout' ),
|
321 |
-
)
|
322 |
-
);
|
323 |
-
|
324 |
-
$wp_customize->add_setting( 'tracking_info_settings[simple_content_variables]',
|
325 |
-
array(
|
326 |
-
'default' => '',
|
327 |
-
'transport' => 'postMessage',
|
328 |
-
'sanitize_callback' => ''
|
329 |
-
)
|
330 |
-
);
|
331 |
-
$wp_customize->add_control( new WP_Customize_codeinfoblock_Control( $wp_customize, 'tracking_info_settings[simple_content_variables]',
|
332 |
-
array(
|
333 |
-
'label' => __( 'Available variables:', 'woo-advanced-shipment-tracking' ),
|
334 |
-
'description' => '<code>{ship_date}<br>{shipping_provider}<br>{tracking_number_link}</code>',
|
335 |
-
'section' => 'ast_tracking_general_section',
|
336 |
-
'active_callback' => array( $this, 'active_callback_for_simple_layout' ),
|
337 |
-
)
|
338 |
-
) );
|
339 |
-
|
340 |
-
// Simple Layout Provider font size
|
341 |
-
$wp_customize->add_setting( 'tracking_info_settings[simple_provider_font_size]',
|
342 |
-
array(
|
343 |
-
'default' => $this->defaults['simple_provider_font_size'],
|
344 |
-
'transport' => 'postMessage',
|
345 |
-
'sanitize_callback' => '',
|
346 |
-
'type' => 'option',
|
347 |
-
)
|
348 |
-
);
|
349 |
-
$wp_customize->add_control( 'tracking_info_settings[simple_provider_font_size]',
|
350 |
-
array(
|
351 |
-
'label' => __( 'Content font size', 'woo-advanced-shipment-tracking' ),
|
352 |
-
'section' => 'ast_tracking_general_section',
|
353 |
-
'type' => 'select',
|
354 |
-
'choices' => $font_size_array,
|
355 |
-
'active_callback' => array( $this, 'active_callback_for_simple_layout' ),
|
356 |
-
)
|
357 |
-
);
|
358 |
-
|
359 |
-
// Table header font color
|
360 |
-
$wp_customize->add_setting( 'tracking_info_settings[simple_provider_font_color]',
|
361 |
-
array(
|
362 |
-
'default' => $this->defaults['simple_provider_font_color'],
|
363 |
-
'transport' => 'postMessage',
|
364 |
-
'sanitize_callback' => '',
|
365 |
-
'type' => 'option',
|
366 |
-
)
|
367 |
-
);
|
368 |
-
$wp_customize->add_control( 'tracking_info_settings[simple_provider_font_color]',
|
369 |
-
array(
|
370 |
-
'label' => __( 'Content font color', 'woo-advanced-shipment-tracking' ),
|
371 |
-
'section' => 'ast_tracking_general_section',
|
372 |
-
'type' => 'color',
|
373 |
-
'active_callback' => array( $this, 'active_callback_for_simple_layout' ),
|
374 |
-
)
|
375 |
-
);
|
376 |
-
|
377 |
-
// Show track label
|
378 |
-
$wp_customize->add_setting( 'tracking_info_settings[show_provider_border]',
|
379 |
-
array(
|
380 |
-
'default' => $this->defaults['show_provider_border'],
|
381 |
-
'transport' => 'refresh',
|
382 |
-
'sanitize_callback' => '',
|
383 |
-
'type' => 'option',
|
384 |
-
)
|
385 |
-
);
|
386 |
-
$wp_customize->add_control( 'tracking_info_settings[show_provider_border]',
|
387 |
-
array(
|
388 |
-
'label' => __( 'Show bottom border', 'woo-advanced-shipment-tracking' ),
|
389 |
-
'description' => '',
|
390 |
-
'section' => 'ast_tracking_general_section',
|
391 |
-
'type' => 'checkbox',
|
392 |
-
'active_callback' => array( $this, 'active_callback_for_simple_layout' ),
|
393 |
-
)
|
394 |
-
);
|
395 |
-
|
396 |
-
// Table header font color
|
397 |
-
$wp_customize->add_setting( 'tracking_info_settings[provider_border_color]',
|
398 |
-
array(
|
399 |
-
'default' => $this->defaults['provider_border_color'],
|
400 |
-
'transport' => 'postMessage',
|
401 |
-
'sanitize_callback' => '',
|
402 |
-
'type' => 'option',
|
403 |
-
)
|
404 |
-
);
|
405 |
-
$wp_customize->add_control( 'tracking_info_settings[provider_border_color]',
|
406 |
-
array(
|
407 |
-
'label' => __( 'Bottom border color', 'woo-advanced-shipment-tracking' ),
|
408 |
-
'section' => 'ast_tracking_general_section',
|
409 |
-
'type' => 'color',
|
410 |
-
'active_callback' => array( $this, 'active_callback_for_simple_layout_show_provider_border' ),
|
411 |
-
)
|
412 |
-
);
|
413 |
-
|
414 |
-
|
415 |
-
|
416 |
-
// Test of Toggle Switch Custom Control
|
417 |
-
$wp_customize->add_setting( 'tracking_info_settings[table_content_header]',
|
418 |
-
array(
|
419 |
-
'default' => '',
|
420 |
-
'transport' => 'postMessage',
|
421 |
-
'sanitize_callback' => '',
|
422 |
-
'type' => 'option',
|
423 |
-
)
|
424 |
-
);
|
425 |
-
$wp_customize->add_control( new WP_Customize_Heading_Control( $wp_customize, 'tracking_info_settings[table_content_header]',
|
426 |
-
array(
|
427 |
-
'label' => __( 'Table Options', 'woo-advanced-shipment-tracking' ),
|
428 |
-
'section' => 'ast_tracking_general_section',
|
429 |
-
'active_callback' => array( $this, 'active_callback_for_table_layout' ),
|
430 |
-
)
|
431 |
-
) );
|
432 |
-
|
433 |
-
// Hide Shipment Provider name
|
434 |
-
$wp_customize->add_setting( 'tracking_info_settings[display_shipment_provider_name]',
|
435 |
-
array(
|
436 |
-
'default' => $this->defaults['display_shipment_provider_name'],
|
437 |
-
'transport' => 'refresh',
|
438 |
-
'sanitize_callback' => '',
|
439 |
-
'type' => 'option',
|
440 |
-
)
|
441 |
-
);
|
442 |
-
$wp_customize->add_control( 'tracking_info_settings[display_shipment_provider_name]',
|
443 |
-
array(
|
444 |
-
'label' => __( 'Display shipping provider name', 'woo-advanced-shipment-tracking' ),
|
445 |
-
'description' => '',
|
446 |
-
'section' => 'ast_tracking_general_section',
|
447 |
-
'type' => 'checkbox',
|
448 |
-
'active_callback' => array( $this, 'active_callback_for_table_layout' ),
|
449 |
-
)
|
450 |
-
);
|
451 |
-
|
452 |
-
// Display Shipment Provider image/thumbnail
|
453 |
-
$wp_customize->add_setting( 'tracking_info_settings[display_shipment_provider_image]',
|
454 |
-
array(
|
455 |
-
'default' => $this->defaults['display_shipment_provider_image'],
|
456 |
-
'transport' => 'refresh',
|
457 |
-
'sanitize_callback' => '',
|
458 |
-
'type' => 'option',
|
459 |
-
)
|
460 |
-
);
|
461 |
-
$wp_customize->add_control( 'tracking_info_settings[display_shipment_provider_image]',
|
462 |
-
array(
|
463 |
-
'label' => __( 'Display shipping provider image', 'woo-advanced-shipment-tracking' ),
|
464 |
-
'description' => '',
|
465 |
-
'section' => 'ast_tracking_general_section',
|
466 |
-
'type' => 'checkbox',
|
467 |
-
'active_callback' => array( $this, 'active_callback_for_table_layout' ),
|
468 |
-
)
|
469 |
-
);
|
470 |
-
|
471 |
-
// Remove date from tracking info
|
472 |
-
$wp_customize->add_setting( 'tracking_info_settings[remove_date_from_tracking]',
|
473 |
-
array(
|
474 |
-
'default' => $this->defaults['remove_date_from_tracking'],
|
475 |
-
'transport' => 'postMessage',
|
476 |
-
'sanitize_callback' => '',
|
477 |
-
'type' => 'option',
|
478 |
-
)
|
479 |
-
);
|
480 |
-
$wp_customize->add_control( 'tracking_info_settings[remove_date_from_tracking]',
|
481 |
-
array(
|
482 |
-
'label' => __( 'Hide the shipped date', 'woo-advanced-shipment-tracking' ),
|
483 |
-
'description' => '',
|
484 |
-
'section' => 'ast_tracking_general_section',
|
485 |
-
'type' => 'checkbox',
|
486 |
-
'active_callback' => array( $this, 'active_callback_for_table_layout' ),
|
487 |
-
)
|
488 |
-
);
|
489 |
-
|
490 |
-
// Use tracking number as a link
|
491 |
-
$wp_customize->add_setting( 'tracking_info_settings[tracking_number_link]',
|
492 |
-
array(
|
493 |
-
'default' => '',
|
494 |
-
'transport' => 'refresh',
|
495 |
-
'sanitize_callback' => '',
|
496 |
-
'type' => 'option',
|
497 |
-
)
|
498 |
-
);
|
499 |
-
$wp_customize->add_control( 'tracking_info_settings[tracking_number_link]',
|
500 |
-
array(
|
501 |
-
'label' => __( 'Use tracking number as a link', 'woo-advanced-shipment-tracking' ),
|
502 |
-
'description' => '',
|
503 |
-
'section' => 'ast_tracking_general_section',
|
504 |
-
'type' => 'checkbox',
|
505 |
-
'active_callback' => array( $this, 'active_callback_for_table_layout' ),
|
506 |
-
)
|
507 |
-
);
|
508 |
-
|
509 |
-
// Test of Toggle Switch Custom Control
|
510 |
-
$wp_customize->add_setting( 'tracking_info_settings[table_design_options]',
|
511 |
-
array(
|
512 |
-
'default' => '',
|
513 |
-
'transport' => 'postMessage',
|
514 |
-
'sanitize_callback' => '',
|
515 |
-
'type' => 'option',
|
516 |
-
)
|
517 |
-
);
|
518 |
-
$wp_customize->add_control( new WP_Customize_Heading_Control( $wp_customize, 'tracking_info_settings[table_design_options]',
|
519 |
-
array(
|
520 |
-
'label' => __( 'Table Design Options', 'woo-advanced-shipment-tracking' ),
|
521 |
-
'section' => 'ast_tracking_general_section',
|
522 |
-
'active_callback' => array( $this, 'active_callback_for_table_layout' ),
|
523 |
-
)
|
524 |
-
) );
|
525 |
-
|
526 |
-
// Table Border color
|
527 |
-
$wp_customize->add_setting( 'tracking_info_settings[table_border_color]',
|
528 |
-
array(
|
529 |
-
'default' => $this->defaults['table_border_color'],
|
530 |
-
'transport' => 'postMessage',
|
531 |
-
'sanitize_callback' => 'sanitize_hex_color',
|
532 |
-
'type' => 'option',
|
533 |
-
)
|
534 |
-
);
|
535 |
-
$wp_customize->add_control( 'tracking_info_settings[table_border_color]',
|
536 |
-
array(
|
537 |
-
'label' => __( 'Border color', 'woo-advanced-shipment-tracking' ),
|
538 |
-
'section' => 'ast_tracking_general_section',
|
539 |
-
'type' => 'color',
|
540 |
-
'active_callback' => array( $this, 'active_callback_for_table_layout' ),
|
541 |
-
)
|
542 |
-
);
|
543 |
-
|
544 |
-
// Table Border size
|
545 |
-
$wp_customize->add_setting( 'tracking_info_settings[table_border_size]',
|
546 |
-
array(
|
547 |
-
'default' => $this->defaults['table_border_size'],
|
548 |
-
'transport' => 'postMessage',
|
549 |
-
'sanitize_callback' => '',
|
550 |
-
'type' => 'option',
|
551 |
-
)
|
552 |
-
);
|
553 |
-
$wp_customize->add_control( 'tracking_info_settings[table_border_size]',
|
554 |
-
array(
|
555 |
-
'label' => __( 'Border size', 'woo-advanced-shipment-tracking' ),
|
556 |
-
'section' => 'ast_tracking_general_section',
|
557 |
-
'type' => 'select',
|
558 |
-
'choices' => array(
|
559 |
-
'' => __( 'Select', 'woocommerce' ),
|
560 |
-
'1' => '1 px',
|
561 |
-
'2' => '2 px',
|
562 |
-
'3' => '3 px',
|
563 |
-
'4' => '4 px',
|
564 |
-
'5' => '5 px',
|
565 |
-
),
|
566 |
-
'active_callback' => array( $this, 'active_callback_for_table_layout' ),
|
567 |
-
)
|
568 |
-
);
|
569 |
-
|
570 |
-
// Table Border size
|
571 |
-
$wp_customize->add_setting( 'tracking_info_settings[header_content_text_align]',
|
572 |
-
array(
|
573 |
-
'default' => $this->defaults['header_content_text_align'],
|
574 |
-
'transport' => 'postMessage',
|
575 |
-
'sanitize_callback' => '',
|
576 |
-
'type' => 'option',
|
577 |
-
)
|
578 |
-
);
|
579 |
-
$wp_customize->add_control( 'tracking_info_settings[header_content_text_align]',
|
580 |
-
array(
|
581 |
-
'label' => __( 'Text align', 'woo-advanced-shipment-tracking' ),
|
582 |
-
'section' => 'ast_tracking_general_section',
|
583 |
-
'type' => 'select',
|
584 |
-
'choices' => array(
|
585 |
-
'' => __( 'Select', 'woocommerce' ),
|
586 |
-
'left' => __( 'Left', '' ),
|
587 |
-
'right' => __( 'Right', '' ),
|
588 |
-
'center' => __( 'Center', '' )
|
589 |
-
),
|
590 |
-
'active_callback' => array( $this, 'active_callback_for_table_layout' ),
|
591 |
-
)
|
592 |
-
);
|
593 |
-
|
594 |
-
// Test of Toggle Switch Custom Control
|
595 |
-
$wp_customize->add_setting( 'tracking_info_settings[table_header_block]',
|
596 |
-
array(
|
597 |
-
'default' => '',
|
598 |
-
'transport' => 'postMessage',
|
599 |
-
'sanitize_callback' => '',
|
600 |
-
'type' => 'option',
|
601 |
-
)
|
602 |
-
);
|
603 |
-
$wp_customize->add_control( new WP_Customize_Heading_Control( $wp_customize, 'tracking_info_settings[table_header_block]',
|
604 |
-
array(
|
605 |
-
'label' => __( 'Table Header', 'woo-advanced-shipment-tracking' ),
|
606 |
-
'section' => 'ast_tracking_general_section',
|
607 |
-
'active_callback' => array( $this, 'active_callback_for_table_layout' ),
|
608 |
-
)
|
609 |
-
) );
|
610 |
-
|
611 |
-
// Show track label
|
612 |
-
$wp_customize->add_setting( 'tracking_info_settings[hide_table_header]',
|
613 |
-
array(
|
614 |
-
'default' => '',
|
615 |
-
'transport' => 'refresh',
|
616 |
-
'sanitize_callback' => '',
|
617 |
-
'type' => 'option',
|
618 |
-
)
|
619 |
-
);
|
620 |
-
$wp_customize->add_control( 'tracking_info_settings[hide_table_header]',
|
621 |
-
array(
|
622 |
-
'label' => __( 'Hide Table Headers', 'woo-advanced-shipment-tracking' ),
|
623 |
-
'description' => '',
|
624 |
-
'section' => 'ast_tracking_general_section',
|
625 |
-
'type' => 'checkbox',
|
626 |
-
'active_callback' => array( $this, 'active_callback_for_table_layout' ),
|
627 |
-
)
|
628 |
-
);
|
629 |
-
|
630 |
-
// Provider Header Text
|
631 |
-
$wp_customize->add_setting( 'tracking_info_settings[provider_header_text]',
|
632 |
-
array(
|
633 |
-
'default' => $this->defaults['provider_header_text'],
|
634 |
-
'transport' => 'postMessage',
|
635 |
-
'sanitize_callback' => '',
|
636 |
-
'type' => 'option',
|
637 |
-
)
|
638 |
-
);
|
639 |
-
$wp_customize->add_control( 'tracking_info_settings[provider_header_text]',
|
640 |
-
array(
|
641 |
-
'label' => __( 'Shipping provider header text', 'woo-advanced-shipment-tracking' ),
|
642 |
-
'description' => '',
|
643 |
-
'section' => 'ast_tracking_general_section',
|
644 |
-
'type' => 'text',
|
645 |
-
'input_attrs' => array(
|
646 |
-
'class' => '',
|
647 |
-
'style' => '',
|
648 |
-
'placeholder' => __( 'Provider', 'woo-advanced-shipment-tracking' ),
|
649 |
-
),
|
650 |
-
'active_callback' => array( $this, 'active_callback_for_table_layout_table_header' ),
|
651 |
-
)
|
652 |
-
);
|
653 |
-
|
654 |
-
// Tracking Number Header Text
|
655 |
-
$wp_customize->add_setting( 'tracking_info_settings[tracking_number_header_text]',
|
656 |
-
array(
|
657 |
-
'default' => $this->defaults['tracking_number_header_text'],
|
658 |
-
'transport' => 'postMessage',
|
659 |
-
'sanitize_callback' => '',
|
660 |
-
'type' => 'option',
|
661 |
-
)
|
662 |
-
);
|
663 |
-
$wp_customize->add_control( 'tracking_info_settings[tracking_number_header_text]',
|
664 |
-
array(
|
665 |
-
'label' => __( 'Tracking number header text', 'woo-advanced-shipment-tracking' ),
|
666 |
-
'description' => '',
|
667 |
-
'section' => 'ast_tracking_general_section',
|
668 |
-
'type' => 'text',
|
669 |
-
'input_attrs' => array(
|
670 |
-
'class' => '',
|
671 |
-
'style' => '',
|
672 |
-
'placeholder' => __( 'Tracking Number', 'woo-advanced-shipment-tracking' ),
|
673 |
-
),
|
674 |
-
'active_callback' => array( $this, 'active_callback_for_table_layout_table_header' ),
|
675 |
-
)
|
676 |
-
);
|
677 |
-
// Shipped Date Header Text
|
678 |
-
$wp_customize->add_setting( 'tracking_info_settings[shipped_date_header_text]',
|
679 |
-
array(
|
680 |
-
'default' => $this->defaults['shipped_date_header_text'],
|
681 |
-
'transport' => 'postMessage',
|
682 |
-
'sanitize_callback' => '',
|
683 |
-
'type' => 'option',
|
684 |
-
)
|
685 |
-
);
|
686 |
-
$wp_customize->add_control( 'tracking_info_settings[shipped_date_header_text]',
|
687 |
-
array(
|
688 |
-
'label' => __( 'Shipped date header text', 'woo-advanced-shipment-tracking' ),
|
689 |
-
'description' => '',
|
690 |
-
'section' => 'ast_tracking_general_section',
|
691 |
-
'type' => 'text',
|
692 |
-
'input_attrs' => array(
|
693 |
-
'class' => '',
|
694 |
-
'style' => '',
|
695 |
-
'placeholder' => __( 'Shipped Date', 'woo-advanced-shipment-tracking' ),
|
696 |
-
),
|
697 |
-
'active_callback' => array( $this, 'active_callback_for_table_layout_table_header' ),
|
698 |
-
)
|
699 |
-
);
|
700 |
-
|
701 |
-
// Table header font size
|
702 |
-
$wp_customize->add_setting( 'tracking_info_settings[table_header_font_size]',
|
703 |
-
array(
|
704 |
-
'default' => $this->defaults['table_header_font_size'],
|
705 |
-
'transport' => 'postMessage',
|
706 |
-
'sanitize_callback' => '',
|
707 |
-
'type' => 'option',
|
708 |
-
)
|
709 |
-
);
|
710 |
-
$wp_customize->add_control( 'tracking_info_settings[table_header_font_size]',
|
711 |
-
array(
|
712 |
-
'label' => __( 'Headers font size', 'woo-advanced-shipment-tracking' ),
|
713 |
-
'section' => 'ast_tracking_general_section',
|
714 |
-
'type' => 'select',
|
715 |
-
'choices' => $font_size_array,
|
716 |
-
'active_callback' => array( $this, 'active_callback_for_table_layout_table_header' ),
|
717 |
-
)
|
718 |
-
);
|
719 |
-
|
720 |
-
// Table header font color
|
721 |
-
$wp_customize->add_setting( 'tracking_info_settings[table_header_bg_color]',
|
722 |
-
array(
|
723 |
-
'default' => $this->defaults['table_header_bg_color'],
|
724 |
-
'transport' => 'postMessage',
|
725 |
-
'sanitize_callback' => '',
|
726 |
-
'type' => 'option',
|
727 |
-
)
|
728 |
-
);
|
729 |
-
$wp_customize->add_control( 'tracking_info_settings[table_header_bg_color]',
|
730 |
-
array(
|
731 |
-
'label' => __( 'Headers background color', 'woo-advanced-shipment-tracking' ),
|
732 |
-
'section' => 'ast_tracking_general_section',
|
733 |
-
'type' => 'color',
|
734 |
-
'active_callback' => array( $this, 'active_callback_for_table_layout_table_header' ),
|
735 |
-
)
|
736 |
-
);
|
737 |
-
|
738 |
-
// Table header font color
|
739 |
-
$wp_customize->add_setting( 'tracking_info_settings[table_header_font_color]',
|
740 |
-
array(
|
741 |
-
'default' => $this->defaults['table_header_font_color'],
|
742 |
-
'transport' => 'postMessage',
|
743 |
-
'sanitize_callback' => '',
|
744 |
-
'type' => 'option',
|
745 |
-
)
|
746 |
-
);
|
747 |
-
$wp_customize->add_control( 'tracking_info_settings[table_header_font_color]',
|
748 |
-
array(
|
749 |
-
'label' => __( 'Headers font color', 'woo-advanced-shipment-tracking' ),
|
750 |
-
'section' => 'ast_tracking_general_section',
|
751 |
-
'type' => 'color',
|
752 |
-
'active_callback' => array( $this, 'active_callback_for_table_layout_table_header' ),
|
753 |
-
)
|
754 |
-
);
|
755 |
-
|
756 |
-
// Table content font weight
|
757 |
-
$wp_customize->add_setting( 'tracking_info_settings[table_header_font_weight]',
|
758 |
-
array(
|
759 |
-
'default' => $this->defaults['table_header_font_weight'],
|
760 |
-
'transport' => 'postMessage',
|
761 |
-
'sanitize_callback' => '',
|
762 |
-
'type' => 'option',
|
763 |
-
)
|
764 |
-
);
|
765 |
-
$wp_customize->add_control( new AST_Slider_Custom_Control( $wp_customize, 'tracking_info_settings[table_header_font_weight]',
|
766 |
-
array(
|
767 |
-
'label' => __( 'Headers font weight', 'woo-advanced-shipment-tracking' ),
|
768 |
-
'section' => 'ast_tracking_general_section',
|
769 |
-
'input_attrs' => array(
|
770 |
-
'default' => $this->defaults['table_header_font_weight'],
|
771 |
-
'step' => 100,
|
772 |
-
'min' => 400,
|
773 |
-
'max' => 900,
|
774 |
-
),
|
775 |
-
'active_callback' => array( $this, 'active_callback_for_table_layout_table_header' ),
|
776 |
-
)
|
777 |
-
));
|
778 |
-
|
779 |
-
// Test of Toggle Switch Custom Control
|
780 |
-
$wp_customize->add_setting( 'table_header',
|
781 |
-
array(
|
782 |
-
'default' => '',
|
783 |
-
'transport' => 'postMessage',
|
784 |
-
'sanitize_callback' => '',
|
785 |
-
'type' => 'option',
|
786 |
-
)
|
787 |
-
);
|
788 |
-
$wp_customize->add_control( new WP_Customize_Heading_Control( $wp_customize, 'table_header',
|
789 |
-
array(
|
790 |
-
'label' => __( 'Table Content', 'woo-advanced-shipment-tracking' ),
|
791 |
-
'section' => 'ast_tracking_general_section',
|
792 |
-
'active_callback' => array( $this, 'active_callback_for_table_layout' ),
|
793 |
-
)
|
794 |
-
) );
|
795 |
-
|
796 |
-
// Table Background color
|
797 |
-
$wp_customize->add_setting( 'tracking_info_settings[table_bg_color]',
|
798 |
-
array(
|
799 |
-
'default' => $this->defaults['table_bg_color'],
|
800 |
-
'transport' => 'postMessage',
|
801 |
-
'sanitize_callback' => 'sanitize_hex_color',
|
802 |
-
'type' => 'option',
|
803 |
-
)
|
804 |
-
);
|
805 |
-
$wp_customize->add_control( 'tracking_info_settings[table_bg_color]',
|
806 |
-
array(
|
807 |
-
'label' => __( 'Content Background color', 'woo-advanced-shipment-tracking' ),
|
808 |
-
'section' => 'ast_tracking_general_section',
|
809 |
-
'type' => 'color',
|
810 |
-
'active_callback' => array( $this, 'active_callback_for_table_layout' ),
|
811 |
-
)
|
812 |
-
);
|
813 |
-
|
814 |
-
// Table content font color
|
815 |
-
$wp_customize->add_setting( 'tracking_info_settings[table_content_font_color]',
|
816 |
-
array(
|
817 |
-
'default' => $this->defaults['table_content_font_color'],
|
818 |
-
'transport' => 'postMessage',
|
819 |
-
'sanitize_callback' => '',
|
820 |
-
'type' => 'option',
|
821 |
-
)
|
822 |
-
);
|
823 |
-
$wp_customize->add_control( 'tracking_info_settings[table_content_font_color]',
|
824 |
-
array(
|
825 |
-
'label' => __( 'Content font color', 'woo-advanced-shipment-tracking' ),
|
826 |
-
'section' => 'ast_tracking_general_section',
|
827 |
-
'type' => 'color',
|
828 |
-
'active_callback' => array( $this, 'active_callback_for_table_layout' ),
|
829 |
-
)
|
830 |
-
);
|
831 |
-
|
832 |
-
// Table content font size
|
833 |
-
$wp_customize->add_setting( 'tracking_info_settings[table_content_font_size]',
|
834 |
-
array(
|
835 |
-
'default' => $this->defaults['table_content_font_size'],
|
836 |
-
'transport' => 'postMessage',
|
837 |
-
'sanitize_callback' => '',
|
838 |
-
'type' => 'option',
|
839 |
-
)
|
840 |
-
);
|
841 |
-
$wp_customize->add_control( 'tracking_info_settings[table_content_font_size]',
|
842 |
-
array(
|
843 |
-
'label' => __( 'Content font size', 'woo-advanced-shipment-tracking' ),
|
844 |
-
'section' => 'ast_tracking_general_section',
|
845 |
-
'type' => 'select',
|
846 |
-
'choices' => $font_size_array,
|
847 |
-
'active_callback' => array( $this, 'active_callback_for_table_layout' ),
|
848 |
-
)
|
849 |
-
);
|
850 |
-
|
851 |
-
// Table content line height
|
852 |
-
$wp_customize->add_setting( 'tracking_info_settings[table_content_line_height]',
|
853 |
-
array(
|
854 |
-
'default' => $this->defaults['table_content_line_height'],
|
855 |
-
'transport' => 'postMessage',
|
856 |
-
'sanitize_callback' => '',
|
857 |
-
'type' => 'option',
|
858 |
-
)
|
859 |
-
);
|
860 |
-
$wp_customize->add_control( new AST_Slider_Custom_Control( $wp_customize, 'tracking_info_settings[table_content_line_height]',
|
861 |
-
array(
|
862 |
-
'label' => __( 'Content line height', 'woo-advanced-shipment-tracking' ),
|
863 |
-
'section' => 'ast_tracking_general_section',
|
864 |
-
'input_attrs' => array(
|
865 |
-
'default' => $this->defaults['table_content_line_height'],
|
866 |
-
'step' => 1,
|
867 |
-
'min' => 20,
|
868 |
-
'max' => 90,
|
869 |
-
),
|
870 |
-
'active_callback' => array( $this, 'active_callback_for_table_layout' ),
|
871 |
-
)
|
872 |
-
));
|
873 |
-
|
874 |
-
// Table content font weight
|
875 |
-
$wp_customize->add_setting( 'tracking_info_settings[table_content_font_weight]',
|
876 |
-
array(
|
877 |
-
'default' => $this->defaults['table_content_font_weight'],
|
878 |
-
'transport' => 'postMessage',
|
879 |
-
'sanitize_callback' => '',
|
880 |
-
'type' => 'option',
|
881 |
-
)
|
882 |
-
);
|
883 |
-
$wp_customize->add_control( new AST_Slider_Custom_Control( $wp_customize, 'tracking_info_settings[table_content_font_weight]',
|
884 |
-
array(
|
885 |
-
'label' => __( 'Content font weight', 'woo-advanced-shipment-tracking' ),
|
886 |
-
'section' => 'ast_tracking_general_section',
|
887 |
-
'input_attrs' => array(
|
888 |
-
'default' => $this->defaults['table_content_font_weight'],
|
889 |
-
'step' => 100,
|
890 |
-
'min' => 400,
|
891 |
-
'max' => 900,
|
892 |
-
),
|
893 |
-
'active_callback' => array( $this, 'active_callback_for_table_layout' ),
|
894 |
-
)
|
895 |
-
));
|
896 |
-
|
897 |
-
$wp_customize->add_setting( 'tracking_info_settings[shipment_link_header]',
|
898 |
-
array(
|
899 |
-
'default' => '',
|
900 |
-
'transport' => 'postMessage',
|
901 |
-
'sanitize_callback' => '',
|
902 |
-
'type' => 'option',
|
903 |
-
)
|
904 |
-
);
|
905 |
-
|
906 |
-
$wp_customize->add_control( new WP_Customize_Heading_Control( $wp_customize, 'tracking_info_settings[shipment_link_header]',
|
907 |
-
array(
|
908 |
-
'label' => __( 'Track Button', 'woo-advanced-shipment-tracking' ),
|
909 |
-
'section' => 'ast_tracking_general_section',
|
910 |
-
'active_callback' => array( $this, 'active_callback_for_table_layout_tracking_link' ),
|
911 |
-
)
|
912 |
-
) );
|
913 |
-
|
914 |
-
// Show track label
|
915 |
-
$wp_customize->add_setting( 'tracking_info_settings[show_track_label]',
|
916 |
-
array(
|
917 |
-
'default' => $this->defaults['show_track_label'],
|
918 |
-
'transport' => 'refresh',
|
919 |
-
'sanitize_callback' => '',
|
920 |
-
'type' => 'option',
|
921 |
-
)
|
922 |
-
);
|
923 |
-
$wp_customize->add_control( 'tracking_info_settings[show_track_label]',
|
924 |
-
array(
|
925 |
-
'label' => __( 'Track Header', 'woo-advanced-shipment-tracking' ),
|
926 |
-
'description' => '',
|
927 |
-
'section' => 'ast_tracking_general_section',
|
928 |
-
'type' => 'checkbox',
|
929 |
-
'active_callback' => array( $this, 'active_callback_for_table_layout_tracking_link' ),
|
930 |
-
)
|
931 |
-
);
|
932 |
-
|
933 |
-
// Track Header Text
|
934 |
-
$wp_customize->add_setting( 'tracking_info_settings[track_header_text]',
|
935 |
-
array(
|
936 |
-
'default' => $this->defaults['track_header_text'],
|
937 |
-
'transport' => 'postMessage',
|
938 |
-
'sanitize_callback' => '',
|
939 |
-
'type' => 'option',
|
940 |
-
)
|
941 |
-
);
|
942 |
-
$wp_customize->add_control( 'tracking_info_settings[track_header_text]',
|
943 |
-
array(
|
944 |
-
'label' => __( 'Track header text', 'woo-advanced-shipment-tracking' ),
|
945 |
-
'description' => '',
|
946 |
-
'section' => 'ast_tracking_general_section',
|
947 |
-
'type' => 'text',
|
948 |
-
'input_attrs' => array(
|
949 |
-
'class' => '',
|
950 |
-
'style' => '',
|
951 |
-
'placeholder' => __( 'Track', 'woo-advanced-shipment-tracking' ),
|
952 |
-
),
|
953 |
-
'active_callback' => array( $this, 'active_callback_for_table_layout_tracking_link_track_header' ),
|
954 |
-
)
|
955 |
-
);
|
956 |
-
|
957 |
-
// Tracking link background color
|
958 |
-
$wp_customize->add_setting( 'tracking_info_settings[tracking_link_bg_color]',
|
959 |
-
array(
|
960 |
-
'default' => $this->defaults['tracking_link_bg_color'],
|
961 |
-
'transport' => 'postMessage',
|
962 |
-
'sanitize_callback' => '',
|
963 |
-
'type' => 'option',
|
964 |
-
)
|
965 |
-
);
|
966 |
-
$wp_customize->add_control( 'tracking_info_settings[tracking_link_bg_color]',
|
967 |
-
array(
|
968 |
-
'label' => __( 'Button color', 'woo-advanced-shipment-tracking' ),
|
969 |
-
'section' => 'ast_tracking_general_section',
|
970 |
-
'type' => 'color',
|
971 |
-
'active_callback' => array( $this, 'active_callback_for_table_layout_tracking_link' ),
|
972 |
-
)
|
973 |
-
);
|
974 |
-
|
975 |
-
// Tracking link font color
|
976 |
-
$wp_customize->add_setting( 'tracking_info_settings[tracking_link_font_color]',
|
977 |
-
array(
|
978 |
-
'default' => $this->defaults['tracking_link_font_color'],
|
979 |
-
'transport' => 'postMessage',
|
980 |
-
'sanitize_callback' => '',
|
981 |
-
'type' => 'option',
|
982 |
-
)
|
983 |
-
);
|
984 |
-
$wp_customize->add_control( 'tracking_info_settings[tracking_link_font_color]',
|
985 |
-
array(
|
986 |
-
'label' => __( 'Button font color', 'woo-advanced-shipment-tracking' ),
|
987 |
-
'section' => 'ast_tracking_general_section',
|
988 |
-
'type' => 'color',
|
989 |
-
'active_callback' => array( $this, 'active_callback_for_table_layout_tracking_link' ),
|
990 |
-
)
|
991 |
-
);
|
992 |
-
}
|
993 |
-
|
994 |
-
|
995 |
-
public function active_callback_for_hide_trackig_header() {
|
996 |
-
$ast = new WC_Advanced_Shipment_Tracking_Actions();
|
997 |
-
$hide_trackig_header = $ast->get_option_value_from_array( 'tracking_info_settings', 'hide_trackig_header', '' );
|
998 |
-
return ( !$hide_trackig_header ) ? true : false ;
|
999 |
-
}
|
1000 |
-
|
1001 |
-
public function active_callback_for_table_layout() {
|
1002 |
-
|
1003 |
-
$fluid_template = apply_filters( 'check_if_fluid_template_exist', false );
|
1004 |
-
if ( $fluid_template ) {
|
1005 |
-
return false;
|
1006 |
-
}
|
1007 |
-
|
1008 |
-
$ast = new WC_Advanced_Shipment_Tracking_Actions();
|
1009 |
-
$select_tracking_template = $ast->get_option_value_from_array( 'tracking_info_settings', 'select_tracking_template', $this->defaults['select_tracking_template'] );
|
1010 |
-
|
1011 |
-
return ( 'default_table' == $select_tracking_template ) ? true : false ;
|
1012 |
-
}
|
1013 |
-
|
1014 |
-
public function active_callback_for_table_layout_table_header() {
|
1015 |
-
|
1016 |
-
$fluid_template = apply_filters( 'check_if_fluid_template_exist', false );
|
1017 |
-
if ( $fluid_template ) {
|
1018 |
-
return false;
|
1019 |
-
}
|
1020 |
-
|
1021 |
-
$ast = new WC_Advanced_Shipment_Tracking_Actions();
|
1022 |
-
$select_tracking_template = $ast->get_option_value_from_array( 'tracking_info_settings', 'select_tracking_template', $this->defaults['select_tracking_template'] );
|
1023 |
-
$hide_table_header = $ast->get_option_value_from_array( 'tracking_info_settings', 'hide_table_header', '' );
|
1024 |
-
|
1025 |
-
return ( 'default_table' == $select_tracking_template && !$hide_table_header ) ? true : false ;
|
1026 |
-
}
|
1027 |
-
|
1028 |
-
public function active_callback_for_table_layout_tracking_link() {
|
1029 |
-
|
1030 |
-
$fluid_template = apply_filters( 'check_if_fluid_template_exist', false );
|
1031 |
-
if ( $fluid_template ) {
|
1032 |
-
return false;
|
1033 |
-
}
|
1034 |
-
|
1035 |
-
$ast = new WC_Advanced_Shipment_Tracking_Actions();
|
1036 |
-
$select_tracking_template = $ast->get_option_value_from_array( 'tracking_info_settings', 'select_tracking_template', $this->defaults['select_tracking_template'] );
|
1037 |
-
$tracking_number_link = $ast->get_option_value_from_array( 'tracking_info_settings', 'tracking_number_link', '' );
|
1038 |
-
|
1039 |
-
return ( 'default_table' == $select_tracking_template && !$tracking_number_link ) ? true : false ;
|
1040 |
-
}
|
1041 |
-
|
1042 |
-
public function active_callback_for_table_layout_tracking_link_track_header() {
|
1043 |
-
|
1044 |
-
$fluid_template = apply_filters( 'check_if_fluid_template_exist', false );
|
1045 |
-
if ( $fluid_template ) {
|
1046 |
-
return false;
|
1047 |
-
}
|
1048 |
-
|
1049 |
-
$ast = new WC_Advanced_Shipment_Tracking_Actions();
|
1050 |
-
$select_tracking_template = $ast->get_option_value_from_array( 'tracking_info_settings', 'select_tracking_template', $this->defaults['select_tracking_template'] );
|
1051 |
-
$tracking_number_link = $ast->get_option_value_from_array( 'tracking_info_settings', 'tracking_number_link', '' );
|
1052 |
-
$show_track_label = $ast->get_option_value_from_array( 'tracking_info_settings', 'show_track_label', '' );
|
1053 |
-
|
1054 |
-
return ( 'default_table' == $select_tracking_template && !$tracking_number_link && $show_track_label ) ? true : false ;
|
1055 |
-
}
|
1056 |
-
|
1057 |
-
public function active_callback_for_simple_layout() {
|
1058 |
-
|
1059 |
-
$fluid_template = apply_filters( 'check_if_fluid_template_exist', false );
|
1060 |
-
if ( $fluid_template ) {
|
1061 |
-
return false;
|
1062 |
-
}
|
1063 |
-
|
1064 |
-
$ast = new WC_Advanced_Shipment_Tracking_Actions();
|
1065 |
-
$select_tracking_template = $ast->get_option_value_from_array( 'tracking_info_settings', 'select_tracking_template', $this->defaults['select_tracking_template'] );
|
1066 |
-
|
1067 |
-
return ( 'simple_list' == $select_tracking_template ) ? true : false ;
|
1068 |
-
}
|
1069 |
-
|
1070 |
-
public function active_callback_for_simple_layout_show_provider_border() {
|
1071 |
-
|
1072 |
-
$fluid_template = apply_filters( 'check_if_fluid_template_exist', false );
|
1073 |
-
if ( $fluid_template ) {
|
1074 |
-
return false;
|
1075 |
-
}
|
1076 |
-
|
1077 |
-
$ast = new WC_Advanced_Shipment_Tracking_Actions();
|
1078 |
-
$select_tracking_template = $ast->get_option_value_from_array( 'tracking_info_settings', 'select_tracking_template', $this->defaults['select_tracking_template'] );
|
1079 |
-
$show_provider_border = $ast->get_option_value_from_array( 'tracking_info_settings', 'show_provider_border', $this->defaults['show_provider_border'] );
|
1080 |
-
|
1081 |
-
return ( 'simple_list' == $select_tracking_template && $show_provider_border ) ? true : false ;
|
1082 |
-
}
|
1083 |
-
|
1084 |
-
/**
|
1085 |
-
* Set up preview
|
1086 |
-
*
|
1087 |
-
* @return void
|
1088 |
-
*/
|
1089 |
-
public function set_up_preview() {
|
1090 |
-
// Make sure this is own preview request.
|
1091 |
-
if ( ! $this->is_own_preview_request() ) {
|
1092 |
-
return;
|
1093 |
-
}
|
1094 |
-
include wc_advanced_shipment_tracking()->get_plugin_path() . '/includes/customizer/preview/preview.php';
|
1095 |
-
exit;
|
1096 |
-
}
|
1097 |
-
|
1098 |
-
/**
|
1099 |
-
* Code for preview of tracking info in email
|
1100 |
-
*/
|
1101 |
-
public function preview_completed_email() {
|
1102 |
-
|
1103 |
-
$ast = WC_Advanced_Shipment_Tracking_Actions::get_instance();
|
1104 |
-
|
1105 |
-
$tracking_info_settings = get_option('tracking_info_settings');
|
1106 |
-
|
1107 |
-
if ( 'after_order' == $tracking_info_settings['display_tracking_info_at'] ) {
|
1108 |
-
add_action( 'woocommerce_email_order_meta', array( $ast, 'email_display' ), 0, 4 );
|
1109 |
-
} else {
|
1110 |
-
add_action( 'woocommerce_email_before_order_table', array( $ast, 'email_display' ), 0, 4 );
|
1111 |
-
}
|
1112 |
-
|
1113 |
-
// Load WooCommerce emails.
|
1114 |
-
$wc_emails = WC_Emails::instance();
|
1115 |
-
$emails = $wc_emails->get_emails();
|
1116 |
-
$email_template = 'customer_completed_order';
|
1117 |
-
$preview_id = 'mockup';
|
1118 |
-
$email_type = 'WC_Email_Customer_Completed_Order';
|
1119 |
-
|
1120 |
-
if ( false === $email_type ) {
|
1121 |
-
return false;
|
1122 |
-
}
|
1123 |
-
|
1124 |
-
$order_status = 'completed';
|
1125 |
-
|
1126 |
-
// Reference email.
|
1127 |
-
if ( isset( $emails[ $email_type ] ) && is_object( $emails[ $email_type ] ) ) {
|
1128 |
-
$email = $emails[ $email_type ];
|
1129 |
-
}
|
1130 |
-
|
1131 |
-
// Get an order
|
1132 |
-
$order = wcast_customizer()->get_wc_order_for_preview( $order_status, $preview_id );
|
1133 |
-
|
1134 |
-
// Make sure gateways are running in case the email needs to input content from them.
|
1135 |
-
WC()->payment_gateways();
|
1136 |
-
// Make sure shipping is running in case the email needs to input content from it.
|
1137 |
-
WC()->shipping();
|
1138 |
-
|
1139 |
-
$email->object = $order;
|
1140 |
-
$email->find['order-date'] = '{order_date}';
|
1141 |
-
$email->find['order-number'] = '{order_number}';
|
1142 |
-
if ( is_object( $order ) ) {
|
1143 |
-
$email->replace['order-date'] = wc_format_datetime( $email->object->get_date_created() );
|
1144 |
-
$email->replace['order-number'] = $email->object->get_order_number();
|
1145 |
-
// Other properties
|
1146 |
-
$email->recipient = $email->object->get_billing_email();
|
1147 |
-
}
|
1148 |
-
// Get email content and apply styles.
|
1149 |
-
$content = $email->get_content();
|
1150 |
-
$content = $email->style_inline( $content );
|
1151 |
-
$content = apply_filters( 'woocommerce_mail_content', $content );
|
1152 |
-
|
1153 |
-
if ( 'plain' === $email->email_type ) {
|
1154 |
-
$content = '<div style="padding: 35px 40px; background-color: white;">' . str_replace( "\n", '<br/>', $content ) . '</div>';
|
1155 |
-
}
|
1156 |
-
echo wp_kses_post( $content );
|
1157 |
-
}
|
1158 |
-
}
|
1159 |
-
/**
|
1160 |
-
* Initialise our Customizer settings
|
1161 |
-
*/
|
1162 |
-
|
1163 |
-
$wcast_customizer_settings = new Wcast_Initialise_Customizer_Settings();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/customizer/class-wc-updated-tracking-email-customizer.php
DELETED
@@ -1,420 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Customizer Setup and Custom Controls
|
4 |
-
*
|
5 |
-
*/
|
6 |
-
|
7 |
-
/**
|
8 |
-
* Adds the individual sections, settings, and controls to the theme customizer
|
9 |
-
*/
|
10 |
-
class Wcast_Updated_Tracking_Customizer_Email {
|
11 |
-
// Get our default values
|
12 |
-
public function __construct() {
|
13 |
-
// Get our Customizer defaults
|
14 |
-
$this->defaults = $this->wcast_generate_defaults();
|
15 |
-
|
16 |
-
// Register our sample default controls
|
17 |
-
add_action( 'customize_register', array( $this, 'wcast_register_sample_default_controls' ) );
|
18 |
-
|
19 |
-
// Only proceed if this is own request.
|
20 |
-
if ( ! $this->is_own_customizer_request() && ! $this->is_own_preview_request() ) {
|
21 |
-
return;
|
22 |
-
}
|
23 |
-
|
24 |
-
// Register our sections
|
25 |
-
add_action( 'customize_register', array( wcast_customizer(), 'wcast_add_customizer_sections' ) );
|
26 |
-
|
27 |
-
// Remove unrelated components.
|
28 |
-
add_filter( 'customize_loaded_components', array( wcast_customizer(), 'remove_unrelated_components' ), 99, 2 );
|
29 |
-
|
30 |
-
// Remove unrelated sections.
|
31 |
-
add_filter( 'customize_section_active', array( wcast_customizer(), 'remove_unrelated_sections' ), 10, 2 );
|
32 |
-
|
33 |
-
// Unhook divi front end.
|
34 |
-
add_action( 'woomail_footer', array( wcast_customizer(), 'unhook_divi' ), 10 );
|
35 |
-
|
36 |
-
// Unhook Flatsome js
|
37 |
-
add_action( 'customize_preview_init', array( wcast_customizer(), 'unhook_flatsome' ), 50 );
|
38 |
-
|
39 |
-
add_filter( 'customize_controls_enqueue_scripts', array( wcast_customizer(), 'enqueue_customizer_scripts' ) );
|
40 |
-
|
41 |
-
add_action( 'parse_request', array( $this, 'set_up_preview' ) );
|
42 |
-
|
43 |
-
add_action( 'customize_preview_init', array( $this, 'enqueue_preview_scripts' ) );
|
44 |
-
}
|
45 |
-
|
46 |
-
public function enqueue_preview_scripts() {
|
47 |
-
wp_enqueue_script('wcast-email-preview-scripts', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/js/preview-scripts.js', array('jquery', 'customize-preview'), wc_advanced_shipment_tracking()->version, true);
|
48 |
-
wp_enqueue_style('wcast-preview-styles', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/preview-styles.css', array(), wc_advanced_shipment_tracking()->version );
|
49 |
-
// Send variables to Javascript
|
50 |
-
$preview_id = get_theme_mod('wcast_updated_tracking_preview_order_id');
|
51 |
-
wp_localize_script('wcast-email-preview-scripts', 'wcast_preview', array(
|
52 |
-
'site_title' => $this->get_blogname(),
|
53 |
-
'order_number' => $preview_id,
|
54 |
-
));
|
55 |
-
}
|
56 |
-
|
57 |
-
/**
|
58 |
-
* Get blog name formatted for emails.
|
59 |
-
*
|
60 |
-
* @return string
|
61 |
-
*/
|
62 |
-
public function get_blogname() {
|
63 |
-
return wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES );
|
64 |
-
}
|
65 |
-
|
66 |
-
/**
|
67 |
-
* Checks to see if we are opening our custom customizer preview
|
68 |
-
*
|
69 |
-
* @return bool
|
70 |
-
*/
|
71 |
-
public function is_own_preview_request() {
|
72 |
-
return isset( $_REQUEST['wcast-updated-tracking-email-customizer-preview'] ) && '1' === $_REQUEST['wcast-updated-tracking-email-customizer-preview'];
|
73 |
-
}
|
74 |
-
|
75 |
-
/**
|
76 |
-
* Checks to see if we are opening our custom customizer controls
|
77 |
-
*
|
78 |
-
* @return bool
|
79 |
-
*/
|
80 |
-
public function is_own_customizer_request() {
|
81 |
-
return isset( $_REQUEST['email'] ) && 'custom_order_status_email' === $_REQUEST['email'];
|
82 |
-
}
|
83 |
-
|
84 |
-
/**
|
85 |
-
* Get Customizer URL
|
86 |
-
*
|
87 |
-
*/
|
88 |
-
public function get_customizer_url( $email, $order_status ) {
|
89 |
-
return add_query_arg( array(
|
90 |
-
'wcast-customizer' => '1',
|
91 |
-
'email' => $email,
|
92 |
-
'order_status' => $order_status,
|
93 |
-
'autofocus[section]' => 'custom_order_status_email',
|
94 |
-
'url' => urlencode( add_query_arg( array( 'wcast-updated-tracking-email-customizer-preview' => '1' ), home_url( '/' ) ) ),
|
95 |
-
'return' => urlencode( $this->get_email_settings_page_url() ),
|
96 |
-
), admin_url( 'customize.php' ) );
|
97 |
-
}
|
98 |
-
|
99 |
-
/**
|
100 |
-
* Get WooCommerce email settings page URL
|
101 |
-
*
|
102 |
-
* @return string
|
103 |
-
*/
|
104 |
-
public function get_email_settings_page_url() {
|
105 |
-
return admin_url( 'admin.php?page=woocommerce-advanced-shipment-tracking' );
|
106 |
-
}
|
107 |
-
|
108 |
-
/**
|
109 |
-
* Code for initialize default value for customizer
|
110 |
-
*/
|
111 |
-
public function wcast_generate_defaults() {
|
112 |
-
$customizer_defaults = array(
|
113 |
-
'wcast_updated_tracking_email_subject' => __( 'Your {site_title} order is now updated tracking', 'woo-advanced-shipment-tracking' ),
|
114 |
-
'wcast_updated_tracking_email_heading' => __( 'Tracking information Update', 'woocommerce' ),
|
115 |
-
'wcast_updated_tracking_email_content' => __( "Hi there. we thought you'd like to know that the shipment tracking for your recent order from {site_title} has been updated.", 'woo-advanced-shipment-tracking' ),
|
116 |
-
'wcast_enable_updated_tracking_email' => 'no',
|
117 |
-
);
|
118 |
-
|
119 |
-
return apply_filters( 'ast_customizer_defaults', $customizer_defaults );
|
120 |
-
}
|
121 |
-
|
122 |
-
/**
|
123 |
-
* Register our sample default controls
|
124 |
-
*/
|
125 |
-
public function wcast_register_sample_default_controls( $wp_customize ) {
|
126 |
-
/**
|
127 |
-
* Load all our Customizer Custom Controls
|
128 |
-
*/
|
129 |
-
require_once trailingslashit( dirname(__FILE__) ) . 'custom-controls.php';
|
130 |
-
|
131 |
-
// Display Shipment Provider image/thumbnail
|
132 |
-
$wp_customize->add_setting( 'customizer_updated_tracking_order_settings_enabled',
|
133 |
-
array(
|
134 |
-
'default' => $this->defaults['wcast_enable_updated_tracking_email'],
|
135 |
-
'transport' => 'postMessage',
|
136 |
-
'type' => 'option',
|
137 |
-
'sanitize_callback' => ''
|
138 |
-
)
|
139 |
-
);
|
140 |
-
$wp_customize->add_control( 'customizer_updated_tracking_order_settings_enabled',
|
141 |
-
array(
|
142 |
-
'label' => __( 'Enable Updated Tracking order status email', 'woo-advanced-shipment-tracking' ),
|
143 |
-
'description' => '',
|
144 |
-
'section' => 'custom_order_status_email',
|
145 |
-
'type' => 'checkbox',
|
146 |
-
'active_callback' => array( $this, 'active_callback' ),
|
147 |
-
)
|
148 |
-
);
|
149 |
-
|
150 |
-
// Header Text
|
151 |
-
$wp_customize->add_setting( 'woocommerce_customer_updated_tracking_order_settings[subject]',
|
152 |
-
array(
|
153 |
-
'default' => $this->defaults['wcast_updated_tracking_email_subject'],
|
154 |
-
'transport' => 'postMessage',
|
155 |
-
'type' => 'option',
|
156 |
-
'sanitize_callback' => ''
|
157 |
-
)
|
158 |
-
);
|
159 |
-
$wp_customize->add_control( 'woocommerce_customer_updated_tracking_order_settings[subject]',
|
160 |
-
array(
|
161 |
-
'label' => __( 'Subject', 'woocommerce' ),
|
162 |
-
'description' => esc_html__( 'Available variables:', 'woo-advanced-shipment-tracking' ) . ' {site_title}, {order_number}',
|
163 |
-
'section' => 'custom_order_status_email',
|
164 |
-
'type' => 'text',
|
165 |
-
'input_attrs' => array(
|
166 |
-
'class' => '',
|
167 |
-
'style' => '',
|
168 |
-
'placeholder' => __( $this->defaults['wcast_updated_tracking_email_subject'], 'woo-advanced-shipment-tracking' ),
|
169 |
-
),
|
170 |
-
'active_callback' => array( $this, 'active_callback' ),
|
171 |
-
)
|
172 |
-
);
|
173 |
-
|
174 |
-
// Header Text
|
175 |
-
$wp_customize->add_setting( 'woocommerce_customer_updated_tracking_order_settings[heading]',
|
176 |
-
array(
|
177 |
-
'default' => $this->defaults['wcast_updated_tracking_email_heading'],
|
178 |
-
'transport' => 'postMessage',
|
179 |
-
'type' => 'option',
|
180 |
-
'sanitize_callback' => ''
|
181 |
-
)
|
182 |
-
);
|
183 |
-
$wp_customize->add_control( 'woocommerce_customer_updated_tracking_order_settings[heading]',
|
184 |
-
array(
|
185 |
-
'label' => __( 'Email heading', 'woocommerce' ),
|
186 |
-
'description' => esc_html__( 'Available variables:', 'woo-advanced-shipment-tracking' ) . ' {site_title}, {order_number}',
|
187 |
-
'section' => 'custom_order_status_email',
|
188 |
-
'type' => 'text',
|
189 |
-
'input_attrs' => array(
|
190 |
-
'class' => '',
|
191 |
-
'style' => '',
|
192 |
-
'placeholder' => __( $this->defaults['wcast_updated_tracking_email_heading'], 'woo-advanced-shipment-tracking' ),
|
193 |
-
),
|
194 |
-
'active_callback' => array( $this, 'active_callback' ),
|
195 |
-
)
|
196 |
-
);
|
197 |
-
|
198 |
-
|
199 |
-
// Test of TinyMCE control
|
200 |
-
$wp_customize->add_setting( 'woocommerce_customer_updated_tracking_order_settings[wcast_updated_tracking_email_content]',
|
201 |
-
array(
|
202 |
-
'default' => $this->defaults['wcast_updated_tracking_email_content'],
|
203 |
-
'transport' => 'refresh',
|
204 |
-
'type' => 'option',
|
205 |
-
'sanitize_callback' => 'wp_kses_post'
|
206 |
-
)
|
207 |
-
);
|
208 |
-
$wp_customize->add_control( new AST_TinyMCE_Custom_control( $wp_customize, 'woocommerce_customer_updated_tracking_order_settings[wcast_updated_tracking_email_content]',
|
209 |
-
array(
|
210 |
-
'label' => __( 'Email content', 'woo-advanced-shipment-tracking' ),
|
211 |
-
'description' => __( 'Available variables:', 'woo-advanced-shipment-tracking' ) . ' {site_title}, {customer_email}, {customer_first_name}, {customer_last_name}, {customer_username}, {order_number}',
|
212 |
-
'section' => 'custom_order_status_email',
|
213 |
-
'input_attrs' => array(
|
214 |
-
'toolbar1' => 'bold italic bullist numlist alignleft aligncenter alignright link',
|
215 |
-
'mediaButtons' => true,
|
216 |
-
'placeholder' => __( $this->defaults['wcast_updated_tracking_email_content'], 'woo-advanced-shipment-tracking' ),
|
217 |
-
),
|
218 |
-
'active_callback' => array( $this, 'active_callback' ),
|
219 |
-
)
|
220 |
-
) );
|
221 |
-
|
222 |
-
$wp_customize->add_setting( 'wcast_updated_tracking_code_block',
|
223 |
-
array(
|
224 |
-
'default' => '',
|
225 |
-
'transport' => 'postMessage',
|
226 |
-
'sanitize_callback' => ''
|
227 |
-
)
|
228 |
-
);
|
229 |
-
$wp_customize->add_control( new WP_Customize_codeinfoblock_Control( $wp_customize, 'wcast_updated_tracking_code_block',
|
230 |
-
array(
|
231 |
-
'label' => __( 'Available variables:', 'woo-advanced-shipment-tracking' ),
|
232 |
-
'description' => '<code>{site_title}<br>{customer_email}<br>{customer_first_name}<br>{customer_last_name}<br>{customer_company_name}<br>{customer_username}<br>{order_number}</code>',
|
233 |
-
'section' => 'custom_order_status_email',
|
234 |
-
'active_callback' => array( $this, 'active_callback' ),
|
235 |
-
)
|
236 |
-
) );
|
237 |
-
}
|
238 |
-
|
239 |
-
public function active_callback() {
|
240 |
-
return ( $this->is_own_preview_request() ) ? true : false ;
|
241 |
-
}
|
242 |
-
|
243 |
-
/**
|
244 |
-
* Set up preview
|
245 |
-
*
|
246 |
-
* @return void
|
247 |
-
*/
|
248 |
-
public function set_up_preview() {
|
249 |
-
// Make sure this is own preview request.
|
250 |
-
if ( ! $this->is_own_preview_request() ) {
|
251 |
-
return;
|
252 |
-
}
|
253 |
-
include wc_advanced_shipment_tracking()->get_plugin_path() . '/includes/customizer/preview/updated_tracking_preview.php';
|
254 |
-
exit;
|
255 |
-
}
|
256 |
-
|
257 |
-
/**
|
258 |
-
* Code for preview of delivered order status email
|
259 |
-
*/
|
260 |
-
public function preview_updated_tracking_email() {
|
261 |
-
// Load WooCommerce emails.
|
262 |
-
$wc_emails = WC_Emails::instance();
|
263 |
-
$emails = $wc_emails->get_emails();
|
264 |
-
$preview_id = get_theme_mod('wcast_email_preview_order_id');
|
265 |
-
|
266 |
-
if ( '' == $preview_id || 'mockup' == $preview_id ) {
|
267 |
-
$content = '<div style="padding: 35px 40px; background-color: white;">' . __( 'Please select order to preview.', 'woo-advanced-shipment-tracking' ) . '</div>';
|
268 |
-
echo wp_kses_post( $content );
|
269 |
-
return;
|
270 |
-
}
|
271 |
-
|
272 |
-
$order = wc_get_order( $preview_id );
|
273 |
-
|
274 |
-
if ( !$order ) {
|
275 |
-
$content = '<div style="padding: 35px 40px; background-color: white;">' . __( 'Please select order to preview.', 'woo-advanced-shipment-tracking' ) . '</div>';
|
276 |
-
echo wp_kses_post( $content );
|
277 |
-
return;
|
278 |
-
}
|
279 |
-
|
280 |
-
$email_type = 'WC_Email_Customer_Updated_Tracking_Order';
|
281 |
-
|
282 |
-
if ( false === $email_type ) {
|
283 |
-
return false;
|
284 |
-
}
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
// Reference email.
|
289 |
-
if ( isset( $emails[ $email_type ] ) && is_object( $emails[ $email_type ] ) ) {
|
290 |
-
$email = $emails[ $email_type ];
|
291 |
-
}
|
292 |
-
$order_status = 'updated-tracking';
|
293 |
-
// Get an order
|
294 |
-
$order = $this->get_wc_order_for_preview( $order_status, $preview_id );
|
295 |
-
|
296 |
-
// Make sure gateways are running in case the email needs to input content from them.
|
297 |
-
WC()->payment_gateways();
|
298 |
-
// Make sure shipping is running in case the email needs to input content from it.
|
299 |
-
WC()->shipping();
|
300 |
-
|
301 |
-
$email->object = $order;
|
302 |
-
$email->find['order-date'] = '{order_date}';
|
303 |
-
$email->find['order-number'] = '{order_number}';
|
304 |
-
if ( is_object( $order ) ) {
|
305 |
-
$email->replace['order-date'] = wc_format_datetime( $email->object->get_date_created() );
|
306 |
-
$email->replace['order-number'] = $email->object->get_order_number();
|
307 |
-
// Other properties
|
308 |
-
$email->recipient = $email->object->get_billing_email();
|
309 |
-
}
|
310 |
-
|
311 |
-
// Get email content and apply styles.
|
312 |
-
$content = $email->get_content();
|
313 |
-
|
314 |
-
$content = $email->style_inline( $content );
|
315 |
-
$content = apply_filters( 'woocommerce_mail_content', $content );
|
316 |
-
|
317 |
-
echo wp_kses_post( $content );
|
318 |
-
}
|
319 |
-
|
320 |
-
/**
|
321 |
-
* Get WooCommerce order for preview
|
322 |
-
*
|
323 |
-
* @param string $order_status
|
324 |
-
* @return object
|
325 |
-
*/
|
326 |
-
public function get_wc_order_for_preview( $order_status = null, $order_id = null ) {
|
327 |
-
if ( ! empty( $order_id ) && 'mockup' != $order_id ) {
|
328 |
-
return wc_get_order( $order_id );
|
329 |
-
} else {
|
330 |
-
// Use mockup order
|
331 |
-
|
332 |
-
// Instantiate order object
|
333 |
-
$order = new WC_Order();
|
334 |
-
|
335 |
-
// Other order properties
|
336 |
-
$order->set_props( array(
|
337 |
-
'id' => 1,
|
338 |
-
'status' => ( null === $order_status ? 'processing' : $order_status ),
|
339 |
-
'billing_first_name' => 'Sherlock',
|
340 |
-
'billing_last_name' => 'Holmes',
|
341 |
-
'billing_company' => 'Detectives Ltd.',
|
342 |
-
'billing_address_1' => '221B Baker Street',
|
343 |
-
'billing_city' => 'London',
|
344 |
-
'billing_postcode' => 'NW1 6XE',
|
345 |
-
'billing_country' => 'GB',
|
346 |
-
'billing_email' => 'sherlock@holmes.co.uk',
|
347 |
-
'billing_phone' => '02079304832',
|
348 |
-
'date_created' => gmdate( 'Y-m-d H:i:s' ),
|
349 |
-
'total' => 24.90,
|
350 |
-
) );
|
351 |
-
|
352 |
-
// Item #1
|
353 |
-
$order_item = new WC_Order_Item_Product();
|
354 |
-
$order_item->set_props( array(
|
355 |
-
'name' => 'A Study in Scarlet',
|
356 |
-
'subtotal' => '9.95',
|
357 |
-
'sku' => 'kwd_ex_1',
|
358 |
-
) );
|
359 |
-
$order->add_item( $order_item );
|
360 |
-
|
361 |
-
// Item #2
|
362 |
-
$order_item = new WC_Order_Item_Product();
|
363 |
-
$order_item->set_props( array(
|
364 |
-
'name' => 'The Hound of the Baskervilles',
|
365 |
-
'subtotal' => '14.95',
|
366 |
-
'sku' => 'kwd_ex_2',
|
367 |
-
) );
|
368 |
-
$order->add_item( $order_item );
|
369 |
-
|
370 |
-
// Return mockup order
|
371 |
-
return $order;
|
372 |
-
}
|
373 |
-
|
374 |
-
}
|
375 |
-
}
|
376 |
-
|
377 |
-
/**
|
378 |
-
* Returns an instance of zorem_woocommerce_advanced_shipment_tracking.
|
379 |
-
*
|
380 |
-
* @since 1.6.5
|
381 |
-
* @version 1.6.5
|
382 |
-
*
|
383 |
-
* @return zorem_woocommerce_advanced_shipment_tracking
|
384 |
-
*/
|
385 |
-
function ut_customizer() {
|
386 |
-
static $instance;
|
387 |
-
|
388 |
-
if ( ! isset( $instance ) ) {
|
389 |
-
$instance = new Wcast_Updated_Tracking_Customizer_Email();
|
390 |
-
}
|
391 |
-
|
392 |
-
return $instance;
|
393 |
-
}
|
394 |
-
|
395 |
-
/**
|
396 |
-
* Register this class globally.
|
397 |
-
*
|
398 |
-
* Backward compatibility.
|
399 |
-
*/
|
400 |
-
ut_customizer();
|
401 |
-
|
402 |
-
add_action( 'customize_save_customizer_updated_tracking_order_settings_enabled', 'woocommerce_customer_updated_tracking_order_settings_fun', 100, 1 );
|
403 |
-
|
404 |
-
/**
|
405 |
-
* Update Delivered order email enable/disable
|
406 |
-
*
|
407 |
-
*/
|
408 |
-
function woocommerce_customer_updated_tracking_order_settings_fun( $data ) {
|
409 |
-
|
410 |
-
$customized = isset( $_POST['customized'] ) ? wc_clean( $_POST['customized'] ) : '';
|
411 |
-
$post_values = json_decode( wp_unslash( $customized ), true );
|
412 |
-
$updated_tracking_order_settings = get_option( 'woocommerce_customer_updated_tracking_order_settings');
|
413 |
-
|
414 |
-
if ( isset( $post_values[ 'customizer_updated_tracking_order_settings_enabled' ] ) && ( 1 == $post_values[ 'customizer_updated_tracking_order_settings_enabled' ] ) ) {
|
415 |
-
$updated_tracking_order_settings['enabled'] = 'yes';
|
416 |
-
} else {
|
417 |
-
$updated_tracking_order_settings['enabled'] = 'no';
|
418 |
-
}
|
419 |
-
update_option( 'woocommerce_customer_updated_tracking_order_settings', $updated_tracking_order_settings );
|
420 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/customizer/class-wcast-customizer.php
DELETED
@@ -1,465 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
if ( ! defined( 'ABSPATH' ) ) {
|
3 |
-
exit;
|
4 |
-
}
|
5 |
-
|
6 |
-
class WC_Advanced_Shipment_Tracking_Customizer {
|
7 |
-
|
8 |
-
/**
|
9 |
-
* Instance of this class.
|
10 |
-
*
|
11 |
-
* @var object Class Instance
|
12 |
-
*/
|
13 |
-
private static $instance;
|
14 |
-
|
15 |
-
/**
|
16 |
-
* Initialize the main plugin function
|
17 |
-
*/
|
18 |
-
public function __construct() {
|
19 |
-
add_filter( 'woocommerce_order_needs_shipping_address', array( $this, 'preview_order_needs_shipping_address' ), 10, 3 );
|
20 |
-
}
|
21 |
-
|
22 |
-
public function preview_order_needs_shipping_address( $needs_address, $hide, $order ) {
|
23 |
-
|
24 |
-
if ( $order->get_id() == 1 ) {
|
25 |
-
return true;
|
26 |
-
}
|
27 |
-
return $needs_address;
|
28 |
-
}
|
29 |
-
|
30 |
-
/**
|
31 |
-
* Register the Customizer sections
|
32 |
-
*/
|
33 |
-
public function wcast_add_customizer_sections( $wp_customize ) {
|
34 |
-
|
35 |
-
$wp_customize->add_section( 'ast_tracking_general_section',
|
36 |
-
array(
|
37 |
-
'title' => __( 'Tracking info display', 'woo-advanced-shipment-tracking' ),
|
38 |
-
'description' => '',
|
39 |
-
)
|
40 |
-
);
|
41 |
-
|
42 |
-
$wp_customize->add_section( 'custom_order_status_email',
|
43 |
-
array(
|
44 |
-
'title' => __( 'Custom order status email', 'woo-advanced-shipment-tracking' ),
|
45 |
-
'description' => '',
|
46 |
-
)
|
47 |
-
);
|
48 |
-
}
|
49 |
-
|
50 |
-
/**
|
51 |
-
* Add css and js for preview
|
52 |
-
*/
|
53 |
-
public function enqueue_preview_scripts() {
|
54 |
-
|
55 |
-
wp_enqueue_script('wcast-email-preview-scripts', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/js/preview-scripts.js', array('jquery', 'customize-preview'), wc_advanced_shipment_tracking()->version, true);
|
56 |
-
wp_enqueue_style('wcast-preview-styles', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/preview-styles.css', array(), wc_advanced_shipment_tracking()->version );
|
57 |
-
wp_localize_script('wcast-email-preview-scripts', 'wcast_preview', array(
|
58 |
-
'site_title' => $this->get_blogname(),
|
59 |
-
'order_number' => get_theme_mod('wcast_email_preview_order_id'),
|
60 |
-
));
|
61 |
-
}
|
62 |
-
|
63 |
-
/**
|
64 |
-
* Get blog name formatted for emails.
|
65 |
-
*
|
66 |
-
* @return string
|
67 |
-
*/
|
68 |
-
public function get_blogname() {
|
69 |
-
return wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES );
|
70 |
-
}
|
71 |
-
|
72 |
-
/**
|
73 |
-
* Add css and js for customizer
|
74 |
-
*/
|
75 |
-
public function enqueue_customizer_scripts() {
|
76 |
-
|
77 |
-
if ( isset( $_REQUEST['wcast-customizer'] ) && '1' === $_REQUEST['wcast-customizer'] ) {
|
78 |
-
wp_enqueue_style( 'wp-color-picker' );
|
79 |
-
wp_enqueue_style('wcast-customizer-styles', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/customizer-styles.css', array(), wc_advanced_shipment_tracking()->version );
|
80 |
-
wp_enqueue_script('wcast-customizer-scripts', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/js/customizer-scripts.js', array('jquery', 'customize-controls','wp-color-picker'), wc_advanced_shipment_tracking()->version, true);
|
81 |
-
|
82 |
-
$email_type = ( isset($_REQUEST['order_status']) ) ? wc_clean( $_REQUEST['order_status'] ) : 'partially_shipped';
|
83 |
-
$shipment_status = ( isset($_REQUEST['shipment_status']) ) ? wc_clean( $_REQUEST['shipment_status'] ) : 'in_transit';
|
84 |
-
$email = ( isset($_REQUEST['email']) ) ? wc_clean( $_REQUEST['email'] ) : '';
|
85 |
-
|
86 |
-
// Send variables to Javascript
|
87 |
-
wp_localize_script('wcast-customizer-scripts', 'wcast_customizer', array(
|
88 |
-
'customizer_nonce' => wp_create_nonce( 'ast_customizer' ),
|
89 |
-
'ajax_url' => admin_url('admin-ajax.php'),
|
90 |
-
'email_preview_url' => $this->get_email_preview_url(),
|
91 |
-
'partial_shipped_email_preview_url' => $this->get_partial_shipped_email_preview_url(),
|
92 |
-
'shipped_email_preview_url' => $this->get_shipped_email_preview_url(),
|
93 |
-
'updated_tracking_email_preview_url' => $this->get_updated_tracking_email_preview_url(),
|
94 |
-
'email_type' => $email_type,
|
95 |
-
'shipment_status' => $shipment_status,
|
96 |
-
'tracking_preview_url' => $this->get_tracking_preview_url(),
|
97 |
-
'tracking_page_preview_url' => $this->get_tracking_page_preview_url(),
|
98 |
-
'customer_failure_preview_url' => $this->get_customer_failure_preview_url(),
|
99 |
-
'customer_exception_preview_url' => $this->get_customer_exception_preview_url(),
|
100 |
-
'customer_intransit_preview_url' => $this->get_customer_intransit_preview_url(),
|
101 |
-
'customer_onhold_preview_url' => $this->get_customer_onhold_preview_url(),
|
102 |
-
'customer_outfordelivery_preview_url' => $this->get_customer_outfordelivery_preview_url(),
|
103 |
-
'customer_delivered_preview_url' => $this->get_customer_delivered_preview_url(),
|
104 |
-
'customer_returntosender_preview_url' => $this->get_customer_returntosender_preview_url(),
|
105 |
-
'customer_availableforpickup_preview_url' => $this->get_customer_availableforpickup_preview_url(),
|
106 |
-
'trigger_click' => '#accordion-section-' . $email . ' h3',
|
107 |
-
'customizer_title' => 'Shipment Tracking',
|
108 |
-
));
|
109 |
-
|
110 |
-
wp_localize_script('wp-color-picker', 'wpColorPickerL10n', array(
|
111 |
-
'clear' => __( 'Clear' ),
|
112 |
-
'clearAriaLabel' => __( 'Clear color' ),
|
113 |
-
'defaultString' => __( 'Default' ),
|
114 |
-
'defaultAriaLabel' => __( 'Select default color' ),
|
115 |
-
'pick' => __( 'Select Color' ),
|
116 |
-
'defaultLabel' => __( 'Color value' ),
|
117 |
-
));
|
118 |
-
}
|
119 |
-
}
|
120 |
-
|
121 |
-
/**
|
122 |
-
* Get Customizer URL
|
123 |
-
*
|
124 |
-
*/
|
125 |
-
public function get_email_preview_url() {
|
126 |
-
return add_query_arg( array(
|
127 |
-
'wcast-email-customizer-preview' => '1',
|
128 |
-
), home_url( '' ) );
|
129 |
-
}
|
130 |
-
|
131 |
-
/**
|
132 |
-
* Get Customizer URL
|
133 |
-
*
|
134 |
-
*/
|
135 |
-
public function get_partial_shipped_email_preview_url() {
|
136 |
-
return add_query_arg( array(
|
137 |
-
'wcast-partial-shipped-email-customizer-preview' => '1',
|
138 |
-
), home_url( '' ) );
|
139 |
-
}
|
140 |
-
|
141 |
-
/**
|
142 |
-
* Get Customizer URL
|
143 |
-
*
|
144 |
-
*/
|
145 |
-
public function get_shipped_email_preview_url() {
|
146 |
-
return add_query_arg( array(
|
147 |
-
'wcast-shipped-email-customizer-preview' => '1',
|
148 |
-
), home_url( '' ) );
|
149 |
-
}
|
150 |
-
|
151 |
-
/**
|
152 |
-
* Get Customizer URL
|
153 |
-
*
|
154 |
-
*/
|
155 |
-
public function get_custom_completed_email_preview_url() {
|
156 |
-
return add_query_arg( array(
|
157 |
-
'wcast-custom-completed-email-customizer-preview' => '1',
|
158 |
-
), home_url( '' ) );
|
159 |
-
}
|
160 |
-
|
161 |
-
/**
|
162 |
-
* Get Customizer URL
|
163 |
-
*
|
164 |
-
*/
|
165 |
-
public function get_updated_tracking_email_preview_url() {
|
166 |
-
return add_query_arg( array(
|
167 |
-
'wcast-updated-tracking-email-customizer-preview' => '1',
|
168 |
-
), home_url( '' ) );
|
169 |
-
}
|
170 |
-
|
171 |
-
/**
|
172 |
-
* Get Customizer URL
|
173 |
-
*
|
174 |
-
*/
|
175 |
-
public function get_tracking_preview_url() {
|
176 |
-
return add_query_arg( array(
|
177 |
-
'wcast-tracking-preview' => '1',
|
178 |
-
), home_url( '' ) );
|
179 |
-
}
|
180 |
-
|
181 |
-
/**
|
182 |
-
* Get Tracking Page Preview URL
|
183 |
-
*
|
184 |
-
*/
|
185 |
-
public function get_tracking_page_preview_url() {
|
186 |
-
return add_query_arg( array(
|
187 |
-
'action' => 'preview_tracking_page',
|
188 |
-
), home_url( '' ) );
|
189 |
-
}
|
190 |
-
|
191 |
-
/**
|
192 |
-
* Get Failuere Shipment status preview URL
|
193 |
-
*
|
194 |
-
*/
|
195 |
-
public function get_customer_failure_preview_url() {
|
196 |
-
return add_query_arg( array(
|
197 |
-
'wcast-failure-email-customizer-preview' => '1',
|
198 |
-
), home_url( '' ) );
|
199 |
-
}
|
200 |
-
|
201 |
-
/**
|
202 |
-
* Get Exception Shipment status preview URL
|
203 |
-
*
|
204 |
-
*/
|
205 |
-
public function get_customer_exception_preview_url() {
|
206 |
-
return add_query_arg( array(
|
207 |
-
'wcast-exception-email-customizer-preview' => '1',
|
208 |
-
), home_url( '' ) );
|
209 |
-
}
|
210 |
-
|
211 |
-
/**
|
212 |
-
* Get Tracking page preview URL
|
213 |
-
*
|
214 |
-
*/
|
215 |
-
public function get_customer_intransit_preview_url() {
|
216 |
-
return add_query_arg( array(
|
217 |
-
'wcast-intransit-email-customizer-preview' => '1',
|
218 |
-
), home_url( '' ) );
|
219 |
-
}
|
220 |
-
|
221 |
-
/**
|
222 |
-
* Get Tracking page preview URL
|
223 |
-
*
|
224 |
-
*/
|
225 |
-
public function get_customer_onhold_preview_url() {
|
226 |
-
return add_query_arg( array(
|
227 |
-
'wcast-onhold-email-customizer-preview' => '1',
|
228 |
-
), home_url( '' ) );
|
229 |
-
}
|
230 |
-
|
231 |
-
/**
|
232 |
-
* Get Tracking page preview URL
|
233 |
-
*
|
234 |
-
*/
|
235 |
-
public function get_customer_outfordelivery_preview_url() {
|
236 |
-
return add_query_arg( array(
|
237 |
-
'wcast-outfordelivery-email-customizer-preview' => '1',
|
238 |
-
), home_url( '' ) );
|
239 |
-
}
|
240 |
-
|
241 |
-
/**
|
242 |
-
* Get Tracking page preview URL
|
243 |
-
*
|
244 |
-
*/
|
245 |
-
public function get_customer_delivered_preview_url() {
|
246 |
-
return add_query_arg( array(
|
247 |
-
'wcast-delivered-email-customizer-preview' => '1',
|
248 |
-
), home_url( '' ) );
|
249 |
-
}
|
250 |
-
|
251 |
-
/**
|
252 |
-
* Get Tracking page preview URL
|
253 |
-
*
|
254 |
-
*/
|
255 |
-
public function get_customer_returntosender_preview_url() {
|
256 |
-
return add_query_arg( array(
|
257 |
-
'wcast-returntosender-email-customizer-preview' => '1',
|
258 |
-
), home_url( '' ) );
|
259 |
-
}
|
260 |
-
|
261 |
-
/**
|
262 |
-
* Get Tracking page preview URL
|
263 |
-
*
|
264 |
-
*/
|
265 |
-
public function get_customer_availableforpickup_preview_url() {
|
266 |
-
return add_query_arg( array(
|
267 |
-
'wcast-availableforpickup-email-customizer-preview' => '1',
|
268 |
-
), home_url( '' ) );
|
269 |
-
}
|
270 |
-
|
271 |
-
/**
|
272 |
-
* Remove unrelated components
|
273 |
-
*
|
274 |
-
* @param array $components
|
275 |
-
* @param object $wp_customize
|
276 |
-
* @return array
|
277 |
-
*/
|
278 |
-
public function remove_unrelated_components( $components, $wp_customize ) {
|
279 |
-
// Iterate over components
|
280 |
-
foreach ( $components as $component_key => $component ) {
|
281 |
-
// Check if current component is own component
|
282 |
-
if ( ! $this->is_own_component( $component ) ) {
|
283 |
-
unset($components[$component_key]);
|
284 |
-
}
|
285 |
-
}
|
286 |
-
|
287 |
-
// Return remaining components
|
288 |
-
return $components;
|
289 |
-
}
|
290 |
-
|
291 |
-
/**
|
292 |
-
* Remove unrelated sections
|
293 |
-
*
|
294 |
-
* @param bool $active
|
295 |
-
* @param object $section
|
296 |
-
* @return bool
|
297 |
-
*/
|
298 |
-
public function remove_unrelated_sections( $active, $section ) {
|
299 |
-
// Check if current section is own section
|
300 |
-
if ( ! $this->is_own_section( $section->id ) ) {
|
301 |
-
return false;
|
302 |
-
}
|
303 |
-
|
304 |
-
// We can override $active completely since this runs only on own Customizer requests
|
305 |
-
return true;
|
306 |
-
}
|
307 |
-
|
308 |
-
/**
|
309 |
-
* Check if current component is own component
|
310 |
-
*
|
311 |
-
* @param string $component
|
312 |
-
* @return bool
|
313 |
-
*/
|
314 |
-
public function is_own_component( $component ) {
|
315 |
-
return false;
|
316 |
-
}
|
317 |
-
|
318 |
-
/**
|
319 |
-
* Check if current section is own section
|
320 |
-
*
|
321 |
-
* @param string $key
|
322 |
-
* @return bool
|
323 |
-
*/
|
324 |
-
public function is_own_section( $key ) {
|
325 |
-
|
326 |
-
if ( 'ast_tracking_general_section' === $key || 'custom_order_status_email' === $key ) {
|
327 |
-
return true;
|
328 |
-
}
|
329 |
-
|
330 |
-
// Section not found
|
331 |
-
return false;
|
332 |
-
}
|
333 |
-
|
334 |
-
/*
|
335 |
-
* Unhook flatsome front end.
|
336 |
-
*/
|
337 |
-
public function unhook_flatsome() {
|
338 |
-
// Unhook flatsome issue.
|
339 |
-
wp_dequeue_style( 'flatsome-customizer-preview' );
|
340 |
-
wp_dequeue_script( 'flatsome-customizer-frontend-js' );
|
341 |
-
}
|
342 |
-
|
343 |
-
/*
|
344 |
-
* Unhook Divi front end.
|
345 |
-
*/
|
346 |
-
public function unhook_divi() {
|
347 |
-
// Divi Theme issue.
|
348 |
-
remove_action( 'wp_footer', 'et_builder_get_modules_js_data' );
|
349 |
-
remove_action( 'et_customizer_footer_preview', 'et_load_social_icons' );
|
350 |
-
}
|
351 |
-
|
352 |
-
/**
|
353 |
-
* Get Order Ids
|
354 |
-
*
|
355 |
-
* @return array
|
356 |
-
*/
|
357 |
-
public function get_order_ids() {
|
358 |
-
$order_array = array();
|
359 |
-
$order_array['mockup'] = __( 'Mockup Order', 'woo-advanced-shipment-tracking' );
|
360 |
-
|
361 |
-
$orders = wc_get_orders( array(
|
362 |
-
'limit' => 20,
|
363 |
-
'orderby' => 'date',
|
364 |
-
'order' => 'DESC',
|
365 |
-
'meta_key' => '_wc_shipment_tracking_items', // The postmeta key field
|
366 |
-
'meta_compare' => 'EXISTS', // The comparison argument
|
367 |
-
));
|
368 |
-
|
369 |
-
foreach ( $orders as $order ) {
|
370 |
-
|
371 |
-
$ast = new WC_Advanced_Shipment_Tracking_Actions();
|
372 |
-
$tracking_items = ast_get_tracking_items( $order->get_id() );
|
373 |
-
|
374 |
-
if ( $tracking_items ) {
|
375 |
-
$order_array[ $order->get_id() ] = $order->get_id() . ' - ' . $order->get_billing_first_name() . ' ' . $order->get_billing_last_name();
|
376 |
-
}
|
377 |
-
}
|
378 |
-
return $order_array;
|
379 |
-
}
|
380 |
-
|
381 |
-
/**
|
382 |
-
* Get WooCommerce order for preview
|
383 |
-
*
|
384 |
-
* @param string $order_status
|
385 |
-
* @return object
|
386 |
-
*/
|
387 |
-
public function get_wc_order_for_preview( $order_status = null, $order_id = null ) {
|
388 |
-
if ( ! empty( $order_id ) && 'mockup' != $order_id ) {
|
389 |
-
return wc_get_order( $order_id );
|
390 |
-
} else {
|
391 |
-
|
392 |
-
// Instantiate order object
|
393 |
-
$order = new WC_Order();
|
394 |
-
|
395 |
-
// Other order properties
|
396 |
-
$order->set_props( array(
|
397 |
-
'id' => 1,
|
398 |
-
'status' => ( null === $order_status ? 'processing' : $order_status ),
|
399 |
-
'shipping_first_name' => 'Sherlock',
|
400 |
-
'shipping_last_name' => 'Holmes',
|
401 |
-
'shipping_company' => 'Detectives Ltd.',
|
402 |
-
'shipping_address_1' => '221B Baker Street',
|
403 |
-
'shipping_city' => 'London',
|
404 |
-
'shipping_postcode' => 'NW1 6XE',
|
405 |
-
'shipping_country' => 'GB',
|
406 |
-
'billing_first_name' => 'Sherlock',
|
407 |
-
'billing_last_name' => 'Holmes',
|
408 |
-
'billing_company' => 'Detectives Ltd.',
|
409 |
-
'billing_address_1' => '221B Baker Street',
|
410 |
-
'billing_city' => 'London',
|
411 |
-
'billing_postcode' => 'NW1 6XE',
|
412 |
-
'billing_country' => 'GB',
|
413 |
-
'billing_email' => 'sherlock@holmes.co.uk',
|
414 |
-
'billing_phone' => '02079304832',
|
415 |
-
'date_created' => gmdate( 'Y-m-d H:i:s' ),
|
416 |
-
'total' => 24.90,
|
417 |
-
) );
|
418 |
-
|
419 |
-
// Item #1
|
420 |
-
$order_item = new WC_Order_Item_Product();
|
421 |
-
$order_item->set_props( array(
|
422 |
-
'name' => 'A Study in Scarlet',
|
423 |
-
'subtotal' => '9.95',
|
424 |
-
'sku' => 'kwd_ex_1',
|
425 |
-
) );
|
426 |
-
$order->add_item( $order_item );
|
427 |
-
|
428 |
-
// Item #2
|
429 |
-
$order_item = new WC_Order_Item_Product();
|
430 |
-
$order_item->set_props( array(
|
431 |
-
'name' => 'The Hound of the Baskervilles',
|
432 |
-
'subtotal' => '14.95',
|
433 |
-
'sku' => 'kwd_ex_2',
|
434 |
-
) );
|
435 |
-
$order->add_item( $order_item );
|
436 |
-
|
437 |
-
// Return mockup order
|
438 |
-
return $order;
|
439 |
-
}
|
440 |
-
}
|
441 |
-
}
|
442 |
-
/**
|
443 |
-
* Returns an instance of zorem_woocommerce_advanced_shipment_tracking.
|
444 |
-
*
|
445 |
-
* @since 1.6.5
|
446 |
-
* @version 1.6.5
|
447 |
-
*
|
448 |
-
* @return zorem_woocommerce_advanced_shipment_tracking
|
449 |
-
*/
|
450 |
-
function wcast_customizer() {
|
451 |
-
static $instance;
|
452 |
-
|
453 |
-
if ( ! isset( $instance ) ) {
|
454 |
-
$instance = new wc_advanced_shipment_tracking_customizer();
|
455 |
-
}
|
456 |
-
|
457 |
-
return $instance;
|
458 |
-
}
|
459 |
-
|
460 |
-
/**
|
461 |
-
* Register this class globally.
|
462 |
-
*
|
463 |
-
* Backward compatibility.
|
464 |
-
*/
|
465 |
-
wcast_customizer();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/customizer/custom-controls.php
DELETED
@@ -1,170 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* AST Customizer Custom Controls
|
4 |
-
*
|
5 |
-
*/
|
6 |
-
if ( class_exists( 'WP_Customize_Control' ) ) {
|
7 |
-
class WP_Customize_Heading_Control extends WP_Customize_Control {
|
8 |
-
|
9 |
-
public function render_content() {
|
10 |
-
?>
|
11 |
-
<label>
|
12 |
-
<h3 class="control_heading"><?php esc_html_e( $this->label, 'woo-advanced-shipment-tracking' ); ?></h3>
|
13 |
-
<?php if ( ! empty( $this->description ) ) : ?>
|
14 |
-
<span class="description customize-control-description"><?php esc_html_e( $this->description ); ?></span>
|
15 |
-
<?php endif; ?>
|
16 |
-
</label>
|
17 |
-
<?php
|
18 |
-
}
|
19 |
-
}
|
20 |
-
|
21 |
-
class WP_Customize_Codeinfoblock_Control extends WP_Customize_Control {
|
22 |
-
|
23 |
-
public function render_content() {
|
24 |
-
?>
|
25 |
-
<label>
|
26 |
-
<h3 class="customize-control-title"><?php esc_html_e( $this->label, 'woo-advanced-shipment-tracking' ); ?></h3>
|
27 |
-
<?php if ( ! empty( $this->description ) ) : ?>
|
28 |
-
<span class="description customize-control-description"><?php echo wp_kses_post( $this->description ); ?></span>
|
29 |
-
<?php endif; ?>
|
30 |
-
</label>
|
31 |
-
<?php
|
32 |
-
}
|
33 |
-
}
|
34 |
-
|
35 |
-
/**
|
36 |
-
* Custom Control Base Class
|
37 |
-
*/
|
38 |
-
class AST_Custom_Control extends WP_Customize_Control {
|
39 |
-
protected function get_skyrocket_resource_url() {
|
40 |
-
if ( strpos( wp_normalize_path( __DIR__ ), wp_normalize_path( WP_PLUGIN_DIR ) ) === 0 ) {
|
41 |
-
// We're in a plugin directory and need to determine the url accordingly.
|
42 |
-
return plugin_dir_url( __DIR__ );
|
43 |
-
}
|
44 |
-
|
45 |
-
return trailingslashit( get_template_directory_uri() );
|
46 |
-
}
|
47 |
-
}
|
48 |
-
|
49 |
-
/**
|
50 |
-
* Slider Custom Control
|
51 |
-
*/
|
52 |
-
class AST_Slider_Custom_Control extends AST_Custom_Control {
|
53 |
-
/**
|
54 |
-
* The type of control being rendered
|
55 |
-
*/
|
56 |
-
public $type = 'slider_control';
|
57 |
-
/**
|
58 |
-
* Enqueue our scripts and styles
|
59 |
-
*/
|
60 |
-
public function enqueue() {
|
61 |
-
wp_enqueue_script( 'ast-custom-controls-js', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/js/customizer.js', array( 'jquery', 'jquery-ui-core' ), wc_advanced_shipment_tracking()->version, true );
|
62 |
-
wp_enqueue_style( 'ast-custom-controls-css', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/customizer.css', array(), wc_advanced_shipment_tracking()->version, 'all' );
|
63 |
-
}
|
64 |
-
/**
|
65 |
-
* Render the control in the customizer
|
66 |
-
*/
|
67 |
-
public function render_content() {
|
68 |
-
?>
|
69 |
-
<div class="slider-custom-control">
|
70 |
-
<span class="customize-control-title"><?php esc_html_e( $this->label, 'woo-advanced-shipment-tracking' ); ?></span>
|
71 |
-
<div class="slider" slider-min-value="<?php echo esc_attr( $this->input_attrs['min'] ); ?>" slider-max-value="<?php echo esc_attr( $this->input_attrs['max'] ); ?>" slider-step-value="<?php echo esc_attr( $this->input_attrs['step'] ); ?>">
|
72 |
-
</div>
|
73 |
-
<span class="slider-reset dashicons dashicons-image-rotate" slider-reset-value="<?php echo esc_attr( $this->input_attrs['default'] ); ?>"></span>
|
74 |
-
<input type="number" id="<?php echo esc_attr( $this->id ); ?>" name="<?php echo esc_attr( $this->id ); ?>" value="<?php echo esc_attr( $this->value() ); ?>" class="customize-control-slider-value" <?php $this->link(); ?> />
|
75 |
-
</div>
|
76 |
-
<?php
|
77 |
-
}
|
78 |
-
}
|
79 |
-
|
80 |
-
/**
|
81 |
-
* Dropdown Select2 Custom Control
|
82 |
-
*/
|
83 |
-
class AST_Dropdown_Select_Custom_Control extends AST_Custom_Control {
|
84 |
-
/**
|
85 |
-
* The type of control being rendered
|
86 |
-
*/
|
87 |
-
public $type = 'dropdown_select';
|
88 |
-
/**
|
89 |
-
* The Placeholder value to display. Select2 requires a Placeholder value to be set when using the clearall option. Default = 'Please select...'
|
90 |
-
*/
|
91 |
-
private $placeholder = 'Please select...';
|
92 |
-
/**
|
93 |
-
* Constructor
|
94 |
-
*/
|
95 |
-
public function __construct( $manager, $id, $args = array(), $options = array() ) {
|
96 |
-
parent::__construct( $manager, $id, $args );
|
97 |
-
// Check if this is a multi-select field
|
98 |
-
// Check if a placeholder string has been specified
|
99 |
-
if ( isset( $this->input_attrs['placeholder'] ) && $this->input_attrs['placeholder'] ) {
|
100 |
-
$this->placeholder = $this->input_attrs['placeholder'];
|
101 |
-
}
|
102 |
-
}
|
103 |
-
/**
|
104 |
-
* Render the control in the customizer
|
105 |
-
*/
|
106 |
-
public function render_content() {
|
107 |
-
$defaultValue = $this->value();
|
108 |
-
?>
|
109 |
-
<div class="dropdown_select_control">
|
110 |
-
<?php if ( !empty( $this->label ) ) { ?>
|
111 |
-
<label for="<?php echo esc_attr( $this->id ); ?>" class="customize-control-title">
|
112 |
-
<?php echo esc_html( $this->label ); ?>
|
113 |
-
</label>
|
114 |
-
<?php } ?>
|
115 |
-
<?php if ( !empty( $this->description ) ) { ?>
|
116 |
-
<span class="customize-control-description"><?php echo esc_html( $this->description ); ?></span>
|
117 |
-
<?php } ?>
|
118 |
-
<select name="<?php echo esc_attr( $this->id ); ?>" id="<?php echo esc_attr( $this->id ); ?>" <?php $this->link(); ?> class="<?php esc_html_e( $this->input_attrs['class'] ); ?>" data-placeholder="<?php esc_html_e( $this->placeholder ); ?>">
|
119 |
-
<?php
|
120 |
-
foreach ( $this->choices as $key => $value ) {
|
121 |
-
echo '<option value="' . esc_attr( $key ) . '" ' . selected( esc_attr( $key ), $defaultValue, false ) . '>' . esc_attr( $value ) . '</option>';
|
122 |
-
}
|
123 |
-
?>
|
124 |
-
</select>
|
125 |
-
</div>
|
126 |
-
<?php
|
127 |
-
}
|
128 |
-
}
|
129 |
-
|
130 |
-
/**
|
131 |
-
* TinyMCE Custom Control
|
132 |
-
*/
|
133 |
-
class AST_TinyMCE_Custom_Control extends AST_Custom_Control {
|
134 |
-
/**
|
135 |
-
* The type of control being rendered
|
136 |
-
*/
|
137 |
-
public $type = 'tinymce_editor';
|
138 |
-
/**
|
139 |
-
* Enqueue our scripts and styles
|
140 |
-
*/
|
141 |
-
public function enqueue() {
|
142 |
-
wp_enqueue_script( 'ast-custom-controls-js', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/js/customizer.js', array( 'jquery', 'jquery-ui-core' ), wc_advanced_shipment_tracking()->version, true );
|
143 |
-
wp_enqueue_style( 'ast-custom-controls-css', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/customizer.css', array(), wc_advanced_shipment_tracking()->version, 'all' );
|
144 |
-
wp_enqueue_editor();
|
145 |
-
}
|
146 |
-
/**
|
147 |
-
* Pass our TinyMCE toolbar string to JavaScript
|
148 |
-
*/
|
149 |
-
public function to_json() {
|
150 |
-
parent::to_json();
|
151 |
-
$this->json['asttinymcetoolbar1'] = isset( $this->input_attrs['toolbar1'] ) ? esc_attr( $this->input_attrs['toolbar1'] ) : 'bold italic bullist numlist alignleft aligncenter alignright link';
|
152 |
-
$this->json['asttinymcetoolbar2'] = isset( $this->input_attrs['toolbar2'] ) ? esc_attr( $this->input_attrs['toolbar2'] ) : '';
|
153 |
-
$this->json['astmediabuttons'] = isset( $this->input_attrs['mediaButtons'] ) && ( true === $this->input_attrs['mediaButtons'] ) ? true : false;
|
154 |
-
}
|
155 |
-
/**
|
156 |
-
* Render the control in the customizer
|
157 |
-
*/
|
158 |
-
public function render_content() {
|
159 |
-
?>
|
160 |
-
<div class="tinymce-control">
|
161 |
-
<span class="customize-control-title"><?php esc_html_e( $this->label, 'woo-advanced-shipment-tracking' ); ?></span>
|
162 |
-
<?php if ( !empty( $this->description ) ) { ?>
|
163 |
-
<span class="customize-control-description"><?php echo esc_html( $this->description ); ?></span>
|
164 |
-
<?php } ?>
|
165 |
-
<textarea id="<?php echo esc_attr( $this->id ); ?>" placeholder="<?php echo esc_attr( $this->input_attrs['placeholder'] ); ?>" class="" <?php $this->link(); ?>><?php echo esc_attr( $this->value() ); ?></textarea>
|
166 |
-
</div>
|
167 |
-
<?php
|
168 |
-
}
|
169 |
-
}
|
170 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/customizer/preview/partial_shipped_preview.php
DELETED
@@ -1,29 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
// Exit if accessed directly
|
3 |
-
if (!defined('ABSPATH')) {
|
4 |
-
exit;
|
5 |
-
}
|
6 |
-
?>
|
7 |
-
|
8 |
-
<head>
|
9 |
-
|
10 |
-
<meta charset="<?php bloginfo('charset'); ?>" />
|
11 |
-
<meta name="viewport" content="width=device-width" />
|
12 |
-
<style type="text/css" id="ast_designer_custom_css">.woocommerce-store-notice.demo_store, .mfp-hide {display: none;}</style>
|
13 |
-
</head>
|
14 |
-
|
15 |
-
<body class="ast_preview_body">
|
16 |
-
<div id="overlay"></div>
|
17 |
-
<div id="ast_preview_wrapper" style="display: block;">
|
18 |
-
|
19 |
-
<?php wcast_partial_shipped_customizer_email::preview_partial_shipped_email(); ?>
|
20 |
-
|
21 |
-
</div>
|
22 |
-
|
23 |
-
<?php
|
24 |
-
do_action( 'woomail_footer' );
|
25 |
-
wp_footer();
|
26 |
-
?>
|
27 |
-
|
28 |
-
</body>
|
29 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/customizer/preview/preview.php
DELETED
@@ -1,29 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
// Exit if accessed directly
|
3 |
-
if (!defined('ABSPATH')) {
|
4 |
-
exit;
|
5 |
-
}
|
6 |
-
?>
|
7 |
-
|
8 |
-
<head>
|
9 |
-
|
10 |
-
<meta charset="<?php bloginfo('charset'); ?>" />
|
11 |
-
<meta name="viewport" content="width=device-width" />
|
12 |
-
<style type="text/css" id="ast_designer_custom_css">.woocommerce-store-notice.demo_store, .mfp-hide {display: none;}</style>
|
13 |
-
</head>
|
14 |
-
|
15 |
-
<body class="ast_preview_body">
|
16 |
-
<div id="overlay"></div>
|
17 |
-
<div id="ast_preview_wrapper" style="display: block;">
|
18 |
-
|
19 |
-
<?php wcast_initialise_customizer_settings::preview_completed_email(); ?>
|
20 |
-
|
21 |
-
</div>
|
22 |
-
|
23 |
-
<?php
|
24 |
-
do_action( 'woomail_footer' );
|
25 |
-
wp_footer();
|
26 |
-
?>
|
27 |
-
|
28 |
-
</body>
|
29 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/customizer/preview/updated_tracking_preview.php
DELETED
@@ -1,29 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
// Exit if accessed directly
|
3 |
-
if (!defined('ABSPATH')) {
|
4 |
-
exit;
|
5 |
-
}
|
6 |
-
|
7 |
-
?>
|
8 |
-
|
9 |
-
<head>
|
10 |
-
|
11 |
-
<meta charset="<?php bloginfo('charset'); ?>" />
|
12 |
-
<meta name="viewport" content="width=device-width" />
|
13 |
-
<style type="text/css" id="ast_designer_custom_css">.woocommerce-store-notice.demo_store, .mfp-hide {display: none;}</style>
|
14 |
-
</head>
|
15 |
-
|
16 |
-
<body class="ast_preview_body">
|
17 |
-
<div id="overlay"></div>
|
18 |
-
<div id="ast_preview_wrapper" style="display: block;">
|
19 |
-
<?php $this->preview_updated_tracking_email(); ?>
|
20 |
-
</div>
|
21 |
-
|
22 |
-
<?php
|
23 |
-
do_action( 'woomail_footer' );
|
24 |
-
wp_footer();
|
25 |
-
?>
|
26 |
-
|
27 |
-
</body>
|
28 |
-
|
29 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/email-manager.php
DELETED
@@ -1,116 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Handles email sending
|
4 |
-
*/
|
5 |
-
class WC_Advanced_Shipment_Tracking_Email_Manager {
|
6 |
-
|
7 |
-
private static $instance;
|
8 |
-
|
9 |
-
/**
|
10 |
-
* Constructor sets up actions
|
11 |
-
*/
|
12 |
-
public function __construct() {
|
13 |
-
// template path
|
14 |
-
if (!defined( 'AST_TEMPLATE_PATH' ) ) {
|
15 |
-
define( 'AST_TEMPLATE_PATH', SHIPMENT_TRACKING_PATH . '/templates/' );
|
16 |
-
}
|
17 |
-
// hook for when order status is changed
|
18 |
-
add_filter( 'woocommerce_email_classes', array( $this, 'custom_init_emails' ) );
|
19 |
-
}
|
20 |
-
|
21 |
-
/**
|
22 |
-
* Code for include delivered email class
|
23 |
-
*/
|
24 |
-
public function custom_init_emails( $emails ) {
|
25 |
-
|
26 |
-
// Include the email class file if it's not included already
|
27 |
-
$partial_shipped_status = get_option( 'wc_ast_status_partial_shipped', 0 );
|
28 |
-
if ( true == $partial_shipped_status ) {
|
29 |
-
if ( ! isset( $emails[ 'WC_Email_Customer_Partial_Shipped_Order' ] ) ) {
|
30 |
-
$emails[ 'WC_Email_Customer_Partial_Shipped_Order' ] = include_once( 'emails/class-shipment-partial-shipped-email.php' );
|
31 |
-
}
|
32 |
-
}
|
33 |
-
|
34 |
-
$updated_tracking_status = get_option( 'wc_ast_status_updated_tracking', 0 );
|
35 |
-
if ( true == $updated_tracking_status ) {
|
36 |
-
if ( ! isset( $emails[ 'WC_Email_Customer_Updated_Tracking_Order' ] ) ) {
|
37 |
-
$emails[ 'WC_Email_Customer_Updated_Tracking_Order' ] = include_once( 'emails/class-shipment-updated-tracking-email.php' );
|
38 |
-
}
|
39 |
-
}
|
40 |
-
return $emails;
|
41 |
-
}
|
42 |
-
|
43 |
-
/**
|
44 |
-
* Code for format email content
|
45 |
-
*/
|
46 |
-
public function email_content( $email_content, $order_id, $order ) {
|
47 |
-
|
48 |
-
$order_number = $order->get_order_number();
|
49 |
-
|
50 |
-
$customer_email = $order->get_billing_email();
|
51 |
-
$first_name = $order->get_billing_first_name();
|
52 |
-
$last_name = $order->get_billing_last_name();
|
53 |
-
$company_name = $order->get_billing_company();
|
54 |
-
$user = $order->get_user();
|
55 |
-
|
56 |
-
if ( $user ) {
|
57 |
-
$username = $user->user_login;
|
58 |
-
}
|
59 |
-
|
60 |
-
$email_content = str_replace( '{customer_email}', $customer_email, $email_content );
|
61 |
-
$email_content = str_replace( '{site_title}', $this->get_blogname(), $email_content );
|
62 |
-
$email_content = str_replace( '{customer_first_name}', $first_name, $email_content );
|
63 |
-
$email_content = str_replace( '{customer_last_name}', $last_name, $email_content );
|
64 |
-
|
65 |
-
if ( isset( $company_name ) ) {
|
66 |
-
$email_content = str_replace( '{customer_company_name}', $company_name, $email_content );
|
67 |
-
} else {
|
68 |
-
$email_content = str_replace( '{customer_company_name}', '', $email_content );
|
69 |
-
}
|
70 |
-
|
71 |
-
if ( isset( $username ) ) {
|
72 |
-
$email_content = str_replace( '{customer_username}', $username, $email_content );
|
73 |
-
} else {
|
74 |
-
$email_content = str_replace( '{customer_username}', '', $email_content );
|
75 |
-
}
|
76 |
-
|
77 |
-
$email_content = str_replace( '{order_number}', $order_number, $email_content );
|
78 |
-
|
79 |
-
return $email_content;
|
80 |
-
}
|
81 |
-
|
82 |
-
/**
|
83 |
-
* Get blog name formatted for emails.
|
84 |
-
*
|
85 |
-
* @return string
|
86 |
-
*/
|
87 |
-
private function get_blogname() {
|
88 |
-
return wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES );
|
89 |
-
}
|
90 |
-
|
91 |
-
}
|
92 |
-
|
93 |
-
/**
|
94 |
-
* Returns an instance of zorem_woocommerce_advanced_shipment_tracking.
|
95 |
-
*
|
96 |
-
* @since 1.6.5
|
97 |
-
* @version 1.6.5
|
98 |
-
*
|
99 |
-
* @return zorem_woocommerce_advanced_shipment_tracking
|
100 |
-
*/
|
101 |
-
function wc_advanced_shipment_tracking_email_class() {
|
102 |
-
static $instance;
|
103 |
-
|
104 |
-
if ( ! isset( $instance ) ) {
|
105 |
-
$instance = new WC_Advanced_Shipment_Tracking_Email_Manager();
|
106 |
-
}
|
107 |
-
|
108 |
-
return $instance;
|
109 |
-
}
|
110 |
-
|
111 |
-
/**
|
112 |
-
* Register this class globally.
|
113 |
-
*
|
114 |
-
* Backward compatibility.
|
115 |
-
*/
|
116 |
-
wc_advanced_shipment_tracking_email_class();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/emails/class-shipment-partial-shipped-email.php
DELETED
@@ -1,197 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Class WC_Email_Customer_Partial_Shipped_Order file.
|
4 |
-
*
|
5 |
-
* @package WooCommerce\Emails
|
6 |
-
*/
|
7 |
-
|
8 |
-
if ( ! defined( 'ABSPATH' ) ) {
|
9 |
-
exit; // Exit if accessed directly.
|
10 |
-
}
|
11 |
-
|
12 |
-
if ( ! class_exists( 'WC_Email_Customer_Partial_Shipped_Order', false ) ) :
|
13 |
-
|
14 |
-
/**
|
15 |
-
* Customer Completed Order Email.
|
16 |
-
*
|
17 |
-
* Order complete emails are sent to the customer when the order is marked complete and usual indicates that the order has been shipped.
|
18 |
-
*
|
19 |
-
* @class WC_Email_Customer_Partial_Shipped_Order
|
20 |
-
* @version 2.0.0
|
21 |
-
* @package WooCommerce/Classes/Emails
|
22 |
-
* @extends WC_Email
|
23 |
-
*/
|
24 |
-
class WC_Email_Customer_Partial_Shipped_Order extends WC_Email {
|
25 |
-
|
26 |
-
/**
|
27 |
-
* Constructor.
|
28 |
-
*/
|
29 |
-
public function __construct() {
|
30 |
-
$this->id = 'customer_partial_shipped_order';
|
31 |
-
$this->customer_email = true;
|
32 |
-
$this->title = __( 'Partially Shipped order', 'woocommerce' );
|
33 |
-
$this->description = __( 'Order partially shipped emails are sent to customers when their orders are marked partially shipped and usually indicate that their orders have been partially shipped.', 'woocommerce' );
|
34 |
-
$this->template_html = 'emails/customer-partial-shipped-order.php';
|
35 |
-
$this->template_plain = 'emails/plain/customer-completed-order.php';
|
36 |
-
$this->placeholders = array(
|
37 |
-
'{order_date}' => '',
|
38 |
-
'{order_number}' => '',
|
39 |
-
);
|
40 |
-
$this->template_base = AST_TEMPLATE_PATH;
|
41 |
-
// Triggers for this email.
|
42 |
-
//add_action( 'woocommerce_order_status_completed_notification', array( $this, 'trigger' ), 10, 2 );
|
43 |
-
|
44 |
-
// Call parent constructor.
|
45 |
-
parent::__construct();
|
46 |
-
}
|
47 |
-
|
48 |
-
/**
|
49 |
-
* Trigger the sending of this email.
|
50 |
-
*
|
51 |
-
* @param int $order_id The order ID.
|
52 |
-
* @param WC_Order|false $order Order object.
|
53 |
-
*/
|
54 |
-
public function trigger( $order_id, $order = false ) {
|
55 |
-
$this->setup_locale();
|
56 |
-
|
57 |
-
if ( $order_id && ! is_a( $order, 'WC_Order' ) ) {
|
58 |
-
$order = wc_get_order( $order_id );
|
59 |
-
}
|
60 |
-
|
61 |
-
if ( is_a( $order, 'WC_Order' ) ) {
|
62 |
-
$this->object = $order;
|
63 |
-
$this->recipient = $this->object->get_billing_email();
|
64 |
-
$this->placeholders['{order_date}'] = wc_format_datetime( $this->object->get_date_created() );
|
65 |
-
$this->placeholders['{order_number}'] = $this->object->get_order_number();
|
66 |
-
}
|
67 |
-
|
68 |
-
if ( $this->is_enabled() && $this->get_recipient() ) {
|
69 |
-
$this->send( $this->get_recipient(), $this->get_subject(), $this->get_content(), $this->get_headers(), $this->get_attachments() );
|
70 |
-
}
|
71 |
-
|
72 |
-
$this->restore_locale();
|
73 |
-
}
|
74 |
-
|
75 |
-
/**
|
76 |
-
* Get email subject.
|
77 |
-
*
|
78 |
-
* @since 3.1.0
|
79 |
-
* @return string
|
80 |
-
*/
|
81 |
-
public function get_default_subject() {
|
82 |
-
return __( 'Your {site_title} order is now partially shipped', 'woocommerce' );
|
83 |
-
}
|
84 |
-
|
85 |
-
/**
|
86 |
-
* Get email heading.
|
87 |
-
*
|
88 |
-
* @since 3.1.0
|
89 |
-
* @return string
|
90 |
-
*/
|
91 |
-
public function get_default_heading() {
|
92 |
-
return __( 'Your Order is Partially Shipped', 'woocommerce' );
|
93 |
-
}
|
94 |
-
|
95 |
-
/**
|
96 |
-
* Get content html.
|
97 |
-
*
|
98 |
-
* @return string
|
99 |
-
*/
|
100 |
-
public function get_content_html() {
|
101 |
-
$template = $this->get_template( 'template_html' );
|
102 |
-
$local_file = $this->get_theme_template_file( $template );
|
103 |
-
if ( file_exists( $local_file ) && is_writable( $local_file )) {
|
104 |
-
return wc_get_template_html(
|
105 |
-
$this->template_html,
|
106 |
-
array(
|
107 |
-
'order' => $this->object,
|
108 |
-
'email_heading' => $this->get_heading(),
|
109 |
-
'additional_content' => $this->get_additional_content(),
|
110 |
-
'sent_to_admin' => false,
|
111 |
-
'plain_text' => false,
|
112 |
-
'email' => $this,
|
113 |
-
)
|
114 |
-
);
|
115 |
-
} else if ( class_exists('ast_pro') ) {
|
116 |
-
return wc_get_template_html(
|
117 |
-
'emails/customer-partial-shipped-order.php',
|
118 |
-
array(
|
119 |
-
'order' => $this->object,
|
120 |
-
'email_heading' => $this->get_heading(),
|
121 |
-
'additional_content' => $this->get_additional_content(),
|
122 |
-
'sent_to_admin' => false,
|
123 |
-
'plain_text' => false,
|
124 |
-
'email' => $this,
|
125 |
-
),
|
126 |
-
'woocommerce-advanced-shipment-tracking/',
|
127 |
-
ast_pro()->get_plugin_path() . '/templates/'
|
128 |
-
);
|
129 |
-
} else {
|
130 |
-
return wc_get_template_html(
|
131 |
-
'emails/customer-partial-shipped-order.php',
|
132 |
-
array(
|
133 |
-
'order' => $this->object,
|
134 |
-
'email_heading' => $this->get_heading(),
|
135 |
-
'additional_content' => $this->get_additional_content(),
|
136 |
-
'sent_to_admin' => false,
|
137 |
-
'plain_text' => false,
|
138 |
-
'email' => $this,
|
139 |
-
),
|
140 |
-
'woocommerce-advanced-shipment-tracking/',
|
141 |
-
wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/'
|
142 |
-
);
|
143 |
-
}
|
144 |
-
}
|
145 |
-
|
146 |
-
/**
|
147 |
-
* Get content plain.
|
148 |
-
*
|
149 |
-
* @return string
|
150 |
-
*/
|
151 |
-
public function get_content_plain() {
|
152 |
-
$template = $this->get_template( 'template_html' );
|
153 |
-
$local_file = $this->get_theme_template_file( $template );
|
154 |
-
if ( file_exists( $local_file ) && is_writable( $local_file )) {
|
155 |
-
//echo $local_file;exit;
|
156 |
-
return wc_get_template_html(
|
157 |
-
$this->template_html,
|
158 |
-
array(
|
159 |
-
'order' => $this->object,
|
160 |
-
'email_heading' => $this->get_heading(),
|
161 |
-
'additional_content' => $this->get_additional_content(),
|
162 |
-
'sent_to_admin' => false,
|
163 |
-
'plain_text' => false,
|
164 |
-
'email' => $this,
|
165 |
-
)
|
166 |
-
);
|
167 |
-
} else {
|
168 |
-
return wc_get_template_html(
|
169 |
-
'emails/customer-partial-shipped-order.php',
|
170 |
-
array(
|
171 |
-
'order' => $this->object,
|
172 |
-
'email_heading' => $this->get_heading(),
|
173 |
-
'additional_content' => $this->get_additional_content(),
|
174 |
-
'sent_to_admin' => false,
|
175 |
-
'plain_text' => false,
|
176 |
-
'email' => $this,
|
177 |
-
),
|
178 |
-
'woocommerce-advanced-shipment-tracking/',
|
179 |
-
wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/'
|
180 |
-
);
|
181 |
-
}
|
182 |
-
}
|
183 |
-
|
184 |
-
/**
|
185 |
-
* Default content to show below main email content.
|
186 |
-
*
|
187 |
-
* @since 3.7.0
|
188 |
-
* @return string
|
189 |
-
*/
|
190 |
-
public function get_default_additional_content() {
|
191 |
-
return __( 'Thanks for shopping with us.', 'woocommerce' );
|
192 |
-
}
|
193 |
-
}
|
194 |
-
|
195 |
-
endif;
|
196 |
-
|
197 |
-
return new WC_Email_Customer_Partial_Shipped_Order();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/emails/class-shipment-updated-tracking-email.php
DELETED
@@ -1,184 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Class WC_Email_Customer_Updated_Tracking_Order file.
|
4 |
-
*
|
5 |
-
* @package WooCommerce\Emails
|
6 |
-
*/
|
7 |
-
|
8 |
-
if ( ! defined( 'ABSPATH' ) ) {
|
9 |
-
exit; // Exit if accessed directly.
|
10 |
-
}
|
11 |
-
|
12 |
-
if ( ! class_exists( 'WC_Email_Customer_Updated_Tracking_Order', false ) ) :
|
13 |
-
|
14 |
-
/**
|
15 |
-
* Customer Completed Order Email.
|
16 |
-
*
|
17 |
-
* Order complete emails are sent to the customer when the order is marked complete and usual indicates that the order has been shipped.
|
18 |
-
*
|
19 |
-
* @class WC_Email_Customer_Updated_Tracking_Order
|
20 |
-
* @version 2.0.0
|
21 |
-
* @package WooCommerce/Classes/Emails
|
22 |
-
* @extends WC_Email
|
23 |
-
*/
|
24 |
-
class WC_Email_Customer_Updated_Tracking_Order extends WC_Email {
|
25 |
-
|
26 |
-
/**
|
27 |
-
* Constructor.
|
28 |
-
*/
|
29 |
-
public function __construct() {
|
30 |
-
$this->id = 'customer_updated_tracking_order';
|
31 |
-
$this->customer_email = true;
|
32 |
-
$this->title = __( 'Updated Tracking order', 'woocommerce' );
|
33 |
-
$this->description = __( 'Order updated tracking emails are sent to customers when their orders are marked updated tracking and usually indicate that their orders have been updated tracking.', 'woocommerce' );
|
34 |
-
$this->template_html = 'emails/customer-updated-tracking-order.php';
|
35 |
-
$this->template_plain = 'emails/plain/customer-updated-tracking-order.php';
|
36 |
-
$this->placeholders = array(
|
37 |
-
'{order_date}' => '',
|
38 |
-
'{order_number}' => '',
|
39 |
-
);
|
40 |
-
$this->template_base = AST_TEMPLATE_PATH;
|
41 |
-
// Triggers for this email.
|
42 |
-
//add_action( 'woocommerce_order_status_completed_notification', array( $this, 'trigger' ), 10, 2 );
|
43 |
-
|
44 |
-
// Call parent constructor.
|
45 |
-
parent::__construct();
|
46 |
-
}
|
47 |
-
|
48 |
-
/**
|
49 |
-
* Trigger the sending of this email.
|
50 |
-
*
|
51 |
-
* @param int $order_id The order ID.
|
52 |
-
* @param WC_Order|false $order Order object.
|
53 |
-
*/
|
54 |
-
public function trigger( $order_id, $order = false ) {
|
55 |
-
$this->setup_locale();
|
56 |
-
|
57 |
-
if ( $order_id && ! is_a( $order, 'WC_Order' ) ) {
|
58 |
-
$order = wc_get_order( $order_id );
|
59 |
-
}
|
60 |
-
|
61 |
-
if ( is_a( $order, 'WC_Order' ) ) {
|
62 |
-
$this->object = $order;
|
63 |
-
$this->recipient = $this->object->get_billing_email();
|
64 |
-
$this->placeholders['{order_date}'] = wc_format_datetime( $this->object->get_date_created() );
|
65 |
-
$this->placeholders['{order_number}'] = $this->object->get_order_number();
|
66 |
-
}
|
67 |
-
|
68 |
-
if ( $this->is_enabled() && $this->get_recipient() ) {
|
69 |
-
$this->send( $this->get_recipient(), $this->get_subject(), $this->get_content(), $this->get_headers(), $this->get_attachments() );
|
70 |
-
}
|
71 |
-
|
72 |
-
$this->restore_locale();
|
73 |
-
}
|
74 |
-
|
75 |
-
/**
|
76 |
-
* Get email subject.
|
77 |
-
*
|
78 |
-
* @since 3.1.0
|
79 |
-
* @return string
|
80 |
-
*/
|
81 |
-
public function get_default_subject() {
|
82 |
-
return __( 'Your {site_title} order is now updated tracking', 'woocommerce' );
|
83 |
-
}
|
84 |
-
|
85 |
-
/**
|
86 |
-
* Get email heading.
|
87 |
-
*
|
88 |
-
* @since 3.1.0
|
89 |
-
* @return string
|
90 |
-
*/
|
91 |
-
public function get_default_heading() {
|
92 |
-
return __( 'Tracking information Update', 'woocommerce' );
|
93 |
-
}
|
94 |
-
|
95 |
-
/**
|
96 |
-
* Get content html.
|
97 |
-
*
|
98 |
-
* @return string
|
99 |
-
*/
|
100 |
-
public function get_content_html() {
|
101 |
-
$template = $this->get_template( 'template_html' );
|
102 |
-
$local_file = $this->get_theme_template_file( $template );
|
103 |
-
if ( file_exists( $local_file ) && is_writable( $local_file )) {
|
104 |
-
//echo $local_file;exit;
|
105 |
-
return wc_get_template_html(
|
106 |
-
$this->template_html,
|
107 |
-
array(
|
108 |
-
'order' => $this->object,
|
109 |
-
'email_heading' => $this->get_heading(),
|
110 |
-
'additional_content' => $this->get_additional_content(),
|
111 |
-
'sent_to_admin' => false,
|
112 |
-
'plain_text' => false,
|
113 |
-
'email' => $this,
|
114 |
-
)
|
115 |
-
);
|
116 |
-
} else {
|
117 |
-
return wc_get_template_html(
|
118 |
-
'emails/customer-updated-tracking-order.php',
|
119 |
-
array(
|
120 |
-
'order' => $this->object,
|
121 |
-
'email_heading' => $this->get_heading(),
|
122 |
-
'additional_content' => $this->get_additional_content(),
|
123 |
-
'sent_to_admin' => false,
|
124 |
-
'plain_text' => false,
|
125 |
-
'email' => $this,
|
126 |
-
),
|
127 |
-
'woocommerce-advanced-shipment-tracking/',
|
128 |
-
wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/'
|
129 |
-
);
|
130 |
-
}
|
131 |
-
}
|
132 |
-
|
133 |
-
/**
|
134 |
-
* Get content plain.
|
135 |
-
*
|
136 |
-
* @return string
|
137 |
-
*/
|
138 |
-
public function get_content_plain() {
|
139 |
-
$template = $this->get_template( 'template_html' );
|
140 |
-
$local_file = $this->get_theme_template_file( $template );
|
141 |
-
if ( file_exists( $local_file ) && is_writable( $local_file )) {
|
142 |
-
//echo $local_file;exit;
|
143 |
-
return wc_get_template_html(
|
144 |
-
$this->template_html,
|
145 |
-
array(
|
146 |
-
'order' => $this->object,
|
147 |
-
'email_heading' => $this->get_heading(),
|
148 |
-
'additional_content' => $this->get_additional_content(),
|
149 |
-
'sent_to_admin' => false,
|
150 |
-
'plain_text' => false,
|
151 |
-
'email' => $this,
|
152 |
-
)
|
153 |
-
);
|
154 |
-
} else {
|
155 |
-
return wc_get_template_html(
|
156 |
-
'emails/customer-updated-tracking-order.php',
|
157 |
-
array(
|
158 |
-
'order' => $this->object,
|
159 |
-
'email_heading' => $this->get_heading(),
|
160 |
-
'additional_content' => $this->get_additional_content(),
|
161 |
-
'sent_to_admin' => false,
|
162 |
-
'plain_text' => false,
|
163 |
-
'email' => $this,
|
164 |
-
),
|
165 |
-
'woocommerce-advanced-shipment-tracking/',
|
166 |
-
wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/'
|
167 |
-
);
|
168 |
-
}
|
169 |
-
}
|
170 |
-
|
171 |
-
/**
|
172 |
-
* Default content to show below main email content.
|
173 |
-
*
|
174 |
-
* @since 3.7.0
|
175 |
-
* @return string
|
176 |
-
*/
|
177 |
-
public function get_default_additional_content() {
|
178 |
-
return __( 'Thanks for shopping with us.', 'woocommerce' );
|
179 |
-
}
|
180 |
-
}
|
181 |
-
|
182 |
-
endif;
|
183 |
-
|
184 |
-
return new WC_Email_Customer_Updated_Tracking_Order();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/tracking-info.php
DELETED
@@ -1,82 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Adds a tracking number to an order.
|
4 |
-
*
|
5 |
-
* @param int $order_id The order id of the order you want to
|
6 |
-
* attach this tracking number to.
|
7 |
-
* @param string $tracking_number The tracking number.
|
8 |
-
* @param string $tracking_provider The tracking provider name.
|
9 |
-
* @param int $date_shipped The timestamp of the shipped date.
|
10 |
-
* This is optional, if not set it will
|
11 |
-
* use current time.
|
12 |
-
* @param int $status_shipped 0=no,1=shipped,2=partial shipped(if partial shipped order status is enabled)
|
13 |
-
*/
|
14 |
-
|
15 |
-
function ast_insert_tracking_number( $order_id, $tracking_number, $tracking_provider, $date_shipped = null, $status_shipped = 0 ) {
|
16 |
-
$args = array(
|
17 |
-
'tracking_provider' => $tracking_provider,
|
18 |
-
'tracking_number' => $tracking_number,
|
19 |
-
'date_shipped' => $date_shipped,
|
20 |
-
'status_shipped' => $status_shipped,
|
21 |
-
);
|
22 |
-
$ast = WC_Advanced_Shipment_Tracking_Actions::get_instance();
|
23 |
-
$ast->insert_tracking_item( $order_id, $args );
|
24 |
-
}
|
25 |
-
|
26 |
-
/**
|
27 |
-
* Adds a tracking number to an order.
|
28 |
-
*
|
29 |
-
* @param int $order_id The order id of the order you want to
|
30 |
-
* attach this tracking number to.
|
31 |
-
* @param string $tracking_number The tracking number.
|
32 |
-
* @param string $tracking_provider The tracking provider slug.
|
33 |
-
* @param int $date_shipped The timestamp of the shipped date.
|
34 |
-
* This is optional, if not set it will
|
35 |
-
* use current time.
|
36 |
-
* @param int $status_shipped 0=no,1=shipped,2=partial shipped(if partial shipped order status is enabled)
|
37 |
-
*/
|
38 |
-
|
39 |
-
function ast_add_tracking_number( $order_id, $tracking_number, $tracking_provider, $date_shipped = null, $status_shipped = 0 ) {
|
40 |
-
$ast = WC_Advanced_Shipment_Tracking_Actions::get_instance();
|
41 |
-
$args = array(
|
42 |
-
'tracking_provider' => $tracking_provider,
|
43 |
-
'tracking_number' => $tracking_number,
|
44 |
-
'date_shipped' => $date_shipped,
|
45 |
-
'status_shipped' => $status_shipped,
|
46 |
-
);
|
47 |
-
$ast->add_tracking_item( $order_id, $args );
|
48 |
-
}
|
49 |
-
|
50 |
-
/**
|
51 |
-
* Get a tracking information for an order.
|
52 |
-
*
|
53 |
-
* @param int $order_id The order id of the order you want to
|
54 |
-
* get tracking info.
|
55 |
-
*/
|
56 |
-
if ( !function_exists( 'ast_get_tracking_items' ) ) {
|
57 |
-
function ast_get_tracking_items( $order_id ) {
|
58 |
-
$ast = WC_Advanced_Shipment_Tracking_Actions::get_instance();
|
59 |
-
$tracking_items = $ast->get_tracking_items( $order_id, true );
|
60 |
-
return $tracking_items;
|
61 |
-
}
|
62 |
-
}
|
63 |
-
|
64 |
-
if ( !function_exists( 'ast_get_product_id_by_sku' ) ) {
|
65 |
-
function ast_get_product_id_by_sku( $sku = false ) {
|
66 |
-
|
67 |
-
global $wpdb;
|
68 |
-
|
69 |
-
if ( !$sku ) {
|
70 |
-
return null;
|
71 |
-
}
|
72 |
-
|
73 |
-
$product_id = $wpdb->get_var(
|
74 |
-
$wpdb->prepare( "SELECT post_id FROM $wpdb->postmeta WHERE meta_key='_sku' AND meta_value=%s LIMIT 1", $sku ) );
|
75 |
-
|
76 |
-
if ( $product_id ) {
|
77 |
-
return $product_id;
|
78 |
-
}
|
79 |
-
|
80 |
-
return null;
|
81 |
-
}
|
82 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/views/activity_panel.php
DELETED
@@ -1,70 +0,0 @@
|
|
1 |
-
<div class="woocommerce-layout__activity-panel">
|
2 |
-
<div class="woocommerce-layout__activity-panel-tabs">
|
3 |
-
<button type="button" id="activity-panel-tab-help" class="components-button woocommerce-layout__activity-panel-tab">
|
4 |
-
<span class="dashicons dashicons-menu-alt"></span>
|
5 |
-
</button>
|
6 |
-
</div>
|
7 |
-
<div class="woocommerce-layout__activity-panel-wrapper">
|
8 |
-
<div class="woocommerce-layout__activity-panel-content" id="activity-panel-true">
|
9 |
-
<div class="woocommerce-layout__activity-panel-header">
|
10 |
-
<div class="woocommerce-layout__inbox-title">
|
11 |
-
<p class="css-activity-panel-Text">Documentation</p>
|
12 |
-
</div>
|
13 |
-
</div>
|
14 |
-
<div>
|
15 |
-
<ul class="woocommerce-list woocommerce-quick-links__list">
|
16 |
-
<li class="woocommerce-list__item has-action">
|
17 |
-
<?php
|
18 |
-
$support_link = class_exists( 'ast_pro' ) ? 'https://www.zorem.com/?support=1' : 'https://wordpress.org/support/plugin/woo-advanced-shipment-tracking/#new-topic-0' ;
|
19 |
-
?>
|
20 |
-
<a href="<?php echo esc_url( $support_link ); ?>" class="woocommerce-list__item-inner" target="_blank" >
|
21 |
-
<div class="woocommerce-list__item-before">
|
22 |
-
<span class="dashicons dashicons-media-document"></span>
|
23 |
-
</div>
|
24 |
-
<div class="woocommerce-list__item-text">
|
25 |
-
<span class="woocommerce-list__item-title">
|
26 |
-
<div class="woocommerce-list-Text">Get Support</div>
|
27 |
-
</span>
|
28 |
-
</div>
|
29 |
-
<div class="woocommerce-list__item-after">
|
30 |
-
<span class="dashicons dashicons-arrow-right-alt2"></span>
|
31 |
-
</div>
|
32 |
-
</a>
|
33 |
-
</li>
|
34 |
-
<li class="woocommerce-list__item has-action">
|
35 |
-
<a href="https://www.zorem.com/docs/woocommerce-advanced-shipment-tracking/" class="woocommerce-list__item-inner" target="_blank">
|
36 |
-
<div class="woocommerce-list__item-before">
|
37 |
-
<span class="dashicons dashicons-media-document"></span>
|
38 |
-
</div>
|
39 |
-
<div class="woocommerce-list__item-text">
|
40 |
-
<span class="woocommerce-list__item-title">
|
41 |
-
<div class="woocommerce-list-Text">Documentation</div>
|
42 |
-
</span>
|
43 |
-
</div>
|
44 |
-
<div class="woocommerce-list__item-after">
|
45 |
-
<span class="dashicons dashicons-arrow-right-alt2"></span>
|
46 |
-
</div>
|
47 |
-
</a>
|
48 |
-
</li>
|
49 |
-
<?php if ( !class_exists( 'ast_pro' ) ) { ?>
|
50 |
-
<li class="woocommerce-list__item has-action">
|
51 |
-
<a href="https://www.zorem.com/product/woocommerce-advanced-shipment-tracking/" class="woocommerce-list__item-inner" target="_blank">
|
52 |
-
<div class="woocommerce-list__item-before">
|
53 |
-
<span class="dashicons dashicons-media-document"></span>
|
54 |
-
</div>
|
55 |
-
<div class="woocommerce-list__item-text">
|
56 |
-
<span class="woocommerce-list__item-title">
|
57 |
-
<div class="woocommerce-list-Text">Upgrade To Pro</div>
|
58 |
-
</span>
|
59 |
-
</div>
|
60 |
-
<div class="woocommerce-list__item-after">
|
61 |
-
<span class="dashicons dashicons-arrow-right-alt2"></span>
|
62 |
-
</div>
|
63 |
-
</a>
|
64 |
-
</li>
|
65 |
-
<?php } ?>
|
66 |
-
</ul>
|
67 |
-
</div>
|
68 |
-
</div>
|
69 |
-
</div>
|
70 |
-
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/views/admin_options_addons.php
DELETED
@@ -1,170 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Html code for tools tab
|
4 |
-
*/
|
5 |
-
$wc_ast_api_key = get_option('wc_ast_api_key');
|
6 |
-
?>
|
7 |
-
<section id="content6" class="tab_section">
|
8 |
-
<div class="tab_container_without_bg">
|
9 |
-
|
10 |
-
<?php
|
11 |
-
$show_addons_tab = apply_filters( 'ast_show_addons_tab', false );
|
12 |
-
|
13 |
-
if ( class_exists( 'ast_pro' ) ) {
|
14 |
-
$show_addons_tab = true;
|
15 |
-
} elseif ( class_exists( 'ast_compatibility_with_wc_shipstation' ) ) {
|
16 |
-
$show_addons_tab = true;
|
17 |
-
} elseif ( class_exists( 'ast_compatibility_with_wc_services' ) ) {
|
18 |
-
$show_addons_tab = true;
|
19 |
-
} elseif ( class_exists( 'ast_compatibility_with_readytoship' ) ) {
|
20 |
-
$show_addons_tab = true;
|
21 |
-
} elseif ( class_exists( 'paypal_tracking_add_on' ) ) {
|
22 |
-
$show_addons_tab = true;
|
23 |
-
}
|
24 |
-
$addons = isset( $_GET['addons'] ) ? sanitize_text_field( $_GET['addons'] ) : 'addons';
|
25 |
-
?>
|
26 |
-
|
27 |
-
<?php do_action('ast_addon_license_form'); ?>
|
28 |
-
<?php if ( !class_exists( 'ast_pro' ) ) { ?>
|
29 |
-
<div class="section-content trackship_addon_section">
|
30 |
-
<div class="ast-row">
|
31 |
-
<div class="as-col-6">
|
32 |
-
<div class="ts_col_inner">
|
33 |
-
<h1 class="ast_pro_landing_header">AST PRO Fulfillment Manager</h1>
|
34 |
-
<ul class="ast_pro_features_list">
|
35 |
-
<li>Premium Support</li>
|
36 |
-
<li>Tracking per item</li>
|
37 |
-
<li>Fully customizable responsive tracking widget</li>
|
38 |
-
<li>Custom order status "Shipped"</li>
|
39 |
-
<li>Custom email templates</li>
|
40 |
-
<li>PayPal tracking integration</li>
|
41 |
-
<li>Fulfillment dashboard</li>
|
42 |
-
<li>Auto-detect shipping providers</li>
|
43 |
-
<li>Tracking automation - Built-in integrations with ShipStation, Ordoro, WooCommerce Shipping and more..</li>
|
44 |
-
</ul>
|
45 |
-
<a href="https://www.zorem.com/product/woocommerce-advanced-shipment-tracking/" class="button-primary btn_ast2 btn_large" target="_blank">UPGRADE NOW</a>
|
46 |
-
</div>
|
47 |
-
</div>
|
48 |
-
<div class="as-col-6">
|
49 |
-
<div class="ts_col_inner ast_ts_landing_banner">
|
50 |
-
<img src="<?php echo esc_url( wc_advanced_shipment_tracking()->plugin_dir_url() ); ?>assets/images/ast-pro-banner.png">
|
51 |
-
</div>
|
52 |
-
</div>
|
53 |
-
</div>
|
54 |
-
</div>
|
55 |
-
<?php } ?>
|
56 |
-
|
57 |
-
<h1 class="tab_section_heading clear_spacing" style="margin: 20px 0 0;">Level up your fulfillment workflows</h1>
|
58 |
-
|
59 |
-
<div class="plugins_section free_plugin_section">
|
60 |
-
<div class="single_plugin as-col-4">
|
61 |
-
<div class="free_plugin_inner">
|
62 |
-
<div class="paid_plugin_image">
|
63 |
-
<img src="<?php echo esc_url( wc_advanced_shipment_tracking()->plugin_dir_url() ); ?>assets/images/trackship.png">
|
64 |
-
<h3 class="plugin_title">TrackShip for WooCommerce</h3>
|
65 |
-
</div>
|
66 |
-
<div class="paid_plugin_description">
|
67 |
-
<p>Take control of your post-shipping workflows, reduce time spent on customer service and provide a superior post-purchase experience to your customers.Beyond automatic shipment tracking, TrackShip brings a branded tracking experience into your store, integrates into your workflow, and takes care of all the touch points with your customers after shipping.</p>
|
68 |
-
<?php
|
69 |
-
if ( is_plugin_active('trackship-for-woocommerce/trackship-for-woocommerce.php' ) ) {
|
70 |
-
?>
|
71 |
-
<button type="button" class="button button button-primary btn_green2">Active</button>
|
72 |
-
<?php } else { ?>
|
73 |
-
<a href="https://wordpress.org/plugins/trackship-for-woocommerce/" class="button button-primary btn_ast2" target="blank"><?php esc_html_e('More Info', 'ast-pro'); ?></a>
|
74 |
-
<?php } ?>
|
75 |
-
</div>
|
76 |
-
</div>
|
77 |
-
</div>
|
78 |
-
<div class="single_plugin as-col-4">
|
79 |
-
<div class="free_plugin_inner">
|
80 |
-
<div class="paid_plugin_image">
|
81 |
-
<img src="<?php echo esc_url( wc_advanced_shipment_tracking()->plugin_dir_url() ); ?>assets/images/smswoo-icon.png">
|
82 |
-
<h3 class="plugin_title">SMS for WooCommerce</h3>
|
83 |
-
</div>
|
84 |
-
<div class="paid_plugin_description">
|
85 |
-
<p>Keep your customers informed by sending them automated SMS text messages with order & delivery updates. You can send SMS notifications to customers when the order status is updated or when the shipment is out for delivery and more…</p>
|
86 |
-
<?php
|
87 |
-
if ( is_plugin_active('sms-for-woocommerce/sms-for-woocommerce.php' ) ) {
|
88 |
-
?>
|
89 |
-
<button type="button" class="button button button-primary btn_green2">Active</button>
|
90 |
-
<?php } else { ?>
|
91 |
-
<a href="https://www.zorem.com/product/sms-for-woocommerce/" class="button button-primary btn_ast2" target="blank"><?php esc_html_e('More Info', 'ast-pro'); ?></a>
|
92 |
-
<?php } ?>
|
93 |
-
</div>
|
94 |
-
</div>
|
95 |
-
</div>
|
96 |
-
<div class="single_plugin as-col-4">
|
97 |
-
<div class="free_plugin_inner">
|
98 |
-
<div class="paid_plugin_image">
|
99 |
-
<img src="<?php echo esc_url( wc_advanced_shipment_tracking()->plugin_dir_url() ); ?>assets/images/alp.png">
|
100 |
-
<h3 class="plugin_title">Advanced Local Pickup Pro</h3>
|
101 |
-
</div>
|
102 |
-
<div class="paid_plugin_description">
|
103 |
-
<p>The Advanced Local Pickup (ALP) helps you manage the local pickup orders workflow more conveniently by extending the WooCommerce Local Pickup shipping method. The Pro you set up multiple pickup locations, , split the business hours, apply discounts by pickup location, display local pickup message on the products pages, allow customers to choose pickup location per product, force products to be local pickup only and more…</p>
|
104 |
-
<?php
|
105 |
-
if ( is_plugin_active('advanced-local-pickup-pro/advanced-local-pickup-pro.php' ) ) {
|
106 |
-
?>
|
107 |
-
<button type="button" class="button button button-primary btn_green2">Active</button>
|
108 |
-
<?php } else { ?>
|
109 |
-
<a href="https://www.zorem.com/product/advanced-local-pickup-for-woocommerce/" class="button button-primary btn_ast2" target="blank"><?php esc_html_e('More Info', 'ast-pro'); ?></a>
|
110 |
-
<?php } ?>
|
111 |
-
</div>
|
112 |
-
</div>
|
113 |
-
</div>
|
114 |
-
<div class="single_plugin as-col-4">
|
115 |
-
<div class="free_plugin_inner">
|
116 |
-
<div class="paid_plugin_image">
|
117 |
-
<img src="<?php echo esc_url( wc_advanced_shipment_tracking()->plugin_dir_url() ); ?>assets/images/cbr.png">
|
118 |
-
<h3 class="plugin_title">Country Based Restrictions Pro</h3>
|
119 |
-
</div>
|
120 |
-
<div class="paid_plugin_description">
|
121 |
-
<p>The country-based restrictions plugin by zorem works by the WooCommerce Geolocation or the shipping country added by the customer and allows you to restrict products on your store to sell or not to sell to specific countries.</p>
|
122 |
-
<?php
|
123 |
-
if ( is_plugin_active('country-base-restrictions-pro-addon/country-base-restrictions-pro-addon.php' ) ) {
|
124 |
-
?>
|
125 |
-
<button type="button" class="button button button-primary btn_green2">Active</button>
|
126 |
-
<?php } else { ?>
|
127 |
-
<a href="https://www.zorem.com/product/country-based-restriction-pro/" class="button button-primary btn_ast2" target="blank"><?php esc_html_e('More Info', 'ast-pro'); ?></a>
|
128 |
-
<?php } ?>
|
129 |
-
</div>
|
130 |
-
</div>
|
131 |
-
</div>
|
132 |
-
<div class="single_plugin as-col-4">
|
133 |
-
<div class="free_plugin_inner">
|
134 |
-
<div class="paid_plugin_image">
|
135 |
-
<img src="<?php echo esc_url( wc_advanced_shipment_tracking()->plugin_dir_url() ); ?>assets/images/aosm.png">
|
136 |
-
<h3 class="plugin_title">Order Status Manager</h3>
|
137 |
-
</div>
|
138 |
-
<div class="paid_plugin_description">
|
139 |
-
<p>The Advanced Order Status Manager allows store owners to manage the WooCommerce orders statuses, create, edit, and delete custom Custom Order Statuses and integrate them into the WooCommerce orders flow.</p>
|
140 |
-
<?php
|
141 |
-
if ( is_plugin_active('advanced-order-status-manager/advanced-order-status-manager.php' ) ) {
|
142 |
-
?>
|
143 |
-
<button type="button" class="button button button-primary btn_green2">Active</button>
|
144 |
-
<?php } else { ?>
|
145 |
-
<a href="https://www.zorem.com/product/advanced-order-status-manager/" class="button button-primary btn_ast2" target="blank"><?php esc_html_e('More Info', 'ast-pro'); ?></a>
|
146 |
-
<?php } ?>
|
147 |
-
</div>
|
148 |
-
</div>
|
149 |
-
</div>
|
150 |
-
<div class="single_plugin as-col-4">
|
151 |
-
<div class="free_plugin_inner">
|
152 |
-
<div class="paid_plugin_image">
|
153 |
-
<img src="<?php echo esc_url( wc_advanced_shipment_tracking()->plugin_dir_url() ); ?>assets/images/sre.png">
|
154 |
-
<h3 class="plugin_title">Sales Report Email</h3>
|
155 |
-
</div>
|
156 |
-
<div class="paid_plugin_description">
|
157 |
-
<p>The Sales Report Email Pro will help know how well your store is performing and how your products are selling by sending you a daily, weekly, or monthly sales report by email, directly from your WooCommerce store.</p>
|
158 |
-
<?php
|
159 |
-
if ( is_plugin_active('sales-report-email-pro/sales-report-email-pro.php' ) ) {
|
160 |
-
?>
|
161 |
-
<button type="button" class="button button button-primary btn_green2">Active</button>
|
162 |
-
<?php } else { ?>
|
163 |
-
<a href="https://www.zorem.com/product/sales-report-email-pro/" class="button button-primary btn_ast2" target="blank"><?php esc_html_e('More Info', 'ast-pro'); ?></a>
|
164 |
-
<?php } ?>
|
165 |
-
</div>
|
166 |
-
</div>
|
167 |
-
</div>
|
168 |
-
</div>
|
169 |
-
</div>
|
170 |
-
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/views/admin_options_bulk_upload.php
DELETED
@@ -1,122 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Html code for bulk upload tab
|
4 |
-
*/
|
5 |
-
?>
|
6 |
-
<section id="content4" class="tab_section">
|
7 |
-
<div class="tab_container_without_bg_1000">
|
8 |
-
<h2 class="tab_page_heading clear_spacing"><?php esc_html_e( 'CSV Import', 'woo-advanced-shipment-tracking' ); ?></h2>
|
9 |
-
<p><?php esc_html_e('Use our CSV Import Tool to bulk Import tracking info to orders from a CSV file', 'woo-advanced-shipment-tracking'); ?></p>
|
10 |
-
<!-- progressbar -->
|
11 |
-
<section class="woocommerce-progress-form-wrapper" style="display:block;">
|
12 |
-
<ol class="wc-progress-steps">
|
13 |
-
<li class="progress_step1 active"><?php esc_html_e('Upload CSV file', 'woocommerce'); ?></li>
|
14 |
-
<li class="progress_step2"><?php esc_html_e('Import', 'woocommerce'); ?></li>
|
15 |
-
<li class="progress_step3"><?php esc_html_e('Done!', 'woocommerce'); ?></li>
|
16 |
-
</ol>
|
17 |
-
<form method="post" id="wc_ast_upload_csv_form" action="" enctype="multipart/form-data" style="text-align:left;">
|
18 |
-
<div class="upload_csv_div">
|
19 |
-
<div class="outer_form_table">
|
20 |
-
<table class="form-table upload_csv_table">
|
21 |
-
<tbody>
|
22 |
-
<tr valign="top" class="border-bottom-1">
|
23 |
-
<th scope="row" class="">
|
24 |
-
<label for=""><?php esc_html_e('Upload a CSV file from your computer:', 'woo-advanced-shipment-tracking'); ?></label>
|
25 |
-
</th>
|
26 |
-
<td scope="row" class="input_file_cl">
|
27 |
-
<input type="file" name="trcking_csv_file" id="trcking_csv_file">
|
28 |
-
</td>
|
29 |
-
</tr>
|
30 |
-
<tr valign="top" class="border-bottom-1">
|
31 |
-
<th scope="row" class="">
|
32 |
-
<label for=""><?php esc_html_e('Choose the Shipped Date format', 'woo-advanced-shipment-tracking'); ?></label>
|
33 |
-
</th>
|
34 |
-
<td scope="row" class="">
|
35 |
-
<?php $date_format = get_option( 'date_format_for_csv_import', 'd-m-Y' ); ?>
|
36 |
-
<label class="ast_radio_label" for="date_format_ddmmyy">
|
37 |
-
<input type="radio" <?php esc_html_e( ( 'd-m-Y' == $date_format ) ? 'checked' : '' ); ?> id="date_format_ddmmyy" name="date_format_for_csv_import" class="" value="d-m-Y"/> dd/mm/YYYY
|
38 |
-
</label>
|
39 |
-
<label class="ast_radio_label" for="date_format_mmddyy">
|
40 |
-
<input type="radio" <?php esc_html_e( ( 'm-d-Y' == $date_format ) ? 'checked' : '' ); ?> id="date_format_mmddyy" name="date_format_for_csv_import" class="" value="m-d-Y"/> mm/dd/YYYY
|
41 |
-
</label>
|
42 |
-
</td>
|
43 |
-
</tr>
|
44 |
-
<tr valign="top" class="">
|
45 |
-
<th scope="row" class="">
|
46 |
-
<label for=""><?php esc_html_e('Replace tracking information?', 'woo-advanced-shipment-tracking'); ?><span class="woocommerce-help-tip tipTip" data-tip="<?php esc_html_e('Keep unchecked for the tracking info to be added to any existing tracking info added to the orders.', 'woo-advanced-shipment-tracking'); ?>"></span></label>
|
47 |
-
</th>
|
48 |
-
<td scope="row" class="">
|
49 |
-
<input type="checkbox" id="replace_tracking_info" name="replace_tracking_info" class="" value="1"/>
|
50 |
-
</td>
|
51 |
-
</tr>
|
52 |
-
<tr valign="top" class="">
|
53 |
-
<td scope="row" class="button-column" colspan="2">
|
54 |
-
<div class="submit">
|
55 |
-
<button name="save" class="button-primary btn_ast2" type="submit" value="Save"><?php esc_html_e('Continue', 'woo-advanced-shipment-tracking'); ?></button>
|
56 |
-
<div class="spinner" style="float:none"></div>
|
57 |
-
<div class="success_msg" style="display:none;"><?php esc_html_e('Settings Saved.', 'woo-advanced-shipment-tracking'); ?></div>
|
58 |
-
<div class="error_msg" style="display:none;"></div>
|
59 |
-
<input type="hidden" name="action" value="wc_ast_upload_csv_form_update">
|
60 |
-
</div>
|
61 |
-
</td>
|
62 |
-
</tr>
|
63 |
-
</tbody>
|
64 |
-
</table>
|
65 |
-
</div>
|
66 |
-
</div>
|
67 |
-
<div class="bulk_upload_status_div" style="display:none;">
|
68 |
-
<div class="outer_form_table">
|
69 |
-
<div class="completed_icon"></div>
|
70 |
-
<table class="form-table upload_csv_table">
|
71 |
-
<tbody>
|
72 |
-
<tr valign="top" class="bulk_upload_status_heading_tr">
|
73 |
-
<td scope="row" class="input_file_cl bulk_upload_status_td" colspan="2">
|
74 |
-
<h2><?php esc_html_e('Import in Progress', 'woo-advanced-shipment-tracking'); ?><span class="spinner is-active"></span></h2>
|
75 |
-
</td>
|
76 |
-
</tr>
|
77 |
-
<tr valign="top" class="bulk_upload_status_overview_tr">
|
78 |
-
<td scope="row" class="bulk_upload_status_overview_td csv_success_msg" colspan="2">
|
79 |
-
<span></span>
|
80 |
-
</td>
|
81 |
-
</tr>
|
82 |
-
<tr valign="top" class="bulk_upload_status_overview_tr">
|
83 |
-
<td scope="row" class="bulk_upload_status_overview_td csv_fail_msg" colspan="2">
|
84 |
-
<span></span>
|
85 |
-
<a href="javascript:void(0);" class="view_csv_error_details"><?php esc_html_e('view details', 'woo-advanced-shipment-tracking'); ?></a>
|
86 |
-
</td>
|
87 |
-
</tr>
|
88 |
-
<tr valign="top" class="bulk_upload_status_detail_error_tr">
|
89 |
-
<td scope="row" colspan="2">
|
90 |
-
<ul class="csv_error_details_ul">
|
91 |
-
</ul>
|
92 |
-
</td>
|
93 |
-
</tr>
|
94 |
-
<tr class="bulk_upload_status_tr">
|
95 |
-
<td scope="row" colspan="2">
|
96 |
-
<div id="p1" class="mdl-progress mdl-js-progress" style=""></div>
|
97 |
-
<div class="progress2 progress-moved">
|
98 |
-
<div class="progress-bar2" >
|
99 |
-
</div>
|
100 |
-
</div>
|
101 |
-
<ul class="csv_upload_status"></ul>
|
102 |
-
</td>
|
103 |
-
</tr>
|
104 |
-
<tr valign="top" class="bulk_upload_status_action" style="display:none;">
|
105 |
-
<td>
|
106 |
-
<a class="button-primary btn_ast2" href="<?php echo esc_url( admin_url( 'edit.php?post_type=shop_order' ) ); ?>"><?php esc_html_e('View Orders', 'woo-advanced-shipment-tracking'); ?></a>
|
107 |
-
<a href="javascript:void(0)" class="csv_upload_again button-primary btn_ast2"><?php esc_html_e('Upload again', 'woo-advanced-shipment-tracking'); ?></a>
|
108 |
-
</td>
|
109 |
-
</tr>
|
110 |
-
</tbody>
|
111 |
-
</table>
|
112 |
-
</div>
|
113 |
-
</div>
|
114 |
-
<input type="hidden" id="nonce_csv_import" value="<?php esc_html_e( wp_create_nonce( 'nonce_csv_import' ) ); ?>">
|
115 |
-
</form>
|
116 |
-
<ul class="bulk_upload_documentation_ul">
|
117 |
-
<li><span class="dashicons dashicons-download"></span><a class="" href="<?php echo esc_url( wc_advanced_shipment_tracking()->plugin_dir_url() ); ?>/assets/tracking.csv"><?php esc_html_e('Download sample csv', 'woo-advanced-shipment-tracking'); ?></a></li>
|
118 |
-
<li><span class="dashicons dashicons-media-document"></span><a target="blank" href="https://www.zorem.com/docs/woocommerce-advanced-shipment-tracking/bulk-import-shipment-tracking/"><?php esc_html_e('How to import tracking number from CSV files?', 'woo-advanced-shipment-tracking'); ?></a></li>
|
119 |
-
</ul>
|
120 |
-
</section>
|
121 |
-
</div>
|
122 |
-
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/views/admin_options_osm.php
DELETED
@@ -1,88 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
$wcast_initialise_customizer_settings = new wcast_initialise_customizer_settings();
|
3 |
-
?>
|
4 |
-
<div class="custom_order_status_section">
|
5 |
-
<table class="form-table order-status-table">
|
6 |
-
<tbody>
|
7 |
-
<tr valign="top">
|
8 |
-
<td class="forminp">
|
9 |
-
<input type="hidden" name="wc_ast_status_shipped" value="0"/>
|
10 |
-
<input class="ast-tgl ast-tgl-flat" id="wc_ast_status_shipped" name="wc_ast_status_shipped" type="checkbox" <?php ( get_option( 'wc_ast_status_shipped', 1 ) ) ? esc_html_e( 'checked' ) : ''; ?> value="1"/>
|
11 |
-
<label class="ast-tgl-btn" for="wc_ast_status_shipped"></label>
|
12 |
-
</td>
|
13 |
-
<td colspan="2" class="status_shipped_label">
|
14 |
-
<?php esc_html_e( 'Rename the “Completed” Order status label to “Shipped”', 'woo-advanced-shipment-tracking' ); ?>
|
15 |
-
</td>
|
16 |
-
<td style="text-align:right;">
|
17 |
-
<a class='settings_edit' href="<?php echo esc_url( $wcast_initialise_customizer_settings->get_customizer_url( 'ast_tracking_general_section', 'settings' ) ); ?>"><?php esc_html_e( 'Customize', 'woocommerce' ); ?></a>
|
18 |
-
</td>
|
19 |
-
</tr>
|
20 |
-
|
21 |
-
<?php
|
22 |
-
$osm_data = $this->get_osm_data();
|
23 |
-
foreach ( $osm_data as $o_status => $data ) {
|
24 |
-
$checked = ( get_option( $data['id'] ) ) ? 'checked' : '';
|
25 |
-
$disable_row = ( !get_option( $data['id'] ) ) ? 'disable_row' : '';
|
26 |
-
$wc_ast_status_shipped = get_option( 'wc_ast_status_shipped' );
|
27 |
-
if ( $wc_ast_status_shipped && 'shipped' == $o_status ) {
|
28 |
-
$checked = '';
|
29 |
-
$disable_row = 'disable_row';
|
30 |
-
}
|
31 |
-
?>
|
32 |
-
<tr valign="top" class="<?php echo esc_html( $o_status ); ?>_row <?php echo esc_html( $disable_row ); ?>">
|
33 |
-
<td class="forminp">
|
34 |
-
<input type="hidden" name="<?php echo esc_html( $data['id'] ); ?>" value="0"/>
|
35 |
-
<input class="ast-tgl ast-tgl-flat order_status_toggle" id="<?php echo esc_html( $data['id'] ); ?>" name="<?php echo esc_html( $data['id'] ); ?>" type="checkbox" value="1" <?php echo esc_html( $checked ); ?> />
|
36 |
-
<label class="ast-tgl-btn" for="<?php echo esc_html( $data['id'] ); ?>"></label>
|
37 |
-
</td>
|
38 |
-
<td class="forminp status-label-column">
|
39 |
-
<span class="order-label <?php echo esc_html( $data['label_class'] ); ?>">
|
40 |
-
<?php
|
41 |
-
if ( get_option( $data['id'] ) ) {
|
42 |
-
esc_html_e( wc_get_order_status_name( $data['slug'] ), 'woo-advanced-shipment-tracking' );
|
43 |
-
} else {
|
44 |
-
echo esc_html( $data['label'] );
|
45 |
-
}
|
46 |
-
?>
|
47 |
-
</span>
|
48 |
-
</td>
|
49 |
-
<td class="forminp">
|
50 |
-
<?php
|
51 |
-
$ast_enable_email = get_option($data['option_id']);
|
52 |
-
|
53 |
-
$checked = '';
|
54 |
-
|
55 |
-
if ( isset( $ast_enable_email['enabled'] ) ) {
|
56 |
-
if ( 'yes' == $ast_enable_email['enabled'] || 1 == $ast_enable_email['enabled'] ) {
|
57 |
-
$checked = 'checked';
|
58 |
-
}
|
59 |
-
}
|
60 |
-
|
61 |
-
?>
|
62 |
-
<fieldset>
|
63 |
-
<input class="input-text regular-input color_input" type="text" name="<?php echo esc_html( $data['label_color_field'] ); ?>" id="<?php echo esc_html( $data['label_color_field'] ); ?>" style="" value="<?php esc_html_e( get_option( $data['label_color_field'], '#1e73be' ) ); ?>" placeholder="">
|
64 |
-
<select class="select custom_order_color_select" id="<?php echo esc_html( $data['font_color_field'] ); ?>" name="<?php echo esc_html( $data['font_color_field'] ); ?>">
|
65 |
-
<option value="#fff" <?php ( '#fff' == get_option( $data['font_color_field'], '#fff' ) ) ? esc_html_e( 'selected' ) : ''; ?>><?php esc_html_e( 'Light Font', 'woo-advanced-shipment-tracking' ); ?></option>
|
66 |
-
<option value="#000" <?php ( '#000' == get_option( $data['font_color_field'], '#fff' ) ) ? esc_html_e( 'selected' ) : ''; ?>><?php esc_html_e( 'Dark Font', 'woo-advanced-shipment-tracking' ); ?></option>
|
67 |
-
</select>
|
68 |
-
</fieldset>
|
69 |
-
</td>
|
70 |
-
<td class="forminp" style="text-align:right;">
|
71 |
-
<fieldset>
|
72 |
-
<label class="send_email_label">
|
73 |
-
<input type="hidden" name="<?php esc_html_e( $data['email_field'] ); ?>" value="0"/>
|
74 |
-
<input type="checkbox" name="<?php esc_html_e( $data['email_field'] ); ?>" id="<?php esc_html_e( $data['email_field'] ); ?>"class="enable_order_status_email_input" <?php esc_html_e( $checked ); ?> value="1"><?php esc_html_e( 'Send Email', 'woo-advanced-shipment-tracking' ); ?>
|
75 |
-
</label>
|
76 |
-
<a class='settings_edit' href="<?php echo esc_url( $data['edit_email'] ); ?>"><?php esc_html_e( 'Customize', 'woocommerce' ); ?></a>
|
77 |
-
</fieldset>
|
78 |
-
</td>
|
79 |
-
</tr>
|
80 |
-
<?php
|
81 |
-
}
|
82 |
-
do_action('ast_orders_status_column_end');
|
83 |
-
?>
|
84 |
-
</tbody>
|
85 |
-
</table>
|
86 |
-
<?php wp_nonce_field( 'wc_ast_order_status_form', 'wc_ast_order_status_form_nonce' ); ?>
|
87 |
-
<input type="hidden" name="action" value="wc_ast_custom_order_status_form_update">
|
88 |
-
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/views/admin_options_settings.php
DELETED
@@ -1,79 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Html code for settings tab
|
4 |
-
*/
|
5 |
-
?>
|
6 |
-
<section id="content2" class="tab_section">
|
7 |
-
<form method="post" id="wc_ast_settings_form" action="" enctype="multipart/form-data">
|
8 |
-
|
9 |
-
<div class="accordion_container">
|
10 |
-
|
11 |
-
<div class="accordion_set">
|
12 |
-
<div class="accordion heading add-tracking-option">
|
13 |
-
<label>
|
14 |
-
<?php esc_html_e( 'Add Tracking Options', 'woo-advanced-shipment-tracking' ); ?>
|
15 |
-
<span class="ast-accordion-btn">
|
16 |
-
<div class="spinner workflow_spinner" style="float:none"></div>
|
17 |
-
<button name="save" class="button-primary woocommerce-save-button btn_ast2" type="submit" value="Save changes"><?php esc_html_e( 'Save & Close', 'woo-advanced-shipment-tracking' ); ?></button>
|
18 |
-
</span>
|
19 |
-
<span class="dashicons dashicons-arrow-right-alt2"></span>
|
20 |
-
</label>
|
21 |
-
</div>
|
22 |
-
<div class="panel options add-tracking-option">
|
23 |
-
<?php $this->get_html_ul( $this->get_add_tracking_options() ); ?>
|
24 |
-
</div>
|
25 |
-
</div>
|
26 |
-
|
27 |
-
<div class="accordion_set">
|
28 |
-
<div class="accordion heading add-tracking-option">
|
29 |
-
<label>
|
30 |
-
<?php esc_html_e( 'Customer View', 'woo-advanced-shipment-tracking' ); ?>
|
31 |
-
<span class="ast-accordion-btn">
|
32 |
-
<div class="spinner workflow_spinner" style="float:none"></div>
|
33 |
-
<button name="save" class="button-primary woocommerce-save-button btn_ast2" type="submit" value="Save changes"><?php esc_html_e( 'Save & Close', 'woo-advanced-shipment-tracking' ); ?></button>
|
34 |
-
</span>
|
35 |
-
<span class="dashicons dashicons-arrow-right-alt2"></span>
|
36 |
-
</label>
|
37 |
-
</div>
|
38 |
-
<div class="panel options add-tracking-option">
|
39 |
-
<?php $this->get_html_ul( $this->get_customer_view_options() ); ?>
|
40 |
-
</div>
|
41 |
-
</div>
|
42 |
-
|
43 |
-
<div class="accordion_set">
|
44 |
-
<div class="accordion heading add-tracking-option">
|
45 |
-
<label>
|
46 |
-
<?php esc_html_e( 'Shipment Tracking API', 'woo-advanced-shipment-tracking' ); ?>
|
47 |
-
<span class="ast-accordion-btn">
|
48 |
-
<div class="spinner workflow_spinner" style="float:none"></div>
|
49 |
-
<button name="save" class="button-primary woocommerce-save-button btn_ast2" type="submit" value="Save changes"><?php esc_html_e( 'Save & Close', 'woo-advanced-shipment-tracking' ); ?></button>
|
50 |
-
</span>
|
51 |
-
<span class="dashicons dashicons-arrow-right-alt2"></span>
|
52 |
-
</label>
|
53 |
-
</div>
|
54 |
-
<div class="panel options add-tracking-option">
|
55 |
-
<?php $this->get_html_ul( $this->get_shipment_tracking_api_options() ); ?>
|
56 |
-
</div>
|
57 |
-
</div>
|
58 |
-
|
59 |
-
<div class="accordion_set">
|
60 |
-
<div class="accordion heading add-tracking-option">
|
61 |
-
<label>
|
62 |
-
<?php esc_html_e( 'Order Statuses', 'woo-advanced-shipment-tracking' ); ?>
|
63 |
-
<span class="ast-accordion-btn">
|
64 |
-
<div class="spinner workflow_spinner" style="float:none"></div>
|
65 |
-
<button name="save" class="button-primary woocommerce-save-button btn_ast2" type="submit" value="Save changes"><?php esc_html_e( 'Save & Close', 'woo-advanced-shipment-tracking' ); ?></button>
|
66 |
-
</span>
|
67 |
-
<span class="dashicons dashicons-arrow-right-alt2"></span>
|
68 |
-
</label>
|
69 |
-
</div>
|
70 |
-
<div class="panel options add-tracking-option">
|
71 |
-
<?php require_once( 'admin_options_osm.php' ); ?>
|
72 |
-
</div>
|
73 |
-
</div>
|
74 |
-
</div>
|
75 |
-
|
76 |
-
<?php wp_nonce_field( 'wc_ast_settings_form', 'wc_ast_settings_form_nonce' ); ?>
|
77 |
-
<input type="hidden" name="action" value="wc_ast_settings_form_update">
|
78 |
-
</form>
|
79 |
-
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/views/admin_options_shipping_provider.php
DELETED
@@ -1,130 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Html code for shipping providers tab
|
4 |
-
*/
|
5 |
-
|
6 |
-
$wc_ast_api_key = get_option('wc_ast_api_key');
|
7 |
-
|
8 |
-
$upload_dir = wp_upload_dir();
|
9 |
-
$ast_directory = $upload_dir['baseurl'] . '/ast-shipping-providers/';
|
10 |
-
|
11 |
-
if ( isset( $_GET['open'] ) && 'synch_providers' == $_GET['open'] ) {
|
12 |
-
?>
|
13 |
-
<script>
|
14 |
-
jQuery( document ).ready(function() {
|
15 |
-
jQuery('.sync_provider_popup').show();
|
16 |
-
});
|
17 |
-
</script>
|
18 |
-
<?php } ?>
|
19 |
-
<section id="content1" class="tab_section">
|
20 |
-
<div class="tab_container_without_bg">
|
21 |
-
|
22 |
-
<div class="provider_top">
|
23 |
-
<div class="search_section">
|
24 |
-
<span class="dashicons dashicons-search search-icon"></span>
|
25 |
-
<input class="provider_search_bar" type="text" name="search_provider" id="search_provider" placeholder="<?php esc_html_e( 'Search by provider / country', 'woo-advanced-shipment-tracking'); ?>">
|
26 |
-
</div>
|
27 |
-
|
28 |
-
<div class="provider_settings">
|
29 |
-
<a href="javaScript:void(0);" class="provider_settings_icon upgrade_to_ast_pro"><span class="dashicons dashicons-plus-alt"></span></a>
|
30 |
-
<a href="javaScript:void(0);" class="sync_providers provider_settings_icon"><span class="dashicons dashicons-update"></span></a>
|
31 |
-
<input class="ast-tgl ast-tgl-flat" id="reset_providers" name="reset_providers" type="checkbox" value="1"/>
|
32 |
-
<label class="ast-tgl-btn" for="reset_providers"></label>
|
33 |
-
</div>
|
34 |
-
</div>
|
35 |
-
|
36 |
-
<div class="provider_list">
|
37 |
-
<?php
|
38 |
-
if ( $default_shippment_providers ) {
|
39 |
-
echo wp_kses_post( $this->get_provider_html( $default_shippment_providers, 'all' ) );
|
40 |
-
}
|
41 |
-
?>
|
42 |
-
</div>
|
43 |
-
|
44 |
-
<input type="hidden" id="nonce_shipping_provider" value="<?php esc_html_e( wp_create_nonce( 'nonce_shipping_provider' ) ); ?>">
|
45 |
-
|
46 |
-
<div id="" class="popupwrapper edit_provider_popup" style="display:none;">
|
47 |
-
<div class="popuprow">
|
48 |
-
<div class="popup_header">
|
49 |
-
<h3 class="popup_title"><?php esc_html_e( 'Edit Shipping Provider', 'woo-advanced-shipment-tracking'); ?></h2> - <h3 class="popup_title edit_provider_title"></h2>
|
50 |
-
<span class="dashicons dashicons-no-alt popup_close_icon"></span>
|
51 |
-
</div>
|
52 |
-
<div class="popup_body">
|
53 |
-
<form id="edit_provider_form" method="POST" class="edit_provider_form">
|
54 |
-
<div class="form-field form-50">
|
55 |
-
<label><?php esc_html_e( 'Provider Name', 'woo-advanced-shipment-tracking' ); ?></label>
|
56 |
-
<input type="text" name="shipping_provider" class="shipping_provider" value="" placeholder="<?php esc_html_e( 'Shipping Provider', 'woo-advanced-shipment-tracking' ); ?>">
|
57 |
-
</div>
|
58 |
-
<div class="form-field form-50 margin-0">
|
59 |
-
<label><?php esc_html_e( 'Custom display name', 'woo-advanced-shipment-tracking' ); ?> <span class="woocommerce-help-tip tipTip" data-tip="<?php esc_html_e( "The custom display name will show in the tracking info section on the customer order emails, my-account, and TrackShip's tracking page and email notifications", 'woo-advanced-shipment-tracking' ); ?>"></span> </label>
|
60 |
-
<input type="text" name="shipping_display_name" class="shipping_display_name" value="" placeholder="<?php esc_html_e( 'White Label Provider Name', 'woo-advanced-shipment-tracking' ); ?>">
|
61 |
-
</div>
|
62 |
-
<div class="form-field api_provider_name_container">
|
63 |
-
<label><?php esc_html_e( 'Custom API name', 'woo-advanced-shipment-tracking' ); ?> <span class="woocommerce-help-tip tipTip" data-tip="<?php esc_html_e( 'Add API name aliases to map Shipping providers names with the provider names that are updated in the shipment tracking API by external shipping services', 'woo-advanced-shipment-tracking' ); ?>"></span></label>
|
64 |
-
<div class="api_provider_div">
|
65 |
-
<input type="text" name="api_provider_name[]" class="api_provider_name" value="" placeholder="<?php esc_html_e( 'API Name', 'woo-advanced-shipment-tracking' ); ?>">
|
66 |
-
<?php do_action('add_more_api_provider'); ?>
|
67 |
-
</div>
|
68 |
-
</div>
|
69 |
-
<div class="form-field form-50">
|
70 |
-
<label><?php esc_html_e( 'Country', 'woo-advanced-shipment-tracking' ); ?></label>
|
71 |
-
<select class="select wcast_shipping_country shipping_country" name="shipping_country">
|
72 |
-
<option value=""><?php esc_html_e( 'Shipping Country', 'woo-advanced-shipment-tracking' ); ?></option>
|
73 |
-
<option value="Global"><?php esc_html_e( 'Global', 'woo-advanced-shipment-tracking' ); ?></option>
|
74 |
-
<?php foreach ( $countries as $key=>$val ) { ?>
|
75 |
-
<option value="<?php esc_html_e( $key ); ?>" ><?php esc_html_e( $val, 'woo-advanced-shipment-tracking'); ?></option>
|
76 |
-
<?php } ?>
|
77 |
-
</select>
|
78 |
-
</div>
|
79 |
-
<div class="form-field">
|
80 |
-
<label><?php esc_html_e( 'Custom URL', 'woo-advanced-shipment-tracking' ); ?></label>
|
81 |
-
<input type="text" name="tracking_url" class="tracking_url" placeholder="Tracking URL">
|
82 |
-
</div>
|
83 |
-
<div class="form-field custom_provider_instruction">
|
84 |
-
<p>
|
85 |
-
<?php
|
86 |
-
/* translators: %s: search WooCommerce plugin link */
|
87 |
-
esc_html_e( 'You can use the variables %number%, %postal_code% and %country_code% in the URL, for more info, check our ', 'woo-advanced-shipment-tracking' );
|
88 |
-
/* translators: %s: search WooCommerce plugin link */
|
89 |
-
echo sprintf(__('<a href="%s" target="blank">documentation</a>', 'woo-advanced-shipment-tracking'), 'http://www.zorem.com/docs/woocommerce-advanced-shipment-tracking/setting-shipping-providers/#adding-custom-shipping-provider');
|
90 |
-
?>
|
91 |
-
</p>
|
92 |
-
</div>
|
93 |
-
<input type="hidden" name="action" value="update_custom_shipment_provider">
|
94 |
-
<input type="hidden" id="nonce_edit_shipping_provider" name="nonce_edit_shipping_provider" value="<?php esc_html_e( wp_create_nonce( 'nonce_edit_shipping_provider' ) ); ?>">
|
95 |
-
<input type="hidden" name="provider_type" id="provider_type" value="">
|
96 |
-
<input type="hidden" name="provider_id" id="provider_id" value="">
|
97 |
-
<input type="submit" name="Submit" value="<?php esc_html_e( 'Update' , 'woo-advanced-shipment-tracking'); ?>" class="button-primary btn_ast2">
|
98 |
-
<a href="javascript:void(0);" class="reset_default_provider"><?php esc_html_e( 'Reset' , 'woo-advanced-shipment-tracking'); ?></a>
|
99 |
-
</form>
|
100 |
-
</div>
|
101 |
-
</div>
|
102 |
-
<div class="popupclose"></div>
|
103 |
-
</div>
|
104 |
-
|
105 |
-
<div id="" class="popupwrapper sync_provider_popup" style="display:none;">
|
106 |
-
<div class="popuprow">
|
107 |
-
<div class="popup_header">
|
108 |
-
<h3 class="popup_title"><?php esc_html_e( 'Sync Shipping Providers', 'woo-advanced-shipment-tracking'); ?></h2>
|
109 |
-
<span class="dashicons dashicons-no-alt popup_close_icon"></span>
|
110 |
-
</div>
|
111 |
-
<div class="popup_body">
|
112 |
-
<p class="sync_message"><?php esc_html_e( 'Syncing the shipping providers list add or updates the pre-set shipping providers and will not effect custom shipping providers.', 'woo-advanced-shipment-tracking'); ?></p>
|
113 |
-
<ul class="synch_result">
|
114 |
-
<li class="providers_added"><?php esc_html_e( 'Providers Added', 'woo-advanced-shipment-tracking'); ?> - <span></span></li>
|
115 |
-
<li class="providers_updated"><?php esc_html_e( 'Providers Updated', 'woo-advanced-shipment-tracking'); ?> - <span></span></li>
|
116 |
-
<li class="providers_deleted"><?php esc_html_e( 'Providers Deleted', 'woo-advanced-shipment-tracking'); ?> - <span></span></li>
|
117 |
-
</ul>
|
118 |
-
<p class="reset_db_message" style="display:none;"><?php esc_html_e( 'Shipping providers database reset successfully.', 'woo-advanced-shipment-tracking'); ?></p>
|
119 |
-
<fieldset class="reset_db_fieldset">
|
120 |
-
<label><input type="checkbox" id="reset_tracking_providers" name="reset_tracking_providers" value="1"><?php esc_html_e( 'Reset providers database, it will reset all your shipping provider database', 'woo-advanced-shipment-tracking'); ?></label>
|
121 |
-
</fieldset>
|
122 |
-
<button class="sync_providers_btn button-primary btn_ast2"><?php esc_html_e( 'Sync Shipping Providers', 'woo-advanced-shipment-tracking'); ?></button>
|
123 |
-
<button class="close_synch_popup button-primary btn_ast2"><?php esc_html_e( 'Close', 'woocommerce'); ?></button>
|
124 |
-
<div class="spinner" style=""></div>
|
125 |
-
</div>
|
126 |
-
</div>
|
127 |
-
<div class="popupclose"></div>
|
128 |
-
</div>
|
129 |
-
</div>
|
130 |
-
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/views/admin_options_trackship_integration.php
DELETED
@@ -1,28 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Html code for trackship tab
|
4 |
-
*/
|
5 |
-
wp_enqueue_script( 'trackship_script' );
|
6 |
-
?>
|
7 |
-
<section id="trackship_landing" class="tab_section">
|
8 |
-
<div class="tab_inner_container" style="width: 100%;">
|
9 |
-
<div class="section-content trackship_section">
|
10 |
-
<div class="">
|
11 |
-
<div class="ts_col_inner">
|
12 |
-
<img class="ts_landing_logo" src="<?php echo esc_url( wc_advanced_shipment_tracking()->plugin_dir_url() ); ?>assets/images/trackship-logo.png">
|
13 |
-
<h1 class="ts_landing_header">Your Post-Shipping & Delivery Autopilot</h1>
|
14 |
-
<p class="ts_landing_description">Trackship is a Multi-Carrier Shipment Tracking API that seamlessly integrates into your WooCommerce store and auto-tracks your shipments, automates your orders workflow, reduces the time spent on customer service and lets you provide a superior post-purchase experience to your customers.</p>
|
15 |
-
<h3>Start for Free. 50 Free trackers for new accounts!</h3>
|
16 |
-
</div>
|
17 |
-
</div>
|
18 |
-
<a href="<?php echo esc_url( admin_url( 'plugin-install.php?tab=search&s=TrackShip+For+WooCommerce&plugin-search-input=Search+Plugins' ) ); ?>" target="_blank" class="button-primary btn_green2 btn_large"><span><?php esc_html_e('Install TrackShip for WooCommerce', 'woo-advanced-shipment-tracking'); ?></span><span class="dashicons dashicons-arrow-right-alt2"></span></a>
|
19 |
-
<div class="">
|
20 |
-
<div class="ts_col_inner ts_landing_banner">
|
21 |
-
<img src="<?php echo esc_url( wc_advanced_shipment_tracking()->plugin_dir_url() ); ?>assets/images/ts-header-banner.png">
|
22 |
-
|
23 |
-
<a href="https://www.youtube.com/watch?v=PhnqDorKN_c" target="_blank" class="open_ts_video"><span class="dashicons dashicons-video-alt3"></span></a>
|
24 |
-
</div>
|
25 |
-
</div>
|
26 |
-
</div>
|
27 |
-
</div>
|
28 |
-
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/views/integrations_admin_options.php
DELETED
@@ -1,25 +0,0 @@
|
|
1 |
-
<section id="integrations_content" class="tab_section">
|
2 |
-
<div class="tab_container_without_bg">
|
3 |
-
<div class="integration-grid-row grid-row">
|
4 |
-
<?php
|
5 |
-
foreach ( $this->integrations_settings_options() as $id => $array ) {
|
6 |
-
$tgl_class = isset( $array['tgl_color'] ) ? 'ast-tgl-btn-green' : '';
|
7 |
-
$disabled = isset( $array['disabled'] ) && true == $array['disabled'] ? 'disabled' : '';
|
8 |
-
?>
|
9 |
-
<div class="grid-item">
|
10 |
-
<div class="grid-item-wrapper">
|
11 |
-
<img src="<?php echo esc_url( wc_advanced_shipment_tracking()->plugin_dir_url() ); ?>assets/images/<?php esc_html_e( $array['img'] ); ?>">
|
12 |
-
<div class="grid-img-bottom">
|
13 |
-
<span class="ast-tgl-btn-parent">
|
14 |
-
<input type="hidden" name="<?php esc_html_e( $id ); ?>" value="0"/>
|
15 |
-
<input class="ast-tgl ast-tgl-flat ast-settings-toggle" id="<?php esc_html_e( $id ); ?>" name="<?php esc_html_e( $id ); ?>" type="checkbox" value="1" <?php esc_html_e( $disabled ); ?>/>
|
16 |
-
<label class="ast-tgl-btn <?php esc_html_e( $tgl_class ); ?> upgrade_to_ast_pro" for="<?php esc_html_e( $id ); ?>"></label>
|
17 |
-
</span>
|
18 |
-
<a class="integration-more-info" href="https://www.zorem.com/docs/ast-pro/integrations/" target="blank"><?php esc_html_e( 'more info', 'woo-advanced-shipment-tracking' ); ?></a>
|
19 |
-
</div>
|
20 |
-
</div>
|
21 |
-
</div>
|
22 |
-
<?php } ?>
|
23 |
-
</div>
|
24 |
-
</div>
|
25 |
-
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/views/zorem_admin_addons_sidebar.php
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* html code for admin sidebar
|
4 |
+
*/
|
5 |
+
?>
|
6 |
+
<div class="zorem_admin_sidebar">
|
7 |
+
<div class="zorem_admin_sidebar_inner">
|
8 |
+
<?php $wc_ast_api_key = get_option('wc_ast_api_key'); ?>
|
9 |
+
<div class="zorem-sidebar__section">
|
10 |
+
<h3 class="top-border">Your opinion matters to us!</h3>
|
11 |
+
<p>If you enjoy using The Advanced Shipment Tracking plugin, please take a minute and <a href="https://wordpress.org/support/plugin/woo-advanced-shipment-tracking/reviews/#new-post" target="_blank">share your review</a>
|
12 |
+
</p>
|
13 |
+
</div>
|
14 |
+
|
15 |
+
<div class="zorem-sidebar__section">
|
16 |
+
<h3 class="top-border">More plugins by zorem</h3>
|
17 |
+
<?php
|
18 |
+
$plugin_list = $this->get_zorem_pluginlist();
|
19 |
+
?>
|
20 |
+
<ul>
|
21 |
+
<?php foreach($plugin_list as $plugin){
|
22 |
+
if( 'Advanced Shipment Tracking for WooCommerce' != $plugin->title && 'Tracking Per Item Add-on' != $plugin->title) {
|
23 |
+
?>
|
24 |
+
<li><img class="plugin_thumbnail" src="<?php echo $plugin->image_url; ?>"><a class="plugin_url" href="<?php echo $plugin->url; ?>" target="_blank"><?php echo $plugin->title; ?></a></li>
|
25 |
+
<?php }
|
26 |
+
}?>
|
27 |
+
</ul>
|
28 |
+
</div>
|
29 |
+
</div>
|
30 |
+
</div>
|
includes/views/zorem_admin_bulk_upload_sidebar.php
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* html code for admin sidebar
|
4 |
+
*/
|
5 |
+
?>
|
6 |
+
<div class="zorem_admin_sidebar">
|
7 |
+
<div class="zorem_admin_sidebar_inner">
|
8 |
+
<div class="zorem-sidebar__section padding_0 import_tracking_sidebar">
|
9 |
+
<img class="import_tracking_csv_banner" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/images/CSV-Import-Tracking-info.png">
|
10 |
+
</div>
|
11 |
+
<div class="zorem-sidebar__section">
|
12 |
+
<ul class="bulk_upload_documentation_ul">
|
13 |
+
<li><a class="" href="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>/assets/tracking.csv"><?php _e('Download sample csv', 'woo-advanced-shipment-tracking'); ?></a></li>
|
14 |
+
<li><a target="blank" href="https://www.zorem.com/docs/woocommerce-advanced-shipment-tracking/bulk-import-shipment-tracking/"><?php _e('Documentation', 'woo-advanced-shipment-tracking'); ?></a></li>
|
15 |
+
</ul>
|
16 |
+
</div>
|
17 |
+
<?php $wc_ast_api_key = get_option('wc_ast_api_key');
|
18 |
+
|
19 |
+
if(!$wc_ast_api_key){ ?>
|
20 |
+
<div class="zorem-sidebar__section padding_0">
|
21 |
+
<a href="https://trackship.info/?utm_source=wpadmin&utm_medium=sidebar&utm_campaign=upgrade" target="_blank"><img src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/images/trackship-sidebar-banner.png"></a>
|
22 |
+
</div>
|
23 |
+
<?php }
|
24 |
+
|
25 |
+
if(!class_exists('ast_woo_advanced_shipment_tracking_by_products')){ ?>
|
26 |
+
<div class="zorem-sidebar__section padding_0">
|
27 |
+
<a href="https://www.zorem.com/shop/tracking-per-item-ast-add-on/?utm_source=wpadmin&utm_medium=sidebar&utm_campaign=upgrade" target="blank"><img src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/images/tpi-icon.png"></a>
|
28 |
+
</div>
|
29 |
+
<?php } ?>
|
30 |
+
|
31 |
+
<?php if(!class_exists('SMS_for_WooCommerce')){ ?>
|
32 |
+
<div class="zorem-sidebar__section padding_0">
|
33 |
+
<a href="https://www.zorem.com/products/sms-for-woocommerce/?utm_source=wpadmin&utm_medium=sidebar&utm_campaign=upgrade" target="blank"><img src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/images/sms-woo-icon.png"></a>
|
34 |
+
</div>
|
35 |
+
<?php } ?>
|
36 |
+
|
37 |
+
<?php if(!class_exists('Advanced_Order_Status_Manager')){ ?>
|
38 |
+
<div class="zorem-sidebar__section padding_0">
|
39 |
+
<a href="https://www.zorem.com/products/advanced-order-status-manager/?utm_source=wpadmin&utm_medium=sidebar&utm_campaign=upgrade" target="blank"><img src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/images/AOSM-banner.png"></a>
|
40 |
+
</div>
|
41 |
+
<?php } ?>
|
42 |
+
|
43 |
+
<?php if(!class_exists('ZH_Product_Country_Restrictions')){ ?>
|
44 |
+
<div class="zorem-sidebar__section padding_0">
|
45 |
+
<a href="https://www.zorem.com/products/country-based-restriction-pro/?utm_source=wpadmin&utm_medium=sidebar&utm_campaign=upgrade" target="blank"><img src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/images/cbr-banner.png"></a>
|
46 |
+
</div>
|
47 |
+
<?php } ?>
|
48 |
+
|
49 |
+
<?php if(!class_exists('Woocommerce_Advanced_Sales_Report_Email')){ ?>
|
50 |
+
<div class="zorem-sidebar__section padding_0">
|
51 |
+
<a href="https://www.zorem.com/products/sales-report-email-for-woocommerce/?utm_source=wpadmin&utm_medium=sidebar&utm_campaign=upgrade" target="blank"><img src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/images/sre-banner.png"></a>
|
52 |
+
</div>
|
53 |
+
<?php } ?>
|
54 |
+
|
55 |
+
</div>
|
56 |
+
</div>
|
includes/views/zorem_admin_sidebar.php
ADDED
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* html code for admin sidebar
|
4 |
+
*/
|
5 |
+
?>
|
6 |
+
<div class="zorem_admin_sidebar">
|
7 |
+
<div class="zorem_admin_sidebar_inner">
|
8 |
+
<div class="zorem-sidebar__section">
|
9 |
+
<h3>Your opinion matters to us!</h3>
|
10 |
+
<p>If you enjoy using The Advanced Shipment Tracking plugin, please take a minute and share your review</p>
|
11 |
+
<a href="https://wordpress.org/support/plugin/woo-advanced-shipment-tracking/reviews/#new-post" class="button-primary btn_ast_sidebar" target="_blank" >Add your review</a>
|
12 |
+
</div>
|
13 |
+
|
14 |
+
<?php $wc_ast_api_key = get_option('wc_ast_api_key');
|
15 |
+
|
16 |
+
if(!$wc_ast_api_key){ ?>
|
17 |
+
<div class="zorem-sidebar__section padding_0">
|
18 |
+
<a href="https://trackship.info/?utm_source=wpadmin&utm_medium=sidebar&utm_campaign=upgrade" target="_blank"><img src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/images/trackship-sidebar-banner.png"></a>
|
19 |
+
</div>
|
20 |
+
<?php }
|
21 |
+
|
22 |
+
if(!class_exists('ast_woo_advanced_shipment_tracking_by_products')){ ?>
|
23 |
+
<div class="zorem-sidebar__section padding_0">
|
24 |
+
<a href="https://www.zorem.com/shop/tracking-per-item-ast-add-on/?utm_source=wpadmin&utm_medium=sidebar&utm_campaign=upgrade" target="blank"><img src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/images/tpi-icon.png"></a>
|
25 |
+
</div>
|
26 |
+
<?php } ?>
|
27 |
+
|
28 |
+
<?php if(!class_exists('SMS_for_WooCommerce')){ ?>
|
29 |
+
<div class="zorem-sidebar__section padding_0">
|
30 |
+
<a href="https://www.zorem.com/products/sms-for-woocommerce/?utm_source=wpadmin&utm_medium=sidebar&utm_campaign=upgrade" target="blank"><img src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/images/sms-woo-icon.png"></a>
|
31 |
+
</div>
|
32 |
+
<?php } ?>
|
33 |
+
|
34 |
+
<?php if(!class_exists('Advanced_Order_Status_Manager')){ ?>
|
35 |
+
<div class="zorem-sidebar__section padding_0">
|
36 |
+
<a href="https://www.zorem.com/products/advanced-order-status-manager/?utm_source=wpadmin&utm_medium=sidebar&utm_campaign=upgrade" target="blank"><img src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/images/AOSM-banner.png"></a>
|
37 |
+
</div>
|
38 |
+
<?php } ?>
|
39 |
+
|
40 |
+
<?php if(!class_exists('ZH_Product_Country_Restrictions')){ ?>
|
41 |
+
<div class="zorem-sidebar__section padding_0">
|
42 |
+
<a href="https://www.zorem.com/products/country-based-restriction-pro/?utm_source=wpadmin&utm_medium=sidebar&utm_campaign=upgrade" target="blank"><img src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/images/cbr-banner.png"></a>
|
43 |
+
</div>
|
44 |
+
<?php } ?>
|
45 |
+
|
46 |
+
<?php if(!class_exists('Woocommerce_Advanced_Sales_Report_Email')){ ?>
|
47 |
+
<div class="zorem-sidebar__section padding_0">
|
48 |
+
<a href="https://www.zorem.com/products/sales-report-email-for-woocommerce/?utm_source=wpadmin&utm_medium=sidebar&utm_campaign=upgrade" target="blank"><img src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/images/sre-banner.png"></a>
|
49 |
+
</div>
|
50 |
+
<?php } ?>
|
51 |
+
|
52 |
+
</div>
|
53 |
+
</div>
|
lang/woo-advanced-shipment-tracking-bg_BG.mo
CHANGED
Binary file
|
lang/woo-advanced-shipment-tracking-bg_BG.po
CHANGED
@@ -3,8 +3,8 @@ msgstr ""
|
|
3 |
"Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
"POT-Creation-Date: 2020-11-11 09:34+0000\n"
|
6 |
-
"PO-Revision-Date:
|
7 |
-
"Last-Translator: John
|
8 |
"Language-Team: Bulgarian\n"
|
9 |
"Language: bg_BG\n"
|
10 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
@@ -12,36 +12,46 @@ 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.
|
16 |
|
17 |
-
|
18 |
-
#: includes/views/admin_options_shipping_provider.php:
|
19 |
#, php-format
|
20 |
msgid "<a href=\"%s\" target=\"blank\">documentation</a>"
|
21 |
msgstr "документация"
|
22 |
|
23 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
msgid "Actions"
|
25 |
msgstr "Действия"
|
26 |
|
27 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
28 |
-
msgid "
|
29 |
-
msgstr "
|
30 |
|
31 |
-
#: includes/views/admin_options_shipping_provider.php:
|
32 |
-
msgid ""
|
33 |
-
"Add API name aliases to map Shipping providers names with the provider names "
|
34 |
-
"that are updated in the shipment tracking API by external shipping services"
|
35 |
msgstr ""
|
36 |
-
"Добавете псевдоними на имена на API, за да съпоставите имената на доставчици "
|
37 |
-
"на доставки с имена на доставчици, които се актуализират в API за "
|
38 |
-
"проследяване на пратки от външни служби за доставка"
|
39 |
|
40 |
-
#: includes/class-wc-advanced-shipment-tracking-
|
41 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
42 |
msgid "Add Custom Provider"
|
43 |
msgstr "Добавете персонализиран доставчик"
|
44 |
|
|
|
|
|
|
|
|
|
45 |
#. Description of the plugin
|
46 |
msgid ""
|
47 |
"Add shipment tracking information to your WooCommerce orders and provide "
|
@@ -49,492 +59,580 @@ msgid ""
|
|
49 |
"will appear in customers accounts (in the order panel) and in WooCommerce "
|
50 |
"order complete email."
|
51 |
msgstr ""
|
52 |
-
"Добавете информация за проследяване на пратките към вашите поръчки в "
|
53 |
-
"WooCommerce и предоставете на клиентите лесен начин да проследят своите "
|
54 |
-
"поръчки. Информация за проследяване на пратки ще се появи в акаунтите на "
|
55 |
-
"клиентите (в панела за поръчки) и в пълния имейл на поръчката на WooCommerce"
|
56 |
-
|
57 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:815
|
58 |
-
msgid "add the [wcast-track-order] shortcode in the selected page."
|
59 |
-
msgstr "добавете шорткода [wcast-track-order] в избраната страница."
|
60 |
|
61 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
62 |
msgid "Add Tracking"
|
63 |
msgstr "Добавете проследяване"
|
64 |
|
65 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:
|
66 |
msgid "Add Tracking - order\t"
|
67 |
msgstr "Добавяне на проследяване - поръчка"
|
68 |
|
69 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
70 |
-
msgid "Add Tracking
|
71 |
-
msgstr "Добавяне на информация за проследяване"
|
72 |
-
|
73 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:605
|
74 |
-
msgid ""
|
75 |
-
"Add Tracking Information in AST meta fields when you automatically sync "
|
76 |
-
"tracking numbers from aliexpress orders"
|
77 |
-
msgstr ""
|
78 |
-
"Добавете информация за проследяване в мета полета на AST, когато автоматично "
|
79 |
-
"синхронизирате номера за проследяване от поръчки на aliexpress"
|
80 |
-
|
81 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:615
|
82 |
-
msgid ""
|
83 |
-
"Add tracking information in invoice PDF generate by WooCommerce PDF Invoices "
|
84 |
-
"& Packing Slips plugin By Ewout Fernhout"
|
85 |
-
msgstr ""
|
86 |
-
"Добавете информация за проследяване във фактура PDF, генерирана от "
|
87 |
-
"WooCommerce PDF фактури и приставки за опаковки от Ewout Fernhout"
|
88 |
-
|
89 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:625
|
90 |
-
msgid ""
|
91 |
-
"Add tracking information in invoice PDF generate by WooCommerce PDF Invoices "
|
92 |
-
"plugin By Bas Elbers"
|
93 |
-
msgstr ""
|
94 |
-
"Добавете информация за проследяване във фактура PDF генерирана от "
|
95 |
-
"WooCommerce PDF Invoices плъгин От Bas Elbers"
|
96 |
-
|
97 |
-
#: includes/views/admin_options_settings.php:16
|
98 |
-
msgid "Add Tracking Options"
|
99 |
-
msgstr "Добавете опции за проследяване"
|
100 |
-
|
101 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:933
|
102 |
-
msgid "Add Tracking Order action"
|
103 |
-
msgstr "Добавяне на действие за проследяване на поръчка"
|
104 |
-
|
105 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:585
|
106 |
-
msgid ""
|
107 |
-
"Adding tracking information to your orders shipped with 3plwinner and "
|
108 |
-
"automate your workflow"
|
109 |
-
msgstr ""
|
110 |
-
"Добавяне на информация за проследяване към вашите поръчки, доставени с "
|
111 |
-
"3plwinner, и автоматизиране на вашия работен поток"
|
112 |
-
|
113 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:545
|
114 |
-
msgid ""
|
115 |
-
"Adding tracking information to your orders shipped with CustomCat and "
|
116 |
-
"automate your workflow"
|
117 |
-
msgstr ""
|
118 |
-
"Добавянето на информация за проследяване към вашите поръчки, доставени с "
|
119 |
-
"CustomCat, и автоматизиране на вашия работен поток"
|
120 |
-
|
121 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:555
|
122 |
-
msgid ""
|
123 |
-
"Adding tracking information to your orders shipped with Dear Systems and "
|
124 |
-
"automate your workflow"
|
125 |
-
msgstr ""
|
126 |
-
"Добавяне на информация за проследяване към вашите поръчки, доставени с Dear "
|
127 |
-
"Systems, и автоматизиране на вашия работен процес"
|
128 |
-
|
129 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:595
|
130 |
-
msgid ""
|
131 |
-
"Adding tracking information to your orders shipped with Dianxiaomi and "
|
132 |
-
"automate your workflow"
|
133 |
-
msgstr ""
|
134 |
-
"Добавянето на информация за проследяване към вашите поръчки, доставени с "
|
135 |
-
"Dianxiaomi, и автоматизиране на вашия работен процес"
|
136 |
-
|
137 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:575
|
138 |
-
msgid ""
|
139 |
-
"Adding tracking information to your orders shipped with Picqer and automate "
|
140 |
-
"your workflow"
|
141 |
-
msgstr ""
|
142 |
-
"Добавянето на информация за проследяване към вашите поръчки, доставени с "
|
143 |
-
"Picqer, и автоматизиране на вашия работен процес"
|
144 |
-
|
145 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:565
|
146 |
-
msgid ""
|
147 |
-
"Adding tracking information to your orders shipped with Printify and "
|
148 |
-
"automate your workflow"
|
149 |
-
msgstr ""
|
150 |
-
"Добавяне на информация за проследяване към вашите поръчки, доставени с "
|
151 |
-
"Printify, и автоматизиране на вашия работен процес"
|
152 |
-
|
153 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:515
|
154 |
-
msgid ""
|
155 |
-
"Adding tracking information to your orders shipped with QuickBooks Commerce "
|
156 |
-
"and automate your workflow"
|
157 |
-
msgstr ""
|
158 |
-
"Добавянето на информация за проследяване към вашите поръчки, доставени с "
|
159 |
-
"QuickBooks Commerce, и автоматизиране на вашия работен поток"
|
160 |
-
|
161 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:525
|
162 |
-
msgid ""
|
163 |
-
"Adding tracking information to your orders shipped with ReadyToShip and "
|
164 |
-
"automate your workflow"
|
165 |
-
msgstr ""
|
166 |
-
"Добавянето на информация за проследяване към вашите поръчки, доставени с "
|
167 |
-
"ReadyToShip, и автоматизиране на вашия работен поток"
|
168 |
-
|
169 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:535
|
170 |
-
msgid ""
|
171 |
-
"Adding tracking information to your orders shipped with Royal Mail Click & "
|
172 |
-
"Drop and automate your workflow"
|
173 |
-
msgstr ""
|
174 |
-
"Добавяне на информация за проследяване към вашите поръчки, доставени с Royal "
|
175 |
-
"Mail Click & Drop и автоматизиране на вашия работен поток"
|
176 |
-
|
177 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:475
|
178 |
-
msgid ""
|
179 |
-
"Adding tracking information to your orders shipped with ShipStation and "
|
180 |
-
"automate your workflow"
|
181 |
msgstr ""
|
182 |
-
"Добавянето на информация за проследяване към вашите поръчки, доставени със "
|
183 |
-
"ShipStation, и автоматизиране на вашия работен процес"
|
184 |
|
185 |
-
#: includes/class-wc-advanced-shipment-tracking
|
186 |
-
msgid ""
|
187 |
-
"
|
188 |
-
"to the Shipment Tracking and automate your workflow"
|
189 |
-
msgstr ""
|
190 |
-
"Добавяне на информация за проследяване към вашите поръчки, доставени с "
|
191 |
-
"WooCommerce Доставка, за проследяване на пратки и автоматизиране на работния "
|
192 |
-
"ви поток"
|
193 |
-
|
194 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:505
|
195 |
-
msgid ""
|
196 |
-
"Adding tracking information to your orders when generating shipping labels "
|
197 |
-
"using the Ordoro"
|
198 |
-
msgstr ""
|
199 |
-
"Добавяне на информация за проследяване към вашите поръчки при генериране на "
|
200 |
-
"етикети за доставка с помощта на Ordoro"
|
201 |
|
202 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
"приставка Print Label от PluginHive"
|
211 |
|
212 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
213 |
msgid "Additional text after header"
|
214 |
msgstr "Допълнителен текст след заглавието"
|
215 |
|
|
|
|
|
|
|
|
|
216 |
#. Name of the plugin
|
217 |
msgid "Advanced Shipment Tracking for WooCommerce"
|
218 |
-
msgstr "
|
219 |
|
220 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
221 |
msgid "After Order Details"
|
222 |
msgstr "След подробности за поръчката"
|
223 |
|
224 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
225 |
-
msgid "API aliases"
|
226 |
-
msgstr "API псевдоними"
|
227 |
-
|
228 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:1055
|
229 |
msgid "API Date Format"
|
230 |
msgstr "API формат на датата"
|
231 |
|
232 |
-
#: includes/
|
|
|
233 |
msgid "API Name"
|
234 |
msgstr "Име на API"
|
235 |
|
236 |
-
#: includes/
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
#: includes/
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
245 |
msgid "Available variables:"
|
246 |
msgstr "Налични променливи:"
|
247 |
|
248 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
249 |
msgid "Before Order Details"
|
250 |
msgstr "Преди подробности за поръчката"
|
251 |
|
252 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
253 |
msgid "Border color"
|
254 |
msgstr "Цвят на границата"
|
255 |
|
256 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
257 |
msgid "Border size"
|
258 |
msgstr "Размер на границата"
|
259 |
|
260 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
261 |
msgid "Bottom border color"
|
262 |
msgstr ""
|
263 |
"Цвят на долната граница\n"
|
264 |
|
265 |
-
#: includes/
|
|
|
|
|
|
|
|
|
266 |
msgid "Button color"
|
267 |
-
msgstr "
|
268 |
|
269 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
270 |
msgid "Button font color"
|
271 |
-
msgstr "
|
272 |
|
273 |
-
#: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:
|
274 |
msgid "Cannot create existing order shipment tracking."
|
275 |
msgstr "Cannot create existing order shipment tracking."
|
276 |
|
277 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
278 |
msgid "Change order status to"
|
279 |
msgstr "Променете състоянието на поръчката на"
|
280 |
|
281 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:
|
282 |
msgid "Change status to shipped"
|
283 |
msgstr "Промяна на състоянието на изпратено"
|
284 |
|
285 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
286 |
msgid "Choose for which Order status to display"
|
287 |
-
msgstr "
|
|
|
|
|
|
|
|
|
288 |
|
289 |
-
#: includes/
|
|
|
|
|
|
|
|
|
290 |
msgid "Choose the Shipped Date format"
|
291 |
msgstr "Изберете формата на изпратената дата"
|
292 |
|
293 |
-
#: includes/class-
|
|
|
|
|
|
|
|
|
294 |
msgid "Completed"
|
295 |
msgstr "завършен"
|
296 |
|
297 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
298 |
msgid "Content"
|
299 |
msgstr "съдържание"
|
300 |
|
301 |
#: includes/customizer/class-wc-tracking-info-customizer.php:807
|
302 |
msgid "Content Background color"
|
303 |
-
msgstr "
|
304 |
|
305 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
306 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
307 |
msgid "Content font color"
|
308 |
msgstr ""
|
309 |
"Цвят на шрифта на съдържанието\n"
|
310 |
|
311 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
312 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
313 |
msgid "Content font size"
|
314 |
msgstr ""
|
315 |
"Размер на шрифта на съдържанието\n"
|
316 |
|
317 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
318 |
msgid "Content font weight"
|
319 |
msgstr ""
|
320 |
"Тегло на шрифта на съдържанието\n"
|
321 |
|
322 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
323 |
msgid "Content line height"
|
324 |
msgstr ""
|
325 |
"Височина на линията на съдържанието\n"
|
326 |
|
327 |
-
#: includes/views/admin_options_bulk_upload.php:
|
328 |
msgid "Continue"
|
329 |
msgstr "продължи"
|
330 |
|
331 |
-
#: includes/
|
332 |
msgid "Country"
|
333 |
msgstr "Страна"
|
334 |
|
335 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
336 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
337 |
-
#: includes/
|
|
|
|
|
|
|
338 |
msgid "CSV Import"
|
339 |
msgstr "CSV импортиране"
|
340 |
|
341 |
-
#: includes/views/admin_options_shipping_provider.php:65
|
342 |
-
msgid "Custom API name"
|
343 |
-
msgstr "Име на потребителски API"
|
344 |
-
|
345 |
#: includes/views/admin_options_shipping_provider.php:61
|
|
|
346 |
msgid "Custom display name"
|
347 |
msgstr "Персонализирано име за показване"
|
348 |
|
349 |
-
#: includes/customizer/class-wcast-customizer.php:
|
350 |
msgid "Custom order status email"
|
351 |
-
msgstr "
|
352 |
|
353 |
-
#: includes/
|
354 |
-
|
355 |
-
|
|
|
356 |
|
357 |
-
#: includes/views/
|
358 |
-
msgid "
|
359 |
-
msgstr "
|
360 |
|
361 |
-
#: includes/
|
362 |
-
|
363 |
-
|
364 |
-
msgstr "Персонализирайте"
|
365 |
|
366 |
-
#: includes/views/admin_options_osm.php:
|
|
|
|
|
367 |
msgid "Dark Font"
|
368 |
msgstr ""
|
369 |
"Тъмен шрифт\n"
|
370 |
|
371 |
-
#: includes/class-wc-advanced-shipment-tracking-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
372 |
msgid "Data saved successfully."
|
373 |
msgstr "Данните са запазени успешно."
|
374 |
|
375 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
376 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:
|
377 |
msgid "Date shipped:"
|
378 |
msgstr "Дата на изпращане:"
|
379 |
|
380 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
381 |
-
|
382 |
-
msgid "
|
383 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
384 |
|
385 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
386 |
msgid "Delivered"
|
387 |
msgstr "Доставени"
|
388 |
|
389 |
-
#: includes/class-wc-advanced-shipment-tracking-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
390 |
msgid "Display Name"
|
391 |
msgstr "Показвано име"
|
392 |
|
393 |
-
#: includes/customizer/class-wc-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
394 |
msgid "Display shipping provider image"
|
395 |
msgstr ""
|
396 |
"Покажи изображението на доставчика на доставка\n"
|
397 |
|
398 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
399 |
msgid "Display shipping provider name"
|
400 |
msgstr ""
|
401 |
"Показване на име на доставчика на доставка\n"
|
402 |
|
403 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
404 |
msgid "Download sample csv"
|
405 |
msgstr "Изтеглете пример csv"
|
406 |
|
407 |
-
#: includes/
|
408 |
-
msgid "
|
409 |
-
msgstr "
|
410 |
-
|
411 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
412 |
msgid "Edit Shipping Provider"
|
413 |
msgstr "Редактиране на доставчика на доставка"
|
414 |
|
415 |
-
#: includes/customizer/class-wc-
|
416 |
-
#: includes/customizer/class-wc-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
417 |
msgid "Email content"
|
418 |
msgstr "Съдържание на имейла"
|
419 |
|
420 |
-
#: includes/customizer/class-wc-
|
421 |
-
|
422 |
-
|
|
|
|
|
|
|
|
|
|
|
423 |
|
424 |
-
#: includes/customizer/class-wc-
|
425 |
-
msgid "
|
426 |
-
msgstr "
|
427 |
|
428 |
-
#: includes/
|
429 |
-
msgid "Enable
|
430 |
-
msgstr "Активирайте
|
431 |
|
432 |
-
#: includes/class-wc-
|
433 |
-
msgid "Enable
|
434 |
-
msgstr "
|
435 |
|
436 |
-
#: includes/
|
437 |
-
msgid "Enable
|
438 |
-
msgstr "
|
439 |
|
440 |
-
#: includes/class-wc-
|
441 |
-
msgid "Enable
|
442 |
-
msgstr "
|
443 |
|
444 |
-
#: includes/class-wc-
|
445 |
-
msgid "Enable
|
446 |
-
msgstr "
|
447 |
|
448 |
-
#: includes/class-wc-
|
449 |
-
msgid "Enable
|
450 |
-
msgstr "
|
451 |
|
452 |
-
#: includes/class-wc-
|
453 |
-
msgid "Enable
|
454 |
-
msgstr "
|
455 |
|
456 |
-
#: includes/class-wc-
|
457 |
-
msgid "Enable
|
458 |
-
msgstr "
|
459 |
|
460 |
-
#: includes/class-wc-
|
461 |
-
msgid "Enable
|
462 |
-
msgstr "Активирайте
|
463 |
|
464 |
-
#: includes/class-wc-
|
465 |
-
msgid "Enable
|
466 |
-
msgstr "
|
467 |
|
468 |
-
#: includes/class-wc-
|
469 |
-
msgid "Enable
|
470 |
-
msgstr "
|
471 |
|
472 |
-
#: includes/class-wc-
|
473 |
-
msgid "Enable
|
474 |
-
msgstr "Активирайте
|
475 |
|
476 |
-
#: includes/class-wc-advanced-shipment-tracking-
|
477 |
-
msgid "Enable
|
478 |
-
msgstr "Активирайте
|
479 |
|
480 |
-
#: includes/class-wc-
|
481 |
-
msgid ""
|
482 |
-
"Enable the WooCommerce UPS Shipping Plugin with Print Label plugin "
|
483 |
-
"integration"
|
484 |
msgstr ""
|
485 |
-
"
|
486 |
-
"приставка за печат на етикет"
|
487 |
|
488 |
-
#: includes/
|
489 |
-
msgid "
|
490 |
msgstr ""
|
491 |
-
"
|
492 |
|
493 |
-
#: includes/
|
494 |
-
msgid "
|
495 |
msgstr ""
|
496 |
-
"Активиране на имейла за актуализирано проследяване на поръчката\n"
|
497 |
|
498 |
-
#: includes/class-wc-advanced-shipment-tracking-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
499 |
msgid "Filter by shipping provider"
|
500 |
msgstr "Филтрирайте по доставчик"
|
501 |
|
502 |
-
#:
|
503 |
-
|
504 |
-
|
|
|
|
|
505 |
|
506 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
507 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:429
|
508 |
msgid "General Settings"
|
509 |
msgstr "Основни настройки"
|
510 |
|
511 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
512 |
msgid "Global"
|
513 |
msgstr "в световен мащаб"
|
514 |
|
515 |
-
#: includes/class-wc-
|
516 |
-
|
517 |
-
|
518 |
-
|
519 |
-
#: includes/customizer/class-wc-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
520 |
msgid "Headers background color"
|
521 |
-
msgstr "
|
522 |
|
523 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
524 |
msgid "Headers font color"
|
525 |
msgstr ""
|
526 |
"Цвят на шрифта на заглавките\n"
|
527 |
|
528 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
529 |
msgid "Headers font size"
|
530 |
msgstr ""
|
531 |
"Размер на шрифта на заглавките\n"
|
532 |
|
533 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
534 |
msgid "Headers font weight"
|
535 |
-
msgstr "
|
536 |
|
537 |
-
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:
|
538 |
msgid ""
|
539 |
"Hi there. we thought you'd like to know that the shipment tracking for your "
|
540 |
"recent order from {site_title} has been updated."
|
@@ -542,7 +640,16 @@ msgstr ""
|
|
542 |
"Здрасти. решихме, че бихте искали да знаете, че проследяването на пратката "
|
543 |
"за скорошната ви поръчка от {site_title} е актуализирано.\n"
|
544 |
|
545 |
-
#: includes/customizer/class-wc-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
546 |
msgid ""
|
547 |
"Hi there. we thought you'd like to know that your recent order from "
|
548 |
"{site_title} has been partially shipped."
|
@@ -550,56 +657,137 @@ msgstr ""
|
|
550 |
"Здрасти. решихме, че бихте искали да знаете, че скорошната ви поръчка от "
|
551 |
"{site_title} е частично изпратена.\n"
|
552 |
|
553 |
-
#: includes/class-wc-
|
554 |
-
|
555 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
556 |
msgid "hide details"
|
557 |
msgstr "скрий подробности"
|
558 |
|
559 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
560 |
msgid "Hide Table Headers"
|
561 |
msgstr ""
|
562 |
"Скриване на заглавките на таблици\n"
|
563 |
|
564 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
|
|
565 |
#| msgid "Hide the ship date"
|
566 |
msgid "Hide the shipped date"
|
567 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
568 |
|
569 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
570 |
msgid "Hide Tracking Header"
|
571 |
msgstr "Скриване на проследяващия заглавие"
|
572 |
|
573 |
-
#: includes/
|
574 |
-
msgid "How to
|
575 |
-
msgstr "
|
576 |
|
577 |
#. Author URI of the plugin
|
578 |
msgid "https://www.zorem.com"
|
579 |
-
msgstr "
|
580 |
|
581 |
#. URI of the plugin
|
582 |
msgid "https://www.zorem.com/products/woocommerce-advanced-shipment-tracking/"
|
583 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
584 |
|
585 |
-
#: includes/views/admin_options_bulk_upload.php:
|
586 |
msgid "Import in Progress"
|
587 |
msgstr "Вносът е в процес"
|
588 |
|
589 |
-
#: includes/
|
590 |
-
|
591 |
-
|
592 |
-
|
593 |
-
#: includes/
|
594 |
-
|
595 |
-
|
596 |
-
msgstr "Интеграции"
|
597 |
|
598 |
-
#: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:
|
599 |
msgid "Invalid order ID."
|
600 |
msgstr "Невалиден идентификационен номер на поръчката."
|
601 |
|
602 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
603 |
msgid ""
|
604 |
"Keep unchecked for the tracking info to be added to any existing tracking "
|
605 |
"info added to the orders."
|
@@ -607,352 +795,595 @@ msgstr ""
|
|
607 |
"Не оставяйте отметка информацията за проследяване да се добавя към всяка "
|
608 |
"съществуваща информация за проследяване, добавена към поръчките."
|
609 |
|
610 |
-
#: includes/class-wc-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
611 |
msgid "License"
|
612 |
msgstr "License"
|
613 |
|
614 |
-
#: includes/views/admin_options_osm.php:
|
|
|
|
|
615 |
msgid "Light Font"
|
616 |
msgstr ""
|
617 |
"Лек шрифт\n"
|
618 |
|
619 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
|
|
620 |
msgid "Mark as Completed?"
|
621 |
msgstr "Да се маркира като завършен?"
|
622 |
|
623 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
624 |
msgid "Mark as Shipped"
|
625 |
msgstr "Маркирайте като изпратено"
|
626 |
|
627 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
|
|
628 |
msgid "Mark as Shipped?"
|
629 |
msgstr "Да се маркира като изпратен?"
|
630 |
|
631 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
632 |
msgid "Mark order as delivered"
|
633 |
msgstr "Маркирайте поръчката като доставена"
|
634 |
|
635 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
|
|
636 |
msgid "Mark order as:"
|
637 |
msgstr "Маркиране на поръчката като:"
|
638 |
|
639 |
-
#: includes/customizer/class-
|
640 |
msgid "Mockup Order"
|
641 |
-
msgstr "
|
|
|
|
|
|
|
|
|
642 |
|
643 |
-
#: includes/
|
644 |
-
#: includes/views/integrations_admin_options.php:20
|
645 |
msgid "more info"
|
646 |
msgstr ""
|
647 |
"повече информация\n"
|
648 |
|
649 |
-
#: includes/
|
650 |
-
msgid "
|
651 |
-
|
652 |
-
|
653 |
-
|
654 |
-
|
655 |
-
|
656 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
657 |
|
658 |
#: includes/class-wc-advanced-shipment-tracking-admin.php:1030
|
659 |
-
msgid "
|
660 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
661 |
|
662 |
#. %s: Order ID.
|
663 |
-
#: templates/emails/wcast-email-order-details.php:
|
664 |
#, php-format
|
665 |
msgid "Order number: %s"
|
666 |
msgstr ""
|
667 |
"Номер на поръчката:% s\n"
|
668 |
|
669 |
-
#: includes/class-
|
670 |
-
|
671 |
-
|
672 |
-
msgid "Order Statuses"
|
673 |
-
msgstr "Статуси на поръчки"
|
674 |
|
675 |
-
|
676 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
677 |
-
#: includes/class-wc-advanced-shipment-tracking.php:1269
|
678 |
#, php-format
|
679 |
-
|
680 |
-
|
681 |
-
|
|
|
|
|
|
|
682 |
|
683 |
-
#: includes/
|
684 |
msgid "Other"
|
685 |
msgstr "Други"
|
686 |
|
687 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
688 |
msgid "Partial Shipped"
|
689 |
msgstr "Частично изпратено"
|
690 |
|
691 |
-
#: includes/class-wc-advanced-shipment-tracking-
|
692 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:
|
693 |
-
#: includes/class-wc-
|
694 |
-
#: includes/
|
695 |
msgid "Partially Shipped"
|
696 |
msgstr "Частично изпратени"
|
697 |
|
698 |
-
|
699 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:135
|
700 |
#, php-format
|
701 |
msgid "Partially Shipped <span class=\"count\">(%s)</span>"
|
702 |
msgid_plural "Partially Shipped <span class=\"count\">(%s)</span>"
|
703 |
msgstr[0] "Частично изпратен <span class = \"count\"> (% s) </span>"
|
704 |
msgstr[1] "Частично изпратен <span class = \"count\"> (% s) </span>"
|
705 |
|
706 |
-
#: includes/class-wc-advanced-shipment-tracking-
|
707 |
-
|
708 |
-
"
|
709 |
-
"
|
710 |
-
msgstr ""
|
711 |
-
"Интеграция на фактури в PDF за плъгин за фактури и опаковъчни фишове на "
|
712 |
-
"WooCommerce от Ewout Fernhout"
|
713 |
|
714 |
-
#:
|
715 |
-
msgid ""
|
716 |
-
"PDF invoices integration for WooCommerce PDF Invoices plugin By Bas Elbers"
|
717 |
-
msgstr ""
|
718 |
-
"Интеграция на PDF фактури за WooCommerce PDF Invoices плъгин От Bas Elbers"
|
719 |
-
|
720 |
-
#. %s: search WooCommerce plugin link
|
721 |
-
#: woocommerce-advanced-shipment-tracking.php:181
|
722 |
#, php-format
|
723 |
msgid ""
|
724 |
-
"Please install and activate %
|
725 |
-
"
|
726 |
msgstr ""
|
727 |
-
"Моля, инсталирайте и активирайте% 1 $ sWooCommerce% 2 $ s за разширено "
|
728 |
-
"проследяване на пратки за WooCommerce!"
|
729 |
|
730 |
-
#: includes/customizer/class-wc-
|
731 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
732 |
msgid "Please select order to preview."
|
733 |
msgstr "Моля, изберете поръчка за преглед."
|
734 |
|
735 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
736 |
msgid "Please upload a valid CSV file."
|
737 |
msgstr "Моля, качете валиден CSV файл."
|
738 |
|
739 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
740 |
msgid "Preview:"
|
741 |
msgstr "Преглед:"
|
742 |
|
743 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
744 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:
|
745 |
msgid "Product Code:"
|
746 |
msgstr "Код на продукта:"
|
747 |
|
748 |
-
#: includes/
|
749 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
750 |
-
#:
|
751 |
-
#: templates/
|
|
|
752 |
msgid "Provider"
|
753 |
msgstr "доставчик"
|
754 |
|
755 |
-
#:
|
756 |
-
#: templates/
|
757 |
-
#: templates/myaccount/tracking-info.php:198
|
758 |
msgid "Provider Name"
|
759 |
msgstr "Provider Name"
|
760 |
|
761 |
-
#: includes/views/admin_options_shipping_provider.php:
|
762 |
msgid "Providers Added"
|
763 |
msgstr "Доставчиците са добавени"
|
764 |
|
765 |
-
#: includes/views/admin_options_shipping_provider.php:
|
766 |
msgid "Providers Deleted"
|
767 |
msgstr "Доставчиците са изтрити"
|
768 |
|
769 |
-
#: includes/views/admin_options_shipping_provider.php:
|
770 |
msgid "Providers Updated"
|
771 |
msgstr "Актуализирани доставчици"
|
772 |
|
773 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
774 |
msgid "Really delete this entry? This will not be undo."
|
775 |
msgstr "Наистина ли да изтриете този запис? Това няма да бъде отменено."
|
776 |
|
777 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
778 |
msgid "Rename the “Completed” Order status label to “Shipped”"
|
779 |
-
msgstr "
|
780 |
|
781 |
-
#: includes/views/admin_options_bulk_upload.php:
|
782 |
msgid "Replace tracking information?"
|
783 |
msgstr "Replace tracking information?"
|
784 |
|
785 |
-
#: includes/
|
|
|
|
|
|
|
|
|
786 |
msgid "Reset"
|
787 |
msgstr "Нулиране"
|
788 |
|
789 |
-
#: includes/views/admin_options_shipping_provider.php:
|
790 |
msgid ""
|
791 |
"Reset providers database, it will reset all your shipping provider database"
|
792 |
msgstr ""
|
793 |
"Нулирайте базата данни на доставчиците, тя ще нулира цялата база данни на "
|
794 |
"доставчика ви"
|
795 |
|
796 |
-
#: includes/
|
797 |
-
#: includes/
|
798 |
-
#: includes/
|
799 |
-
#: includes/
|
800 |
-
|
801 |
-
|
802 |
-
|
803 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
804 |
msgid "Save Tracking"
|
805 |
msgstr "Запазване на проследяването"
|
806 |
|
807 |
-
#: includes/views/admin_options_shipping_provider.php:
|
808 |
msgid "Search by provider / country"
|
809 |
msgstr "Търсене по доставчик / държава"
|
810 |
|
811 |
-
#: includes/customizer/class-wc-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
812 |
msgid "Select email type"
|
813 |
-
msgstr "
|
814 |
|
815 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
816 |
msgid "Select Provider"
|
817 |
msgstr "Изберете Доставчик"
|
818 |
|
819 |
-
#: includes/customizer/class-wc-
|
|
|
|
|
|
|
|
|
820 |
msgid "Select Template"
|
821 |
msgstr ""
|
822 |
"Изберете шаблон\n"
|
823 |
|
824 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
825 |
msgid "Send Email"
|
826 |
msgstr ""
|
827 |
"Изпратете имейл\n"
|
828 |
|
829 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
830 |
msgid ""
|
831 |
"Set the \"mark as shipped\" option checked when adding tracking info to "
|
832 |
"orders"
|
833 |
msgstr ""
|
834 |
-
"Задайте отметката за опция „маркирай като изпратена“, когато добавяте "
|
835 |
-
"информация за проследяване към поръчките"
|
836 |
|
837 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
838 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
839 |
-
#: includes/views/admin_options_settings.php:
|
840 |
msgid "Settings"
|
841 |
-
msgstr "
|
842 |
|
843 |
-
#: includes/views/admin_options_bulk_upload.php:
|
844 |
msgid "Settings Saved."
|
845 |
msgstr "Настройките са запазени."
|
846 |
|
847 |
-
|
848 |
-
#:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
849 |
#, php-format
|
850 |
msgid "Shipment status changed to %s"
|
851 |
msgstr "Състоянието на пратката се промени на% s"
|
852 |
|
853 |
-
#: includes/class-
|
854 |
-
|
855 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
856 |
msgid "Shipment Tracking"
|
857 |
msgstr "Проследяване на пратките"
|
858 |
|
859 |
-
#: includes/
|
860 |
-
|
861 |
-
|
862 |
-
|
863 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:849
|
864 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:945
|
865 |
-
#: includes/class-wc-advanced-shipment-tracking.php:467
|
866 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:263
|
867 |
msgid "Shipped"
|
868 |
msgstr "Доставят"
|
869 |
|
870 |
-
|
871 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:283
|
872 |
#, php-format
|
873 |
msgid "Shipped <span class=\"count\">(%s)</span>"
|
874 |
msgid_plural "Shipped <span class=\"count\">(%s)</span>"
|
875 |
msgstr[0] "Изпратен <span class = \"count\"> (% s) </span>"
|
876 |
msgstr[1] "Изпратен <span class = \"count\"> (% s) </span>"
|
877 |
|
878 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
879 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
880 |
msgid "Shipped Date"
|
881 |
msgstr ""
|
882 |
"Дата на изпращане\n"
|
883 |
|
884 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
|
|
885 |
#| msgid "Ship date header text"
|
886 |
msgid "Shipped date header text"
|
887 |
-
msgstr "
|
|
|
888 |
|
889 |
#. 1: shipping date
|
890 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
891 |
#, php-format
|
892 |
msgid "Shipped on %s"
|
893 |
msgstr "Изпратено на% s"
|
894 |
|
895 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
896 |
msgid "Shipped on {ship_date} via {shipping_provider} - {tracking_number_link}"
|
897 |
msgstr ""
|
898 |
"Доставя се на {ship_date} чрез {shipping_provider} - {track_number_link}"
|
899 |
|
900 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
901 |
msgid "Shipped Order"
|
902 |
msgstr "Изпратена поръчка"
|
903 |
|
904 |
-
#: includes/views/admin_options_shipping_provider.php:
|
|
|
905 |
msgid "Shipping Country"
|
906 |
msgstr "Страна на доставка"
|
907 |
|
908 |
#: includes/views/admin_options_shipping_provider.php:58
|
|
|
909 |
msgid "Shipping Provider"
|
910 |
msgstr "Доставчик на доставка"
|
911 |
|
912 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
913 |
msgid "Shipping provider header text"
|
914 |
-
msgstr "
|
915 |
|
916 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
917 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:
|
918 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:
|
919 |
msgid "Shipping Provider:"
|
920 |
msgstr "Доставчик:"
|
921 |
|
922 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
923 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
924 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
|
|
|
|
925 |
msgid "Shipping Providers"
|
926 |
msgstr "Доставчици на доставка"
|
927 |
|
928 |
-
#: includes/views/admin_options_shipping_provider.php:
|
929 |
-
msgid "Shipping Providers & Carriers"
|
930 |
-
msgstr "Доставчици и превозвачи"
|
931 |
-
|
932 |
-
#: includes/views/admin_options_shipping_provider.php:120
|
933 |
msgid "Shipping providers database reset successfully."
|
934 |
msgstr "Базата данни на доставчиците на доставки се възстановява успешно."
|
935 |
|
936 |
-
#: includes/customizer/class-wc-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
937 |
msgid "Show bottom border"
|
938 |
msgstr ""
|
939 |
"Показване на долната граница\n"
|
940 |
|
941 |
-
#: includes/customizer/class-wc-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
942 |
msgid "Simple Layout Design"
|
943 |
msgstr ""
|
944 |
"Прост дизайн на оформлението\n"
|
945 |
|
946 |
-
#: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:
|
947 |
msgid "Special character not allowd in tracking number"
|
948 |
msgstr "Специален знак не е разрешен в проследяващия номер"
|
949 |
|
950 |
-
#: includes/views/
|
951 |
-
#: includes/views/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
952 |
msgid "Sync Shipping Providers"
|
953 |
msgstr "Синхронизирайте доставчиците на доставка"
|
954 |
|
955 |
-
#: includes/views/admin_options_shipping_provider.php:
|
956 |
msgid ""
|
957 |
"Syncing the shipping providers list add or updates the pre-set shipping "
|
958 |
"providers and will not effect custom shipping providers."
|
@@ -961,163 +1392,355 @@ msgstr ""
|
|
961 |
"актуализира предварително зададените доставчици за доставка и няма да "
|
962 |
"повлияе на доставчиците по поръчка."
|
963 |
|
964 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
965 |
msgid "Table Content"
|
966 |
msgstr "Съдържание на таблицата"
|
967 |
|
968 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
969 |
msgid "Table Design Options"
|
970 |
-
msgstr "
|
971 |
|
972 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
|
|
973 |
#| msgid "Table Headers"
|
974 |
msgid "Table Header"
|
975 |
-
msgstr "
|
|
|
976 |
|
977 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
978 |
msgid "Table Layout"
|
979 |
msgstr ""
|
980 |
"Оформление на таблицата\n"
|
981 |
|
982 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
983 |
msgid "Table Options"
|
984 |
-
msgstr "
|
985 |
|
986 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
987 |
msgid "Text align"
|
988 |
-
msgstr "
|
989 |
|
990 |
-
#: includes/
|
|
|
991 |
msgid ""
|
992 |
-
"The custom
|
993 |
-
"
|
994 |
-
"notifications"
|
995 |
msgstr ""
|
996 |
-
"Персонализираното име
|
997 |
-
"
|
998 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
999 |
|
1000 |
-
#: includes/
|
|
|
|
|
|
|
|
|
1001 |
msgid "There are some issue with sync, Please Retry."
|
1002 |
msgstr "Има проблем със синхронизирането, Моля, опитайте отново."
|
1003 |
|
1004 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
1005 |
msgid "This browser does not support HTML5."
|
1006 |
msgstr "Този браузър не поддържа HTML5."
|
1007 |
|
1008 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
1009 |
-
|
1010 |
-
|
1011 |
-
|
1012 |
-
|
1013 |
-
|
1014 |
-
|
1015 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1016 |
msgid "Track"
|
1017 |
msgstr "път"
|
1018 |
|
1019 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1020 |
msgid "Track Button"
|
1021 |
-
msgstr "
|
1022 |
|
1023 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1024 |
msgid "Track Header"
|
1025 |
-
msgstr "
|
1026 |
|
1027 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1028 |
msgid "Track header text"
|
1029 |
msgstr ""
|
1030 |
"Проследяване на заглавния текст\n"
|
1031 |
|
1032 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
1033 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
1034 |
msgid "Track Shipment"
|
1035 |
msgstr "Проследяване на пратката"
|
1036 |
|
1037 |
-
#: includes/
|
1038 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1039 |
msgid "Tracking display layout"
|
1040 |
msgstr "Проследяване на оформлението на дисплея"
|
1041 |
|
1042 |
-
#: includes/
|
|
|
|
|
|
|
|
|
1043 |
msgid "Tracking Display Position"
|
1044 |
msgstr "Проследяване на позицията на дисплея"
|
1045 |
|
1046 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1047 |
msgid "Tracking Header text"
|
1048 |
msgstr ""
|
1049 |
"Проследяване на текста на заглавката\n"
|
1050 |
|
1051 |
-
#: includes/customizer/class-wcast-customizer.php:
|
|
|
1052 |
msgid "Tracking info display"
|
1053 |
msgstr ""
|
1054 |
"Показване на информация за проследяване\n"
|
1055 |
|
1056 |
-
|
1057 |
-
|
|
|
|
|
|
|
1058 |
#, php-format
|
1059 |
-
#| msgid ""
|
1060 |
-
#| "Tracking info was deleted for tracking provider %s with tracking number %s"
|
1061 |
msgid ""
|
1062 |
-
"Tracking info was deleted for tracking provider %
|
1063 |
-
"%2$s"
|
1064 |
msgstr ""
|
1065 |
-
"Информацията за проследяване
|
1066 |
-
"проследяващ
|
1067 |
|
1068 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1069 |
msgid "Tracking Information"
|
1070 |
msgstr "Информация за проследяване"
|
1071 |
|
1072 |
-
#: includes/
|
1073 |
-
|
1074 |
-
|
1075 |
-
|
|
|
|
|
|
|
|
|
1076 |
msgid "Tracking Number"
|
1077 |
msgstr "Номер за проследяване"
|
1078 |
|
1079 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
|
|
1080 |
#| msgid "Tracking Number header text"
|
1081 |
msgid "Tracking number header text"
|
1082 |
-
msgstr "Текст
|
1083 |
|
1084 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
1085 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:
|
1086 |
msgid "Tracking number:"
|
1087 |
msgstr "Номер за проследяване:"
|
1088 |
|
1089 |
-
#: includes/class-wc-advanced-shipment-tracking-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1090 |
msgid "TrackShip"
|
1091 |
msgstr "TrackShip"
|
1092 |
|
1093 |
-
#: includes/views/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1094 |
msgid "Update"
|
1095 |
msgstr "Актуализиране"
|
1096 |
|
1097 |
-
#: includes/class-wc-advanced-shipment-tracking-
|
1098 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:
|
1099 |
-
#: includes/class-wc-
|
1100 |
-
#: includes/
|
1101 |
msgid "Updated Tracking"
|
1102 |
msgstr "Актуализирано проследяване"
|
1103 |
|
1104 |
-
|
1105 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:120
|
1106 |
#, php-format
|
1107 |
msgid "Updated Tracking <span class=\"count\">(%s)</span>"
|
1108 |
msgid_plural "Updated Tracking <span class=\"count\">(%s)</span>"
|
1109 |
msgstr[0] "Актуализирано проследяване <span class = \"count\"> (% s) </span>"
|
1110 |
msgstr[1] "Актуализирано проследяване <span class = \"count\"> (% s) </span>"
|
1111 |
|
1112 |
-
#: includes/views/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1113 |
msgid "Upload a CSV file from your computer:"
|
1114 |
msgstr "Качете CSV файл от вашия компютър:"
|
1115 |
|
1116 |
-
#: includes/views/admin_options_bulk_upload.php:
|
1117 |
msgid "Upload again"
|
1118 |
msgstr "Качете отново"
|
1119 |
|
1120 |
-
#: includes/views/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1121 |
msgid ""
|
1122 |
"Use our CSV Import Tool to bulk Import tracking info to orders from a CSV "
|
1123 |
"file"
|
@@ -1125,23 +1748,46 @@ msgstr ""
|
|
1125 |
"Използвайте нашия CSV инструмент за импортиране, за да групово импортирате "
|
1126 |
"информация за проследяване към поръчки от CSV файл"
|
1127 |
|
1128 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
1129 |
msgid "Use tracking number as a link"
|
1130 |
msgstr "Използвайте проследяващия номер като връзка"
|
1131 |
|
1132 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:
|
1133 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:
|
1134 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:
|
1135 |
-
#: includes/views/admin_options_bulk_upload.php:
|
1136 |
msgid "view details"
|
1137 |
msgstr "Разгледайте детайлите"
|
1138 |
|
1139 |
-
#: includes/
|
|
|
|
|
|
|
|
|
1140 |
msgid "View Orders"
|
1141 |
msgstr "Преглед на поръчки"
|
1142 |
|
1143 |
-
|
1144 |
-
#:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1145 |
#, php-format
|
1146 |
msgid ""
|
1147 |
"We detected %s orders that use the Partially Shipped order status, You can "
|
@@ -1150,23 +1796,46 @@ msgstr ""
|
|
1150 |
"Открихме% s поръчки, които използват състоянието на частично изпратена "
|
1151 |
"поръчка. Можете да преназначите тези поръчки на различен статус"
|
1152 |
|
1153 |
-
#:
|
1154 |
-
|
1155 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1156 |
|
1157 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
1158 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
1159 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:
|
1160 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:
|
1161 |
msgid "Y-m-d"
|
1162 |
-
msgstr "
|
1163 |
|
1164 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1165 |
msgid "You can upload only csv file."
|
1166 |
msgstr "Можете да качите само csv файл."
|
1167 |
|
1168 |
-
|
1169 |
-
#: includes/views/admin_options_shipping_provider.php:
|
1170 |
msgid ""
|
1171 |
"You can use the variables %number%, %postal_code% and %country_code% in the "
|
1172 |
"URL, for more info, check our "
|
@@ -1174,31 +1843,97 @@ msgstr ""
|
|
1174 |
"Можете да използвате променливите% number%,% postal_code% и% country_code% в "
|
1175 |
"URL адреса, за повече информация проверете нашата"
|
1176 |
|
1177 |
-
|
1178 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:1990
|
1179 |
#, php-format
|
1180 |
msgid "You did not create any %s shipping providers yet."
|
1181 |
msgstr "Все още не сте създали доставчици на% s доставка."
|
1182 |
|
1183 |
-
|
1184 |
-
#: includes/
|
1185 |
#, php-format
|
1186 |
msgid "You don't have any %s shipping providers."
|
1187 |
msgstr "Нямате доставчици за доставки на% s."
|
1188 |
|
1189 |
-
#: includes/
|
1190 |
-
|
1191 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1192 |
|
1193 |
-
#: includes/customizer/class-wc-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1194 |
msgid "Your {site_title} order is now partially shipped"
|
1195 |
msgstr "Поръчката ви {site_title} вече е частично доставена"
|
1196 |
|
1197 |
-
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:
|
1198 |
msgid "Your {site_title} order is now updated tracking"
|
1199 |
msgstr ""
|
1200 |
"Поръчката ви {site_title} вече е актуализирана за проследяване\n"
|
1201 |
-
|
1202 |
-
#. Author of the plugin
|
1203 |
-
msgid "zorem"
|
1204 |
-
msgstr "зорем"
|
3 |
"Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
"POT-Creation-Date: 2020-11-11 09:34+0000\n"
|
6 |
+
"PO-Revision-Date: 2020-12-07 09:39+0000\n"
|
7 |
+
"Last-Translator: John\n"
|
8 |
"Language-Team: Bulgarian\n"
|
9 |
"Language: bg_BG\n"
|
10 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
12 |
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
"Content-Transfer-Encoding: 8bit\n"
|
14 |
"X-Generator: Loco https://localise.biz/\n"
|
15 |
+
"X-Loco-Version: 2.4.4; wp-5.5.3"
|
16 |
|
17 |
+
#: includes/views/admin_options_shipping_provider.php:82
|
18 |
+
#: includes/views/admin_options_shipping_provider.php:130
|
19 |
#, php-format
|
20 |
msgid "<a href=\"%s\" target=\"blank\">documentation</a>"
|
21 |
msgstr "документация"
|
22 |
|
23 |
+
#: includes/views/admin_options_addons.php:139
|
24 |
+
#: includes/views/trackship_sidebar.php:14
|
25 |
+
msgid "Account Dashboard"
|
26 |
+
msgstr "Табло за управление на акаунта"
|
27 |
+
|
28 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1744
|
29 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1823
|
30 |
msgid "Actions"
|
31 |
msgstr "Действия"
|
32 |
|
33 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1745
|
34 |
+
msgid "Active"
|
35 |
+
msgstr "Активен"
|
36 |
|
37 |
+
#: includes/views/admin_options_shipping_provider.php:22
|
38 |
+
msgid "Active Providers"
|
|
|
|
|
39 |
msgstr ""
|
|
|
|
|
|
|
40 |
|
41 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:386
|
42 |
+
#: includes/views/admin_tracking_page_settings.php:71
|
43 |
+
msgid "Add a link to the Shipping provider page"
|
44 |
+
msgstr "Добавете връзка към страницата на доставчика на доставка"
|
45 |
+
|
46 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1728
|
47 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1904
|
48 |
msgid "Add Custom Provider"
|
49 |
msgstr "Добавете персонализиран доставчик"
|
50 |
|
51 |
+
#: includes/views/admin_options_shipping_provider.php:51
|
52 |
+
msgid "Add Custom Shipping Provider"
|
53 |
+
msgstr "Добавете Потребителски доставчик"
|
54 |
+
|
55 |
#. Description of the plugin
|
56 |
msgid ""
|
57 |
"Add shipment tracking information to your WooCommerce orders and provide "
|
59 |
"will appear in customers accounts (in the order panel) and in WooCommerce "
|
60 |
"order complete email."
|
61 |
msgstr ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
62 |
|
63 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1647
|
64 |
msgid "Add Tracking"
|
65 |
msgstr "Добавете проследяване"
|
66 |
|
67 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:429
|
68 |
msgid "Add Tracking - order\t"
|
69 |
msgstr "Добавяне на проследяване - поръчка"
|
70 |
|
71 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1019
|
72 |
+
msgid "Add Tracking action "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
73 |
msgstr ""
|
|
|
|
|
74 |
|
75 |
+
#: includes/class-wc-advanced-shipment-tracking.php:328
|
76 |
+
msgid "Add Tracking Info"
|
77 |
+
msgstr "Добавяне на информация за проследяване"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
78 |
|
79 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:312
|
80 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:334
|
81 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:429
|
82 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:433
|
83 |
+
#: includes/views/admin_options_addons.php:115
|
84 |
+
#: includes/views/admin_options_addons.php:121
|
85 |
+
msgid "Add-ons"
|
86 |
+
msgstr "Добавки"
|
|
|
87 |
|
88 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:274
|
89 |
msgid "Additional text after header"
|
90 |
msgstr "Допълнителен текст след заглавието"
|
91 |
|
92 |
+
#: includes/views/admin_status_notifications.php:141
|
93 |
+
msgid "Admin Notifications"
|
94 |
+
msgstr "Известия за администратори"
|
95 |
+
|
96 |
#. Name of the plugin
|
97 |
msgid "Advanced Shipment Tracking for WooCommerce"
|
98 |
+
msgstr ""
|
99 |
|
100 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:217
|
101 |
msgid "After Order Details"
|
102 |
msgstr "След подробности за поръчката"
|
103 |
|
104 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1044
|
|
|
|
|
|
|
|
|
105 |
msgid "API Date Format"
|
106 |
msgstr "API формат на датата"
|
107 |
|
108 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1739
|
109 |
+
#: includes/views/admin_options_shipping_provider.php:109
|
110 |
msgid "API Name"
|
111 |
msgstr "Име на API"
|
112 |
|
113 |
+
#: includes/views/admin_status_notifications.php:230
|
114 |
+
msgid "As it Happens"
|
115 |
+
msgstr "Както се случва"
|
116 |
+
|
117 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:470
|
118 |
+
msgid ""
|
119 |
+
"Automatically set the Order Status to Delivered when the shipment is "
|
120 |
+
"delivered "
|
121 |
+
msgstr ""
|
122 |
+
"Автоматично задайте Статуса на поръчката на Доставено, когато пратката е "
|
123 |
+
"доставена"
|
124 |
+
|
125 |
+
#: includes/views/admin_trackship_dashboard.php:33
|
126 |
+
msgid "Automation"
|
127 |
+
msgstr "Automation"
|
128 |
+
|
129 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:764
|
130 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:846
|
131 |
+
#: includes/customizer/class-wcast-customizer.php:104
|
132 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:126
|
133 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:195
|
134 |
+
#: includes/views/admin_status_notifications.php:82
|
135 |
+
msgid "Available For Pickup"
|
136 |
+
msgstr "Предлага се за пикап"
|
137 |
+
|
138 |
+
#. %s: list of placeholders
|
139 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:205
|
140 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:229
|
141 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:274
|
142 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:205
|
143 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:229
|
144 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:274
|
145 |
+
#: includes/customizer/class-wc-email-customizer.php:246
|
146 |
+
#: includes/customizer/class-wc-email-customizer.php:270
|
147 |
+
#: includes/customizer/class-wc-email-customizer.php:315
|
148 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:204
|
149 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:228
|
150 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:273
|
151 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:258
|
152 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:282
|
153 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:327
|
154 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:206
|
155 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:230
|
156 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:275
|
157 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:204
|
158 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:228
|
159 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:272
|
160 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:357
|
161 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:202
|
162 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:226
|
163 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:251
|
164 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:271
|
165 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:204
|
166 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:228
|
167 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:253
|
168 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:273
|
169 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:207
|
170 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:231
|
171 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:276
|
172 |
+
#: includes/emails/class-shipment-delivered-email.php:274
|
173 |
+
#: includes/emails/class-shipment-delivered-email.php:283
|
174 |
+
#: includes/views/admin_status_notifications.php:212
|
175 |
msgid "Available variables:"
|
176 |
msgstr "Налични променливи:"
|
177 |
|
178 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:216
|
179 |
msgid "Before Order Details"
|
180 |
msgstr "Преди подробности за поръчката"
|
181 |
|
182 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:550
|
183 |
msgid "Border color"
|
184 |
msgstr "Цвят на границата"
|
185 |
|
186 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:567
|
187 |
msgid "Border size"
|
188 |
msgstr "Размер на границата"
|
189 |
|
190 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:427
|
191 |
msgid "Bottom border color"
|
192 |
msgstr ""
|
193 |
"Цвят на долната граница\n"
|
194 |
|
195 |
+
#: includes/views/admin_options_shipping_provider.php:23
|
196 |
+
msgid "Browse Providers"
|
197 |
+
msgstr ""
|
198 |
+
|
199 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:960
|
200 |
msgid "Button color"
|
201 |
+
msgstr ""
|
202 |
|
203 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:977
|
204 |
msgid "Button font color"
|
205 |
+
msgstr ""
|
206 |
|
207 |
+
#: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:388
|
208 |
msgid "Cannot create existing order shipment tracking."
|
209 |
msgstr "Cannot create existing order shipment tracking."
|
210 |
|
211 |
+
#: includes/views/admin_status_notifications.php:130
|
212 |
+
msgid "Carrier attempted to deliver the package but failed."
|
213 |
+
msgstr "Превозвачът се опита да достави пакета, но не успя."
|
214 |
+
|
215 |
+
#: includes/views/admin_status_notifications.php:97
|
216 |
+
msgid "Carrier is about to deliver the shipment."
|
217 |
+
msgstr "Carrier is about to deliver the shipment."
|
218 |
+
|
219 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:769
|
220 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:867
|
221 |
+
msgid "Carrier Unsupported"
|
222 |
+
msgstr "Превозвачът не се поддържа"
|
223 |
+
|
224 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1683
|
225 |
msgid "Change order status to"
|
226 |
msgstr "Променете състоянието на поръчката на"
|
227 |
|
228 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:358
|
229 |
msgid "Change status to shipped"
|
230 |
msgstr "Промяна на състоянието на изпратено"
|
231 |
|
232 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1045
|
233 |
msgid "Choose for which Order status to display"
|
234 |
+
msgstr ""
|
235 |
+
|
236 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1020
|
237 |
+
msgid "Choose for which Order status to display Add Tracking action button"
|
238 |
+
msgstr ""
|
239 |
|
240 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1012
|
241 |
+
msgid "Choose on which order emails to include the shipment tracking info"
|
242 |
+
msgstr ""
|
243 |
+
|
244 |
+
#: includes/views/admin_options_bulk_upload.php:34
|
245 |
msgid "Choose the Shipped Date format"
|
246 |
msgstr "Изберете формата на изпратената дата"
|
247 |
|
248 |
+
#: includes/emails/class-shipment-delivered-email.php:298
|
249 |
+
msgid "Click Here"
|
250 |
+
msgstr "Натисни тук"
|
251 |
+
|
252 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:420
|
253 |
msgid "Completed"
|
254 |
msgstr "завършен"
|
255 |
|
256 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:599
|
257 |
+
#: includes/views/trackship_sidebar.php:13
|
258 |
+
msgid "Connected"
|
259 |
+
msgstr ""
|
260 |
+
"свързан\n"
|
261 |
+
|
262 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:337
|
263 |
msgid "Content"
|
264 |
msgstr "съдържание"
|
265 |
|
266 |
#: includes/customizer/class-wc-tracking-info-customizer.php:807
|
267 |
msgid "Content Background color"
|
268 |
+
msgstr ""
|
269 |
|
270 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:392
|
271 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:824
|
272 |
msgid "Content font color"
|
273 |
msgstr ""
|
274 |
"Цвят на шрифта на съдържанието\n"
|
275 |
|
276 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:374
|
277 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:841
|
278 |
msgid "Content font size"
|
279 |
msgstr ""
|
280 |
"Размер на шрифта на съдържанието\n"
|
281 |
|
282 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:881
|
283 |
msgid "Content font weight"
|
284 |
msgstr ""
|
285 |
"Тегло на шрифта на съдържанието\n"
|
286 |
|
287 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:859
|
288 |
msgid "Content line height"
|
289 |
msgstr ""
|
290 |
"Височина на линията на съдържанието\n"
|
291 |
|
292 |
+
#: includes/views/admin_options_bulk_upload.php:57
|
293 |
msgid "Continue"
|
294 |
msgstr "продължи"
|
295 |
|
296 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1741
|
297 |
msgid "Country"
|
298 |
msgstr "Страна"
|
299 |
|
300 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:308
|
301 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:310
|
302 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:327
|
303 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:411
|
304 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:415
|
305 |
+
#: includes/views/admin_options_bulk_upload.php:11
|
306 |
msgid "CSV Import"
|
307 |
msgstr "CSV импортиране"
|
308 |
|
|
|
|
|
|
|
|
|
309 |
#: includes/views/admin_options_shipping_provider.php:61
|
310 |
+
#: includes/views/admin_options_shipping_provider.php:106
|
311 |
msgid "Custom display name"
|
312 |
msgstr "Персонализирано име за показване"
|
313 |
|
314 |
+
#: includes/customizer/class-wcast-customizer.php:73
|
315 |
msgid "Custom order status email"
|
316 |
+
msgstr ""
|
317 |
|
318 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:706
|
319 |
+
#: includes/views/admin_options_settings.php:46
|
320 |
+
msgid "Custom Order Statuses"
|
321 |
+
msgstr "Статуси по поръчка"
|
322 |
|
323 |
+
#: includes/views/admin_options_shipping_provider.php:24
|
324 |
+
msgid "Custom Providers"
|
325 |
+
msgstr ""
|
326 |
|
327 |
+
#: includes/views/admin_status_notifications.php:234
|
328 |
+
msgid "Daily Digest on"
|
329 |
+
msgstr "Daily Digest на"
|
|
|
330 |
|
331 |
+
#: includes/views/admin_options_osm.php:37
|
332 |
+
#: includes/views/admin_options_osm.php:80
|
333 |
+
#: includes/views/admin_options_osm.php:120
|
334 |
msgid "Dark Font"
|
335 |
msgstr ""
|
336 |
"Тъмен шрифт\n"
|
337 |
|
338 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:1495
|
339 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:1503
|
340 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:1520
|
341 |
+
msgid "data not available."
|
342 |
+
msgstr "данни не са налични."
|
343 |
+
|
344 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:159
|
345 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:229
|
346 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:233
|
347 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:353
|
348 |
msgid "Data saved successfully."
|
349 |
msgstr "Данните са запазени успешно."
|
350 |
|
351 |
+
#: includes/class-wc-advanced-shipment-tracking.php:383
|
352 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:466
|
353 |
msgid "Date shipped:"
|
354 |
msgstr "Дата на изпращане:"
|
355 |
|
356 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1742
|
357 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1822
|
358 |
+
msgid "Default"
|
359 |
+
msgstr "По подразбиране"
|
360 |
+
|
361 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:875
|
362 |
+
msgid "Default \"mark as <span class=\"shipped_label\">completed</span>\""
|
363 |
+
msgstr ""
|
364 |
+
"По подразбиране „маркиране като <span class =\" shipped_label \"> завършено "
|
365 |
+
"</span>\""
|
366 |
|
367 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:871
|
368 |
+
msgid "Default \"mark as <span class=\"shipped_label\">shipped</span>\""
|
369 |
+
msgstr ""
|
370 |
+
"По подразбиране \"маркиране като <span class =\" shipped_label \"> изпратено "
|
371 |
+
"</span>\""
|
372 |
+
|
373 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:134
|
374 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:179
|
375 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:766
|
376 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:840
|
377 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1671
|
378 |
+
#: includes/customizer/class-wcast-customizer.php:119
|
379 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:127
|
380 |
+
#: includes/customizer/class-wc-email-customizer.php:184
|
381 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:197
|
382 |
+
#: includes/views/admin_status_notifications.php:112
|
383 |
+
#: includes/views/admin_options_osm.php:17
|
384 |
msgid "Delivered"
|
385 |
msgstr "Доставени"
|
386 |
|
387 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:139
|
388 |
+
#, php-format
|
389 |
+
msgid "Delivered <span class=\"count\">(%s)</span>"
|
390 |
+
msgid_plural "Delivered <span class=\"count\">(%s)</span>"
|
391 |
+
msgstr[0] "Доставено <span class = \"count\"> (% s) </span>"
|
392 |
+
msgstr[1] "Доставено <span class = \"count\"> (% s) </span>"
|
393 |
+
|
394 |
+
#: includes/emails/class-shipment-delivered-email.php:32
|
395 |
+
msgid "Delivered order"
|
396 |
+
msgstr "Доставена поръчка"
|
397 |
+
|
398 |
+
#: includes/views/front/layout1_tracking_details.php:8
|
399 |
+
msgid "Destination Details"
|
400 |
+
msgstr "Подробности за дестинацията"
|
401 |
+
|
402 |
+
#: includes/customizer/class-wc-email-customizer.php:389
|
403 |
+
msgid "Display Billing Address"
|
404 |
+
msgstr "Показване на адрес за фактуриране"
|
405 |
+
|
406 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1738
|
407 |
msgid "Display Name"
|
408 |
msgstr "Показвано име"
|
409 |
|
410 |
+
#: includes/customizer/class-wc-email-customizer.php:351
|
411 |
+
msgid "Display order details"
|
412 |
+
msgstr "Показване на подробности за поръчката"
|
413 |
+
|
414 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:437
|
415 |
+
msgid "Display Shipment Status Filter on Orders admin"
|
416 |
+
msgstr ""
|
417 |
+
"Показване на филтъра за състоянието на доставката на администратор на поръчки"
|
418 |
+
|
419 |
+
#: includes/customizer/class-wc-email-customizer.php:370
|
420 |
+
msgid "Display Shipping Address"
|
421 |
+
msgstr "Показване на адрес за доставка"
|
422 |
+
|
423 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:480
|
424 |
msgid "Display shipping provider image"
|
425 |
msgstr ""
|
426 |
"Покажи изображението на доставчика на доставка\n"
|
427 |
|
428 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:462
|
429 |
msgid "Display shipping provider name"
|
430 |
msgstr ""
|
431 |
"Показване на име на доставчика на доставка\n"
|
432 |
|
433 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1029
|
434 |
+
msgid "Display Track button on the Orders history list in my-account"
|
435 |
+
msgstr ""
|
436 |
+
|
437 |
+
#: includes/customizer/class-wc-email-customizer.php:333
|
438 |
+
msgid "Display tracking details"
|
439 |
+
msgstr "Показване на подробности за проследяване"
|
440 |
+
|
441 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:220
|
442 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:339
|
443 |
+
#: includes/views/zorem_admin_bulk_upload_sidebar.php:14
|
444 |
+
msgid "Documentation"
|
445 |
+
msgstr "документация"
|
446 |
+
|
447 |
+
#: includes/views/zorem_admin_bulk_upload_sidebar.php:13
|
448 |
msgid "Download sample csv"
|
449 |
msgstr "Изтеглете пример csv"
|
450 |
|
451 |
+
#: includes/views/admin_status_notifications.php:190
|
452 |
+
msgid "E.g. {admin_email}, admin@example.org"
|
453 |
+
msgstr "Например {admin_email}, admin@example.org"
|
454 |
+
|
455 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:187
|
456 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:187
|
457 |
+
#: includes/customizer/class-wc-email-customizer.php:228
|
458 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:186
|
459 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:240
|
460 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:188
|
461 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:186
|
462 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:189
|
463 |
+
msgid "E.g. {customer.email}, admin@example.org"
|
464 |
+
msgstr "E.g. {customer.email}, admin@example.org"
|
465 |
+
|
466 |
+
#: includes/emails/class-shipment-delivered-email.php:299
|
467 |
+
msgid "Edit in customizer"
|
468 |
+
msgstr "Редактиране в персонализатора"
|
469 |
+
|
470 |
+
#: includes/views/admin_options_shipping_provider.php:95
|
471 |
msgid "Edit Shipping Provider"
|
472 |
msgstr "Редактиране на доставчика на доставка"
|
473 |
|
474 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:252
|
475 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:252
|
476 |
+
#: includes/customizer/class-wc-email-customizer.php:294
|
477 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:251
|
478 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:305
|
479 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:253
|
480 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:251
|
481 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:250
|
482 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:252
|
483 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:254
|
484 |
+
#: includes/views/admin_status_notifications.php:206
|
485 |
msgid "Email content"
|
486 |
msgstr "Съдържание на имейла"
|
487 |
|
488 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:204
|
489 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:204
|
490 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:203
|
491 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:257
|
492 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:205
|
493 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:206
|
494 |
+
msgid "Email Subject"
|
495 |
+
msgstr "Тема на имейл"
|
496 |
|
497 |
+
#: includes/customizer/class-wc-email-customizer.php:176
|
498 |
+
msgid "Email Type"
|
499 |
+
msgstr ""
|
500 |
|
501 |
+
#: includes/views/admin_tracking_page_settings.php:10
|
502 |
+
msgid "Enable a tracking page on your store"
|
503 |
+
msgstr "Активирайте страницата за проследяване в магазина си"
|
504 |
|
505 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:161
|
506 |
+
msgid "Enable Available For Pickup email"
|
507 |
+
msgstr "Активиране на имейл за пикап"
|
508 |
|
509 |
+
#: includes/views/admin_options_settings.php:47
|
510 |
+
msgid "Enable custom order statuses to streamline your fulfillment workflow"
|
511 |
+
msgstr ""
|
512 |
|
513 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:161
|
514 |
+
msgid "Enable Delivered email"
|
515 |
+
msgstr "Активиране на доставения имейл"
|
516 |
|
517 |
+
#: includes/customizer/class-wc-email-customizer.php:202
|
518 |
+
msgid "Enable Delivered order status email"
|
519 |
+
msgstr "Активиране на имейл съобщението за състоянието на поръчката"
|
520 |
|
521 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:160
|
522 |
+
msgid "Enable Failed Attempt email"
|
523 |
+
msgstr "Активиране на имейл с неуспешен опит"
|
524 |
|
525 |
+
#: includes/customizer/class-wc-email-customizer.php:408
|
526 |
+
msgid "Enable Google Analytics tracking"
|
527 |
+
msgstr "Активиране на проследяването на Google Analytics"
|
528 |
|
529 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:214
|
530 |
+
msgid "Enable In Transit email"
|
531 |
+
msgstr "Активиране на имейл в Transit"
|
532 |
|
533 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:163
|
534 |
+
msgid "Enable On Hold email"
|
535 |
+
msgstr "Активирайте имейл на задържане"
|
536 |
|
537 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:162
|
538 |
+
msgid "Enable Out For Delivery email"
|
539 |
+
msgstr "Enable Out For Delivery email"
|
540 |
|
541 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:161
|
542 |
+
msgid "Enable Partially Shipped order status email"
|
543 |
+
msgstr "Активиране на частично изпратен имейл за състоянието на поръчката"
|
544 |
|
545 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:160
|
546 |
+
msgid "Enable Return To Sender email"
|
547 |
+
msgstr "Активирайте имейл на Return To Sender"
|
548 |
|
549 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:431
|
550 |
+
msgid "Enable TrackShip"
|
551 |
+
msgstr "Активирайте TrackShip"
|
552 |
|
553 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:162
|
554 |
+
msgid "Enable Updated Tracking order status email"
|
|
|
|
|
555 |
msgstr ""
|
556 |
+
"Активиране на имейла за актуализирано проследяване на поръчката\n"
|
|
|
557 |
|
558 |
+
#: includes/views/front/tracking_page_header.php:22
|
559 |
+
msgid "Est. Delivery Date"
|
560 |
msgstr ""
|
561 |
+
"Est. Дата на доставка\n"
|
562 |
|
563 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:855
|
564 |
+
msgid "Exception"
|
565 |
msgstr ""
|
|
|
566 |
|
567 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:767
|
568 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:852
|
569 |
+
#: includes/customizer/class-wcast-customizer.php:127
|
570 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:126
|
571 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:198
|
572 |
+
#: includes/views/admin_status_notifications.php:130
|
573 |
+
msgid "Failed Attempt"
|
574 |
+
msgstr "Неуспешен опит"
|
575 |
+
|
576 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:776
|
577 |
+
msgid "Filter by shipment status"
|
578 |
+
msgstr "Филтрирайте по статус на пратката"
|
579 |
+
|
580 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2145
|
581 |
msgid "Filter by shipping provider"
|
582 |
msgstr "Филтрирайте по доставчик"
|
583 |
|
584 |
+
#: templates/tracking/tracking-form.php:12
|
585 |
+
#: templates/tracking/tracking-form.php:13
|
586 |
+
msgid "Found in your order confirmation email."
|
587 |
+
msgstr ""
|
588 |
+
"Намерен в имейла за потвърждение на поръчката.\n"
|
589 |
|
590 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1001
|
|
|
591 |
msgid "General Settings"
|
592 |
msgstr "Основни настройки"
|
593 |
|
594 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:738
|
595 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:1007
|
596 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:1016
|
597 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:1025
|
598 |
+
msgid "Get Shipment Status"
|
599 |
+
msgstr "Получете състояние на пратката"
|
600 |
+
|
601 |
+
#: includes/views/admin_options_shipping_provider.php:66
|
602 |
+
#: includes/views/admin_options_shipping_provider.php:114
|
603 |
msgid "Global"
|
604 |
msgstr "в световен мащаб"
|
605 |
|
606 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:364
|
607 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:365
|
608 |
+
#: includes/customizer/class-wc-email-customizer.php:427
|
609 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:364
|
610 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:418
|
611 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:366
|
612 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:363
|
613 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:367
|
614 |
+
msgid "Google Analytics link tracking"
|
615 |
+
msgstr "Проследяване на връзки в Google Analytics"
|
616 |
+
|
617 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:735
|
618 |
msgid "Headers background color"
|
619 |
+
msgstr ""
|
620 |
|
621 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:752
|
622 |
msgid "Headers font color"
|
623 |
msgstr ""
|
624 |
"Цвят на шрифта на заглавките\n"
|
625 |
|
626 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:717
|
627 |
msgid "Headers font size"
|
628 |
msgstr ""
|
629 |
"Размер на шрифта на заглавките\n"
|
630 |
|
631 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:769
|
632 |
msgid "Headers font weight"
|
633 |
+
msgstr ""
|
634 |
|
635 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:120
|
636 |
msgid ""
|
637 |
"Hi there. we thought you'd like to know that the shipment tracking for your "
|
638 |
"recent order from {site_title} has been updated."
|
640 |
"Здрасти. решихме, че бихте искали да знаете, че проследяването на пратката "
|
641 |
"за скорошната ви поръчка от {site_title} е актуализирано.\n"
|
642 |
|
643 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:128
|
644 |
+
#: includes/customizer/class-wc-email-customizer.php:122
|
645 |
+
msgid ""
|
646 |
+
"Hi there. we thought you'd like to know that your recent order from "
|
647 |
+
"{site_title} has been Delivered."
|
648 |
+
msgstr ""
|
649 |
+
"Здрасти. решихме, че искате да знаете, че скорошната Ви поръчка от "
|
650 |
+
"{site_title} е била Доставена."
|
651 |
+
|
652 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:120
|
653 |
msgid ""
|
654 |
"Hi there. we thought you'd like to know that your recent order from "
|
655 |
"{site_title} has been partially shipped."
|
657 |
"Здрасти. решихме, че бихте искали да знаете, че скорошната ви поръчка от "
|
658 |
"{site_title} е частично изпратена.\n"
|
659 |
|
660 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:127
|
661 |
+
msgid ""
|
662 |
+
"Hi there. we thought you'd like to know that your recent order from "
|
663 |
+
"{site_title} has been returned to sender."
|
664 |
+
msgstr ""
|
665 |
+
"Здрасти. смятаме, че искате да знаете, че скорошната Ви поръчка от "
|
666 |
+
"{site_title} е върната на подателя.\n"
|
667 |
+
|
668 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:127
|
669 |
+
msgid ""
|
670 |
+
"Hi there. we thought you'd like to know that your recent order from "
|
671 |
+
"{site_title} is available for pickup."
|
672 |
+
msgstr ""
|
673 |
+
"Здрасти. решихме, че искате да знаете, че скорошната Ви поръчка от "
|
674 |
+
"{site_title} е достъпна за приемане."
|
675 |
+
|
676 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:127
|
677 |
+
msgid ""
|
678 |
+
"Hi there. we thought you'd like to know that your recent order from "
|
679 |
+
"{site_title} is Failed Attempt"
|
680 |
+
msgstr ""
|
681 |
+
"Здрасти. решихме, че бихте искали да знаете, че скорошната ви поръчка от "
|
682 |
+
"{site_title} е неуспешен опит"
|
683 |
+
|
684 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:130
|
685 |
+
msgid ""
|
686 |
+
"Hi there. we thought you'd like to know that your recent order from "
|
687 |
+
"{site_title} is in transit"
|
688 |
+
msgstr ""
|
689 |
+
"Здрасти. решихме, че искате да знаете, че скорошната ви поръчка от "
|
690 |
+
"{site_title} е в транзит"
|
691 |
+
|
692 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:130
|
693 |
+
msgid ""
|
694 |
+
"Hi there. we thought you'd like to know that your recent order from "
|
695 |
+
"{site_title} is on hold"
|
696 |
+
msgstr ""
|
697 |
+
"Здрасти. решихме, че бихте искали да знаете, че скорошната ви поръчка от "
|
698 |
+
"{site_title} е в задържане"
|
699 |
+
|
700 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:129
|
701 |
+
msgid ""
|
702 |
+
"Hi there. we thought you'd like to know that your recent order from "
|
703 |
+
"{site_title} is out for delivery."
|
704 |
+
msgstr ""
|
705 |
+
"Здрасти. решихме, че искате да знаете, че скорошната ви поръчка от "
|
706 |
+
"{site_title} е за доставка.\n"
|
707 |
+
|
708 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:753
|
709 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:768
|
710 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:783
|
711 |
msgid "hide details"
|
712 |
msgstr "скрий подробности"
|
713 |
|
714 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:392
|
715 |
+
#: includes/views/admin_tracking_page_settings.php:76
|
716 |
+
msgid "Hide Shipping Provider Image"
|
717 |
+
msgstr ""
|
718 |
+
"Скриване на изображението на доставчика на доставка\n"
|
719 |
+
|
720 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:631
|
721 |
msgid "Hide Table Headers"
|
722 |
msgstr ""
|
723 |
"Скриване на заглавките на таблици\n"
|
724 |
|
725 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:498
|
726 |
+
#, fuzzy
|
727 |
#| msgid "Hide the ship date"
|
728 |
msgid "Hide the shipped date"
|
729 |
+
msgstr ""
|
730 |
+
"Скриване на датата на кораба\n"
|
731 |
+
|
732 |
+
#: includes/views/admin_tracking_page_settings.php:81
|
733 |
+
msgid "Hide tracking event details"
|
734 |
+
msgstr ""
|
735 |
+
"Скриване на данните за проследяване на проследяването\n"
|
736 |
+
|
737 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:398
|
738 |
+
msgid "Hide tracking events details"
|
739 |
+
msgstr "Скриване на подробности за проследяване на събития"
|
740 |
|
741 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:233
|
742 |
msgid "Hide Tracking Header"
|
743 |
msgstr "Скриване на проследяващия заглавие"
|
744 |
|
745 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:340
|
746 |
+
msgid "How to Video"
|
747 |
+
msgstr "How to Video"
|
748 |
|
749 |
#. Author URI of the plugin
|
750 |
msgid "https://www.zorem.com"
|
751 |
+
msgstr ""
|
752 |
|
753 |
#. URI of the plugin
|
754 |
msgid "https://www.zorem.com/products/woocommerce-advanced-shipment-tracking/"
|
755 |
+
msgstr ""
|
756 |
+
|
757 |
+
#: includes/views/admin_status_notifications.php:155
|
758 |
+
msgid ""
|
759 |
+
"If a shipment reached the number of days that you define, and the shipment "
|
760 |
+
"is not \"delivered\" or \"Returned to Sender\" than email will trigger."
|
761 |
+
msgstr ""
|
762 |
+
"Ако пратката достигне броя дни, които сте определили, и пратката не е "
|
763 |
+
"„доставена“ или „Върната на подателя“, ще се задейства имейл."
|
764 |
|
765 |
+
#: includes/views/admin_options_bulk_upload.php:76
|
766 |
msgid "Import in Progress"
|
767 |
msgstr "Вносът е в процес"
|
768 |
|
769 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:763
|
770 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:831
|
771 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:129
|
772 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:192
|
773 |
+
#: includes/views/admin_status_notifications.php:37
|
774 |
+
msgid "In Transit"
|
775 |
+
msgstr "Транзитно"
|
|
|
776 |
|
777 |
+
#: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:397
|
778 |
msgid "Invalid order ID."
|
779 |
msgstr "Невалиден идентификационен номер на поръчката."
|
780 |
|
781 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:771
|
782 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:864
|
783 |
+
msgid "Invalid Tracking Number"
|
784 |
+
msgstr "Невалиден номер за проследяване"
|
785 |
+
|
786 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:870
|
787 |
+
msgid "Invalid User Key"
|
788 |
+
msgstr "Невалиден потребителски ключ"
|
789 |
+
|
790 |
+
#: includes/views/admin_options_bulk_upload.php:48
|
791 |
msgid ""
|
792 |
"Keep unchecked for the tracking info to be added to any existing tracking "
|
793 |
"info added to the orders."
|
795 |
"Не оставяйте отметка информацията за проследяване да се добавя към всяка "
|
796 |
"съществуваща информация за проследяване, добавена към поръчките."
|
797 |
|
798 |
+
#: includes/customizer/class-wc-late-shipments-email-customizer.php:29
|
799 |
+
msgid "Late shipment"
|
800 |
+
msgstr "Късна доставка"
|
801 |
+
|
802 |
+
#: includes/views/admin_status_notifications.php:176
|
803 |
+
msgid "Late Shipment Days"
|
804 |
+
msgstr "Късни дни на изпращане"
|
805 |
+
|
806 |
+
#: includes/customizer/class-wc-late-shipments-email-customizer.php:28
|
807 |
+
#: includes/views/admin_status_notifications.php:200
|
808 |
+
msgid "Late shipment for order #{order_number}"
|
809 |
+
msgstr "Късна пратка за поръчка № {order_number}"
|
810 |
+
|
811 |
+
#: includes/customizer/class-wcast-customizer.php:135
|
812 |
+
#: includes/views/admin_status_notifications.php:155
|
813 |
+
msgid "Late Shipments"
|
814 |
+
msgstr "Късни пратки"
|
815 |
+
|
816 |
+
#: includes/views/admin_options_settings.php:39
|
817 |
+
msgid "Launch Customizer"
|
818 |
+
msgstr "Стартирайте персонализатора"
|
819 |
+
|
820 |
+
#: includes/views/admin_options_addons.php:118
|
821 |
msgid "License"
|
822 |
msgstr "License"
|
823 |
|
824 |
+
#: includes/views/admin_options_osm.php:36
|
825 |
+
#: includes/views/admin_options_osm.php:79
|
826 |
+
#: includes/views/admin_options_osm.php:119
|
827 |
msgid "Light Font"
|
828 |
msgstr ""
|
829 |
"Лек шрифт\n"
|
830 |
|
831 |
+
#: includes/class-wc-advanced-shipment-tracking.php:316
|
832 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:419
|
833 |
msgid "Mark as Completed?"
|
834 |
msgstr "Да се маркира като завършен?"
|
835 |
|
836 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1656
|
837 |
msgid "Mark as Shipped"
|
838 |
msgstr "Маркирайте като изпратено"
|
839 |
|
840 |
+
#: includes/class-wc-advanced-shipment-tracking.php:313
|
841 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:416
|
842 |
msgid "Mark as Shipped?"
|
843 |
msgstr "Да се маркира като изпратен?"
|
844 |
|
845 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1629
|
846 |
msgid "Mark order as delivered"
|
847 |
msgstr "Маркирайте поръчката като доставена"
|
848 |
|
849 |
+
#: includes/class-wc-advanced-shipment-tracking.php:397
|
850 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:476
|
851 |
msgid "Mark order as:"
|
852 |
msgstr "Маркиране на поръчката като:"
|
853 |
|
854 |
+
#: includes/customizer/class-wc-email-customizer.php:158
|
855 |
msgid "Mockup Order"
|
856 |
+
msgstr ""
|
857 |
+
|
858 |
+
#: includes/customizer/class-wcast-customizer.php:459
|
859 |
+
msgid "Mockup order"
|
860 |
+
msgstr ""
|
861 |
|
862 |
+
#: includes/views/admin_tracking_page_settings.php:41
|
|
|
863 |
msgid "more info"
|
864 |
msgstr ""
|
865 |
"повече информация\n"
|
866 |
|
867 |
+
#: includes/views/admin_tracking_page_settings.php:41
|
868 |
+
msgid ""
|
869 |
+
"Note - If you select a different page than the Shipment Tracking page, add "
|
870 |
+
"the [wcast-track-order] shortcode to the selected page content."
|
871 |
+
msgstr ""
|
872 |
+
"Забележка - Ако изберете страница, различна от тази за проследяване на "
|
873 |
+
"пратката, добавете краткия код [wcast-track-order] към избраното съдържание "
|
874 |
+
"на страницата.\n"
|
875 |
+
|
876 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:218
|
877 |
+
#: includes/views/trackship_settings.php:12
|
878 |
+
#: includes/views/trackship_settings.php:13
|
879 |
+
msgid "Notifications"
|
880 |
+
msgstr "Известия"
|
881 |
+
|
882 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:834
|
883 |
+
#: includes/customizer/class-wcast-customizer.php:89
|
884 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:193
|
885 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:129
|
886 |
+
#: includes/views/admin_status_notifications.php:52
|
887 |
+
msgid "On Hold"
|
888 |
+
msgstr "На изчакване"
|
889 |
|
890 |
#: includes/class-wc-advanced-shipment-tracking-admin.php:1030
|
891 |
+
msgid "Open the track link in a new tab"
|
892 |
+
msgstr ""
|
893 |
+
|
894 |
+
#: includes/emails/class-shipment-delivered-email.php:33
|
895 |
+
msgid ""
|
896 |
+
"Order delivered emails are sent to customers when their orders are marked "
|
897 |
+
"delivered and usually indicate that their orders have been shipped."
|
898 |
+
msgstr ""
|
899 |
+
"Имейлите за доставени поръчки се изпращат на клиентите, когато поръчките им "
|
900 |
+
"са маркирани доставени и обикновено показват, че поръчките им са изпратени."
|
901 |
+
|
902 |
+
#: templates/tracking/tracking-form.php:13
|
903 |
+
msgid "Order Email"
|
904 |
+
msgstr ""
|
905 |
+
"Имейл за поръчка\n"
|
906 |
+
|
907 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1011
|
908 |
+
msgid "Order Email Display"
|
909 |
+
msgstr ""
|
910 |
+
|
911 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:161
|
912 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:171
|
913 |
+
msgid "Order not found."
|
914 |
+
msgstr ""
|
915 |
|
916 |
#. %s: Order ID.
|
917 |
+
#: templates/emails/wcast-email-order-details.php:48
|
918 |
#, php-format
|
919 |
msgid "Order number: %s"
|
920 |
msgstr ""
|
921 |
"Номер на поръчката:% s\n"
|
922 |
|
923 |
+
#: includes/customizer/class-wcast-customizer.php:42
|
924 |
+
msgid "Order Status Emails"
|
925 |
+
msgstr "Имейли със статут на поръчка"
|
|
|
|
|
926 |
|
927 |
+
#: includes/class-wc-advanced-shipment-tracking.php:1181
|
928 |
+
#: includes/class-wc-advanced-shipment-tracking.php:1272
|
|
|
929 |
#, php-format
|
930 |
+
msgid "Order was shipped with %s and tracking number is: %s"
|
931 |
+
msgstr "Поръчката беше изпратена с% s, а проследяващият номер е:% s"
|
932 |
+
|
933 |
+
#: includes/views/front/layout1_tracking_details.php:25
|
934 |
+
msgid "Origin Details"
|
935 |
+
msgstr "Подробности за произхода"
|
936 |
|
937 |
+
#: includes/views/admin_tracking_page_settings.php:36
|
938 |
msgid "Other"
|
939 |
msgstr "Други"
|
940 |
|
941 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:765
|
942 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:843
|
943 |
+
#: includes/customizer/class-wcast-customizer.php:111
|
944 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:196
|
945 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:128
|
946 |
+
msgid "Out For Delivery"
|
947 |
+
msgstr ""
|
948 |
+
"За доставка\n"
|
949 |
+
|
950 |
+
#: includes/views/admin_status_notifications.php:97
|
951 |
+
msgid "Out For delivery"
|
952 |
+
msgstr "Вън за доставка"
|
953 |
+
|
954 |
+
#: includes/class-wc-advanced-shipment-tracking.php:400
|
955 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:479
|
956 |
msgid "Partial Shipped"
|
957 |
msgstr "Частично изпратено"
|
958 |
|
959 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:162
|
960 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:208
|
961 |
+
#: includes/customizer/class-wc-email-customizer.php:185
|
962 |
+
#: includes/views/admin_options_osm.php:59
|
963 |
msgid "Partially Shipped"
|
964 |
msgstr "Частично изпратени"
|
965 |
|
966 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:167
|
|
|
967 |
#, php-format
|
968 |
msgid "Partially Shipped <span class=\"count\">(%s)</span>"
|
969 |
msgid_plural "Partially Shipped <span class=\"count\">(%s)</span>"
|
970 |
msgstr[0] "Частично изпратен <span class = \"count\"> (% s) </span>"
|
971 |
msgstr[1] "Частично изпратен <span class = \"count\"> (% s) </span>"
|
972 |
|
973 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:760
|
974 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:861
|
975 |
+
msgid "Pending TrackShip"
|
976 |
+
msgstr "Изчаква TrackShip"
|
|
|
|
|
|
|
977 |
|
978 |
+
#: woocommerce-advanced-shipment-tracking.php:122
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
979 |
#, php-format
|
980 |
msgid ""
|
981 |
+
"Please install and activate %sWooCommerce%s for Advanced Shipment Tracking "
|
982 |
+
"for WooCommerce!"
|
983 |
msgstr ""
|
|
|
|
|
984 |
|
985 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:194
|
986 |
+
msgid "Please select a order..."
|
987 |
+
msgstr ""
|
988 |
+
"Моля, изберете поръчка ...\n"
|
989 |
+
|
990 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:433
|
991 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:440
|
992 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:434
|
993 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:441
|
994 |
+
#: includes/customizer/class-wc-email-customizer.php:475
|
995 |
+
#: includes/customizer/class-wc-email-customizer.php:483
|
996 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:433
|
997 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:441
|
998 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:486
|
999 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:494
|
1000 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:435
|
1001 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:443
|
1002 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:431
|
1003 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:439
|
1004 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:313
|
1005 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:321
|
1006 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:314
|
1007 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:322
|
1008 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:435
|
1009 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:443
|
1010 |
msgid "Please select order to preview."
|
1011 |
msgstr "Моля, изберете поръчка за преглед."
|
1012 |
|
1013 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:237
|
1014 |
msgid "Please upload a valid CSV file."
|
1015 |
msgstr "Моля, качете валиден CSV файл."
|
1016 |
|
1017 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:762
|
1018 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:837
|
1019 |
+
msgid "Pre Transit"
|
1020 |
+
msgstr "Предварително преминаване"
|
1021 |
+
|
1022 |
+
#: includes/views/admin_tracking_page_settings.php:105
|
1023 |
+
msgid "Preview"
|
1024 |
+
msgstr ""
|
1025 |
+
"предварителен преглед\n"
|
1026 |
+
|
1027 |
+
#: includes/customizer/class-wc-email-customizer.php:154
|
1028 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:162
|
1029 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:190
|
1030 |
+
msgid "Preview order"
|
1031 |
+
msgstr ""
|
1032 |
+
"Преглед на поръчката\n"
|
1033 |
+
|
1034 |
+
#: includes/class-wc-advanced-shipment-tracking.php:419
|
1035 |
msgid "Preview:"
|
1036 |
msgstr "Преглед:"
|
1037 |
|
1038 |
+
#: includes/class-wc-advanced-shipment-tracking.php:375
|
1039 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:462
|
1040 |
msgid "Product Code:"
|
1041 |
msgstr "Код на продукта:"
|
1042 |
|
1043 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1821
|
1044 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:150
|
1045 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:656
|
1046 |
+
#: templates/emails/tracking-info.php:273
|
1047 |
+
#: templates/myaccount/tracking-info.php:211
|
1048 |
msgid "Provider"
|
1049 |
msgstr "доставчик"
|
1050 |
|
1051 |
+
#: templates/emails/tracking-info.php:278
|
1052 |
+
#: templates/myaccount/tracking-info.php:216
|
|
|
1053 |
msgid "Provider Name"
|
1054 |
msgstr "Provider Name"
|
1055 |
|
1056 |
+
#: includes/views/admin_options_shipping_provider.php:153
|
1057 |
msgid "Providers Added"
|
1058 |
msgstr "Доставчиците са добавени"
|
1059 |
|
1060 |
+
#: includes/views/admin_options_shipping_provider.php:155
|
1061 |
msgid "Providers Deleted"
|
1062 |
msgstr "Доставчиците са изтрити"
|
1063 |
|
1064 |
+
#: includes/views/admin_options_shipping_provider.php:154
|
1065 |
msgid "Providers Updated"
|
1066 |
msgstr "Актуализирани доставчици"
|
1067 |
|
1068 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:234
|
1069 |
msgid "Really delete this entry? This will not be undo."
|
1070 |
msgstr "Наистина ли да изтриете този запис? Това няма да бъде отменено."
|
1071 |
|
1072 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:404
|
1073 |
+
#: includes/views/admin_tracking_page_settings.php:86
|
1074 |
+
msgid "Remove TrackShip branding"
|
1075 |
+
msgstr "Премахване на марката TrackShip"
|
1076 |
+
|
1077 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1003
|
1078 |
msgid "Rename the “Completed” Order status label to “Shipped”"
|
1079 |
+
msgstr ""
|
1080 |
|
1081 |
+
#: includes/views/admin_options_bulk_upload.php:48
|
1082 |
msgid "Replace tracking information?"
|
1083 |
msgstr "Replace tracking information?"
|
1084 |
|
1085 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:507
|
1086 |
+
msgid "Resend delivered order notification"
|
1087 |
+
msgstr "Повторно изпратено известие за поръчка"
|
1088 |
+
|
1089 |
+
#: includes/views/admin_options_shipping_provider.php:136
|
1090 |
msgid "Reset"
|
1091 |
msgstr "Нулиране"
|
1092 |
|
1093 |
+
#: includes/views/admin_options_shipping_provider.php:159
|
1094 |
msgid ""
|
1095 |
"Reset providers database, it will reset all your shipping provider database"
|
1096 |
msgstr ""
|
1097 |
"Нулирайте базата данни на доставчиците, тя ще нулира цялата база данни на "
|
1098 |
"доставчика ви"
|
1099 |
|
1100 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:770
|
1101 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:849
|
1102 |
+
#: includes/customizer/class-wcast-customizer.php:97
|
1103 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:194
|
1104 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:126
|
1105 |
+
#: includes/views/admin_status_notifications.php:67
|
1106 |
+
msgid "Return To Sender"
|
1107 |
+
msgstr "Върнете се към подателя"
|
1108 |
+
|
1109 |
+
#: includes/views/admin_options_settings.php:23
|
1110 |
+
#: includes/views/admin_trackship_dashboard.php:45
|
1111 |
+
#: includes/views/admin_tracking_page_settings.php:104
|
1112 |
+
#: includes/views/admin_status_notifications.php:245
|
1113 |
+
msgid "Save Changes"
|
1114 |
+
msgstr "Запазите промените"
|
1115 |
+
|
1116 |
+
#: includes/class-wc-advanced-shipment-tracking.php:416
|
1117 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:491
|
1118 |
msgid "Save Tracking"
|
1119 |
msgstr "Запазване на проследяването"
|
1120 |
|
1121 |
+
#: includes/views/admin_options_shipping_provider.php:29
|
1122 |
msgid "Search by provider / country"
|
1123 |
msgstr "Търсене по доставчик / държава"
|
1124 |
|
1125 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:191
|
1126 |
+
msgid "Select an order to preview and design the tracking info display."
|
1127 |
+
msgstr ""
|
1128 |
+
"Изберете поръчка за визуализация и дизайн на дисплея с информация за "
|
1129 |
+
"проследяване.\n"
|
1130 |
+
|
1131 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:380
|
1132 |
+
msgid "Select content border color for tracking page"
|
1133 |
+
msgstr "Изберете цвят на контура на съдържанието за страница за проследяване"
|
1134 |
+
|
1135 |
+
#: includes/customizer/class-wc-email-customizer.php:180
|
1136 |
msgid "Select email type"
|
1137 |
+
msgstr ""
|
1138 |
|
1139 |
+
#: includes/class-wc-advanced-shipment-tracking.php:338
|
1140 |
msgid "Select Provider"
|
1141 |
msgstr "Изберете Доставчик"
|
1142 |
|
1143 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:188
|
1144 |
+
msgid "Select shipment status"
|
1145 |
+
msgstr ""
|
1146 |
+
|
1147 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:303
|
1148 |
msgid "Select Template"
|
1149 |
msgstr ""
|
1150 |
"Изберете шаблон\n"
|
1151 |
|
1152 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:349
|
1153 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:357
|
1154 |
+
#: includes/views/admin_tracking_page_settings.php:27
|
1155 |
+
msgid "Select Tracking Page"
|
1156 |
+
msgstr "Изберете страница за проследяване"
|
1157 |
+
|
1158 |
+
#: includes/views/admin_options_osm.php:41
|
1159 |
+
#: includes/views/admin_options_osm.php:84
|
1160 |
+
#: includes/views/admin_options_osm.php:124
|
1161 |
msgid "Send Email"
|
1162 |
msgstr ""
|
1163 |
"Изпратете имейл\n"
|
1164 |
|
1165 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1004
|
1166 |
msgid ""
|
1167 |
"Set the \"mark as shipped\" option checked when adding tracking info to "
|
1168 |
"orders"
|
1169 |
msgstr ""
|
|
|
|
|
1170 |
|
1171 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:393
|
1172 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:397
|
1173 |
+
#: includes/views/admin_options_settings.php:15
|
1174 |
msgid "Settings"
|
1175 |
+
msgstr ""
|
1176 |
|
1177 |
+
#: includes/views/admin_options_bulk_upload.php:59
|
1178 |
msgid "Settings Saved."
|
1179 |
msgstr "Настройките са запазени."
|
1180 |
|
1181 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:327
|
1182 |
+
#: includes/views/front/preview_tracking_page.php:25
|
1183 |
+
msgid "Shipment"
|
1184 |
+
msgstr ""
|
1185 |
+
|
1186 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:355
|
1187 |
+
#, php-format
|
1188 |
+
msgid "Shipment - %s (out of %s)"
|
1189 |
+
msgstr ""
|
1190 |
+
"Пратка -% s (от% s)\n"
|
1191 |
+
|
1192 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:324
|
1193 |
+
#, php-format
|
1194 |
+
msgid "Shipment : %s (out of %s)"
|
1195 |
+
msgstr ""
|
1196 |
+
|
1197 |
+
#: includes/views/admin_status_notifications.php:67
|
1198 |
+
msgid "Shipment is returned to sender."
|
1199 |
+
msgstr "Пратката се връща на подателя."
|
1200 |
+
|
1201 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:1483
|
1202 |
+
msgid "Shipment Providers"
|
1203 |
+
msgstr "Доставчици на пратки"
|
1204 |
+
|
1205 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:1486
|
1206 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:184
|
1207 |
+
#: templates/emails/tracking-info.php:218
|
1208 |
+
#: templates/emails/tracking-info.php:248
|
1209 |
+
msgid "Shipment Status"
|
1210 |
+
msgstr "Състояние на пратката"
|
1211 |
+
|
1212 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:495
|
1213 |
+
msgid "Shipment status"
|
1214 |
+
msgstr "Състояние на пратката"
|
1215 |
+
|
1216 |
+
#: templates/emails/plain/tracking-info.php:35
|
1217 |
#, php-format
|
1218 |
msgid "Shipment status changed to %s"
|
1219 |
msgstr "Състоянието на пратката се промени на% s"
|
1220 |
|
1221 |
+
#: includes/customizer/class-wcast-customizer.php:81
|
1222 |
+
msgid "Shipment Status Email"
|
1223 |
+
msgstr ""
|
1224 |
+
|
1225 |
+
#: includes/views/admin_status_notifications.php:3
|
1226 |
+
msgid "Shipment Status Email Notifications"
|
1227 |
+
msgstr "Shipment Status Email Notifications"
|
1228 |
+
|
1229 |
+
#: includes/customizer/class-wcast-customizer.php:52
|
1230 |
+
msgid "Shipment Status Emails"
|
1231 |
+
msgstr "Имейли за състоянието на пратката"
|
1232 |
+
|
1233 |
+
#: includes/class-wc-advanced-shipment-tracking.php:141
|
1234 |
+
#: includes/class-wc-advanced-shipment-tracking.php:223
|
1235 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:208
|
1236 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:249
|
1237 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:300
|
1238 |
msgid "Shipment Tracking"
|
1239 |
msgstr "Проследяване на пратките"
|
1240 |
|
1241 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:327
|
1242 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:417
|
1243 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:870
|
|
|
|
|
|
|
|
|
|
|
1244 |
msgid "Shipped"
|
1245 |
msgstr "Доставят"
|
1246 |
|
1247 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:344
|
|
|
1248 |
#, php-format
|
1249 |
msgid "Shipped <span class=\"count\">(%s)</span>"
|
1250 |
msgid_plural "Shipped <span class=\"count\">(%s)</span>"
|
1251 |
msgstr[0] "Изпратен <span class = \"count\"> (% s) </span>"
|
1252 |
msgstr[1] "Изпратен <span class = \"count\"> (% s) </span>"
|
1253 |
|
1254 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:152
|
1255 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:701
|
1256 |
msgid "Shipped Date"
|
1257 |
msgstr ""
|
1258 |
"Дата на изпращане\n"
|
1259 |
|
1260 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:694
|
1261 |
+
#, fuzzy
|
1262 |
#| msgid "Ship date header text"
|
1263 |
msgid "Shipped date header text"
|
1264 |
+
msgstr ""
|
1265 |
+
"Текст на заглавието на датата на изпращане\n"
|
1266 |
|
1267 |
#. 1: shipping date
|
1268 |
+
#: includes/class-wc-advanced-shipment-tracking.php:256
|
1269 |
#, php-format
|
1270 |
msgid "Shipped on %s"
|
1271 |
msgstr "Изпратено на% s"
|
1272 |
|
1273 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:160
|
1274 |
msgid "Shipped on {ship_date} via {shipping_provider} - {tracking_number_link}"
|
1275 |
msgstr ""
|
1276 |
"Доставя се на {ship_date} чрез {shipping_provider} - {track_number_link}"
|
1277 |
|
1278 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1605
|
1279 |
msgid "Shipped Order"
|
1280 |
msgstr "Изпратена поръчка"
|
1281 |
|
1282 |
+
#: includes/views/admin_options_shipping_provider.php:65
|
1283 |
+
#: includes/views/admin_options_shipping_provider.php:113
|
1284 |
msgid "Shipping Country"
|
1285 |
msgstr "Страна на доставка"
|
1286 |
|
1287 |
#: includes/views/admin_options_shipping_provider.php:58
|
1288 |
+
#: includes/views/admin_options_shipping_provider.php:103
|
1289 |
msgid "Shipping Provider"
|
1290 |
msgstr "Доставчик на доставка"
|
1291 |
|
1292 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:649
|
1293 |
msgid "Shipping provider header text"
|
1294 |
+
msgstr ""
|
1295 |
|
1296 |
+
#: includes/class-wc-advanced-shipment-tracking.php:337
|
1297 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:440
|
1298 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:442
|
1299 |
msgid "Shipping Provider:"
|
1300 |
msgstr "Доставчик:"
|
1301 |
|
1302 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:307
|
1303 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:325
|
1304 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:402
|
1305 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:406
|
1306 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1737
|
1307 |
msgid "Shipping Providers"
|
1308 |
msgstr "Доставчици на доставка"
|
1309 |
|
1310 |
+
#: includes/views/admin_options_shipping_provider.php:157
|
|
|
|
|
|
|
|
|
1311 |
msgid "Shipping providers database reset successfully."
|
1312 |
msgstr "Базата данни на доставчиците на доставки се възстановява успешно."
|
1313 |
|
1314 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:327
|
1315 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:328
|
1316 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:327
|
1317 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:381
|
1318 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:329
|
1319 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:326
|
1320 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:330
|
1321 |
+
msgid "Show billing address"
|
1322 |
+
msgstr ""
|
1323 |
+
"Показване на адрес за фактуриране\n"
|
1324 |
+
|
1325 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:409
|
1326 |
msgid "Show bottom border"
|
1327 |
msgstr ""
|
1328 |
"Показване на долната граница\n"
|
1329 |
|
1330 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:309
|
1331 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:310
|
1332 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:309
|
1333 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:363
|
1334 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:311
|
1335 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:308
|
1336 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:312
|
1337 |
+
msgid "Show order details"
|
1338 |
+
msgstr ""
|
1339 |
+
"Показване на подробности за поръчката\n"
|
1340 |
+
|
1341 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:346
|
1342 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:347
|
1343 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:346
|
1344 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:400
|
1345 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:348
|
1346 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:345
|
1347 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:349
|
1348 |
+
msgid "Show shipping address"
|
1349 |
+
msgstr ""
|
1350 |
+
"Показване на адреса за доставка\n"
|
1351 |
+
|
1352 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:291
|
1353 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:292
|
1354 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:291
|
1355 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:345
|
1356 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:293
|
1357 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:290
|
1358 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:294
|
1359 |
+
msgid "Show tracking details"
|
1360 |
+
msgstr ""
|
1361 |
+
"Показване на подробности за проследяването\n"
|
1362 |
+
|
1363 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:321
|
1364 |
msgid "Simple Layout Design"
|
1365 |
msgstr ""
|
1366 |
"Прост дизайн на оформлението\n"
|
1367 |
|
1368 |
+
#: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:401
|
1369 |
msgid "Special character not allowd in tracking number"
|
1370 |
msgstr "Специален знак не е разрешен в проследяващия номер"
|
1371 |
|
1372 |
+
#: includes/views/admin_options_trackship_integration.php:17
|
1373 |
+
#: includes/views/admin_options_addons.php:141
|
1374 |
+
msgid "Start your free trial"
|
1375 |
+
msgstr "Започнете безплатен пробен период"
|
1376 |
+
|
1377 |
+
#: includes/views/trackship_sidebar.php:24
|
1378 |
+
msgid "Subscription Plan"
|
1379 |
+
msgstr "Абонаментен план"
|
1380 |
+
|
1381 |
+
#: includes/views/admin_options_shipping_provider.php:146
|
1382 |
+
#: includes/views/admin_options_shipping_provider.php:161
|
1383 |
msgid "Sync Shipping Providers"
|
1384 |
msgstr "Синхронизирайте доставчиците на доставка"
|
1385 |
|
1386 |
+
#: includes/views/admin_options_shipping_provider.php:151
|
1387 |
msgid ""
|
1388 |
"Syncing the shipping providers list add or updates the pre-set shipping "
|
1389 |
"providers and will not effect custom shipping providers."
|
1392 |
"актуализира предварително зададените доставчици за доставка и няма да "
|
1393 |
"повлияе на доставчиците по поръчка."
|
1394 |
|
1395 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:791
|
1396 |
msgid "Table Content"
|
1397 |
msgstr "Съдържание на таблицата"
|
1398 |
|
1399 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:534
|
1400 |
msgid "Table Design Options"
|
1401 |
+
msgstr ""
|
1402 |
|
1403 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:615
|
1404 |
+
#, fuzzy
|
1405 |
#| msgid "Table Headers"
|
1406 |
msgid "Table Header"
|
1407 |
+
msgstr ""
|
1408 |
+
"Заглавки на таблици\n"
|
1409 |
|
1410 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:304
|
1411 |
msgid "Table Layout"
|
1412 |
msgstr ""
|
1413 |
"Оформление на таблицата\n"
|
1414 |
|
1415 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:446
|
1416 |
msgid "Table Options"
|
1417 |
+
msgstr ""
|
1418 |
|
1419 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:592
|
1420 |
msgid "Text align"
|
1421 |
+
msgstr ""
|
1422 |
|
1423 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1738
|
1424 |
+
#: includes/views/admin_options_shipping_provider.php:100
|
1425 |
msgid ""
|
1426 |
+
"The custom name will display in the tracking info section on the customer "
|
1427 |
+
"order emails, my-account, shipment tracking page and shipment status emails."
|
|
|
1428 |
msgstr ""
|
1429 |
+
"Персонализираното име ще се покаже в раздела за информация за проследяване "
|
1430 |
+
"на имейли за поръчки на клиенти, моя акаунт, страница за проследяване на "
|
1431 |
+
"пратки и имейли за състоянието на пратката."
|
1432 |
+
|
1433 |
+
#: includes/views/admin_status_notifications.php:52
|
1434 |
+
msgid "The shipment is On Hold."
|
1435 |
+
msgstr "Пратката е в режим на задържане."
|
1436 |
+
|
1437 |
+
#: includes/views/admin_status_notifications.php:82
|
1438 |
+
msgid "The shipment is ready to by picked up."
|
1439 |
+
msgstr "Пратката е готова до вдигане."
|
1440 |
+
|
1441 |
+
#: includes/views/admin_status_notifications.php:37
|
1442 |
+
msgid "The shipment was accepted by the shipping provider and its on the way."
|
1443 |
+
msgstr "Пратката е приета от доставчика на корабоплаването и е на път."
|
1444 |
|
1445 |
+
#: includes/views/admin_status_notifications.php:112
|
1446 |
+
msgid "The shipment was delivered successfully."
|
1447 |
+
msgstr "Пратката е доставена успешно."
|
1448 |
+
|
1449 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:737
|
1450 |
msgid "There are some issue with sync, Please Retry."
|
1451 |
msgstr "Има проблем със синхронизирането, Моля, опитайте отново."
|
1452 |
|
1453 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:236
|
1454 |
msgid "This browser does not support HTML5."
|
1455 |
msgstr "Този браузър не поддържа HTML5."
|
1456 |
|
1457 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:876
|
1458 |
+
msgid ""
|
1459 |
+
"This means that the 'mark as <span class='shipped_label'>completed</span>' "
|
1460 |
+
"will be selected by default when adding tracking info to orders."
|
1461 |
+
msgstr ""
|
1462 |
+
"Това означава, че „маркирането като <span class = 'shipped_label'> завършено "
|
1463 |
+
"</span> 'ще бъде избрано по подразбиране при добавяне на информация за "
|
1464 |
+
"проследяване към поръчките."
|
1465 |
+
|
1466 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:872
|
1467 |
+
msgid ""
|
1468 |
+
"This means that the 'mark as <span class='shipped_label'>shipped</span>' "
|
1469 |
+
"will be selected by default when adding tracking info to orders."
|
1470 |
+
msgstr ""
|
1471 |
+
"Това означава, че „маркирането като <span class = 'shipped_label'> изпратено "
|
1472 |
+
"</span> 'ще бъде избрано по подразбиране при добавяне на информация за "
|
1473 |
+
"проследяване към поръчките."
|
1474 |
+
|
1475 |
+
#: includes/customizer/class-wc-late-shipments-email-customizer.php:30
|
1476 |
+
#: includes/views/admin_status_notifications.php:210
|
1477 |
+
msgid ""
|
1478 |
+
"This order was shipped {shipment_length} days ago, the shipment status is "
|
1479 |
+
"{shipment_status} and its est. delivery date is {est_delivery_date}."
|
1480 |
+
msgstr ""
|
1481 |
+
"Тази поръчка е изпратена преди {shipment_length} дни, състоянието на "
|
1482 |
+
"пратката е {shipment_status}, а прогнозната й дата на доставка е "
|
1483 |
+
"{est_delivery_date}."
|
1484 |
+
|
1485 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:365
|
1486 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:366
|
1487 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:365
|
1488 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:419
|
1489 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:367
|
1490 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:364
|
1491 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:368
|
1492 |
+
msgid "This will be appended to URL in the email content"
|
1493 |
+
msgstr "Това ще бъде добавено към URL адреса в съдържанието на имейла"
|
1494 |
+
|
1495 |
+
#: includes/customizer/class-wc-email-customizer.php:428
|
1496 |
+
msgid ""
|
1497 |
+
"This will be appended to URL in the email content – e.g. "
|
1498 |
+
"utm_source=ast&utm_medium=email&utm_campaign=delivered"
|
1499 |
+
msgstr ""
|
1500 |
+
"Това ще бъде добавено към URL адреса в съдържанието на имейла - напр. "
|
1501 |
+
"utm_source = AST & utm_medium = имейл & utm_campaign = доставени"
|
1502 |
+
|
1503 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:471
|
1504 |
+
msgid ""
|
1505 |
+
"To enable this option, the 'Delivered' order status should be enabled in the "
|
1506 |
+
"AST settings."
|
1507 |
+
msgstr ""
|
1508 |
+
"За да активирате тази опция, състоянието на поръчката „Доставено“ трябва да "
|
1509 |
+
"бъде активирано в настройките на AST."
|
1510 |
+
|
1511 |
+
#: templates/tracking/tracking-form.php:11
|
1512 |
+
msgid ""
|
1513 |
+
"To track your order please enter your Order ID in the box below and press "
|
1514 |
+
"the \"Track\" button. This was given to you on your receipt and in the "
|
1515 |
+
"confirmation email you should have received."
|
1516 |
+
msgstr ""
|
1517 |
+
"За да проследите Вашата поръчка, моля въведете Вашата поръчка ID в полето по-"
|
1518 |
+
"долу и натиснете бутона \"Track\". Това ви беше дадено в касовата бележка и "
|
1519 |
+
"в имейла за потвърждение, който трябваше да получите.\n"
|
1520 |
+
|
1521 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:219
|
1522 |
+
#: includes/views/admin_options_tools.php:13
|
1523 |
+
#: includes/views/trackship_settings.php:15
|
1524 |
+
#: includes/views/trackship_settings.php:16
|
1525 |
+
msgid "Tools"
|
1526 |
+
msgstr "Инструменти"
|
1527 |
+
|
1528 |
+
#: includes/class-wc-advanced-shipment-tracking.php:759
|
1529 |
+
#: includes/class-wc-advanced-shipment-tracking.php:786
|
1530 |
+
#: includes/class-wc-advanced-shipment-tracking.php:802
|
1531 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:153
|
1532 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:944
|
1533 |
+
#: templates/emails/tracking-info.php:308
|
1534 |
+
#: templates/myaccount/tracking-info.php:241
|
1535 |
+
#: templates/tracking/tracking-form.php:16
|
1536 |
msgid "Track"
|
1537 |
msgstr "път"
|
1538 |
|
1539 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:903
|
1540 |
msgid "Track Button"
|
1541 |
+
msgstr ""
|
1542 |
|
1543 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:919
|
1544 |
msgid "Track Header"
|
1545 |
+
msgstr ""
|
1546 |
|
1547 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:937
|
1548 |
msgid "Track header text"
|
1549 |
msgstr ""
|
1550 |
"Проследяване на заглавния текст\n"
|
1551 |
|
1552 |
+
#: includes/class-wc-advanced-shipment-tracking.php:246
|
1553 |
+
#: includes/class-wc-advanced-shipment-tracking.php:419
|
1554 |
msgid "Track Shipment"
|
1555 |
msgstr "Проследяване на пратката"
|
1556 |
|
1557 |
+
#: includes/views/trackship_sidebar.php:20
|
1558 |
+
msgid "Trackers Balance"
|
1559 |
+
msgstr "Тракери Баланс"
|
1560 |
+
|
1561 |
+
#: includes/views/front/layout1_tracking_details.php:4
|
1562 |
+
msgid "Tracking Details"
|
1563 |
+
msgstr "Детайли за проследяване"
|
1564 |
+
|
1565 |
+
#: includes/views/front/tracking_page_header.php:33
|
1566 |
+
msgid "Tracking details is not updated yet, Please check after few hour."
|
1567 |
+
msgstr ""
|
1568 |
+
|
1569 |
+
#: includes/views/front/tracking_page_header.php:35
|
1570 |
+
msgid "Tracking details is not updated yet, Please check after few min."
|
1571 |
+
msgstr ""
|
1572 |
+
|
1573 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:186
|
1574 |
+
msgid "Tracking details not found"
|
1575 |
+
msgstr ""
|
1576 |
+
|
1577 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:379
|
1578 |
+
msgid "Tracking details not found in TrackShip"
|
1579 |
+
msgstr "Детайли за проследяване не са открити в TrackShip"
|
1580 |
+
|
1581 |
+
#: includes/views/admin_options_settings.php:35
|
1582 |
+
msgid "Tracking Display Customizer"
|
1583 |
+
msgstr ""
|
1584 |
+
|
1585 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:296
|
1586 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:299
|
1587 |
msgid "Tracking display layout"
|
1588 |
msgstr "Проследяване на оформлението на дисплея"
|
1589 |
|
1590 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1027
|
1591 |
+
msgid "Tracking Display My Account"
|
1592 |
+
msgstr ""
|
1593 |
+
|
1594 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:212
|
1595 |
msgid "Tracking Display Position"
|
1596 |
msgstr "Проследяване на позицията на дисплея"
|
1597 |
|
1598 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:251
|
1599 |
msgid "Tracking Header text"
|
1600 |
msgstr ""
|
1601 |
"Проследяване на текста на заглавката\n"
|
1602 |
|
1603 |
+
#: includes/customizer/class-wcast-customizer.php:32
|
1604 |
+
#: includes/customizer/class-wcast-customizer.php:65
|
1605 |
msgid "Tracking info display"
|
1606 |
msgstr ""
|
1607 |
"Показване на информация за проследяване\n"
|
1608 |
|
1609 |
+
#: includes/views/admin_options_tools.php:11
|
1610 |
+
msgid "Tracking info sent to Trackship for all Orders."
|
1611 |
+
msgstr "Tracking info sent to Trackship for all Orders."
|
1612 |
+
|
1613 |
+
#: includes/class-wc-advanced-shipment-tracking.php:721
|
1614 |
#, php-format
|
|
|
|
|
1615 |
msgid ""
|
1616 |
+
"Tracking info was deleted for tracking provider %s with tracking number %s"
|
|
|
1617 |
msgstr ""
|
1618 |
+
"Информацията за проследяване бе изтрита за проследяване на доставчика% s с "
|
1619 |
+
"проследяващ номер% s"
|
1620 |
|
1621 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:258
|
1622 |
msgid "Tracking Information"
|
1623 |
msgstr "Информация за проследяване"
|
1624 |
|
1625 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:1489
|
1626 |
+
msgid "Tracking issues"
|
1627 |
+
msgstr "Проследяване на проблеми"
|
1628 |
+
|
1629 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:151
|
1630 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:679
|
1631 |
+
#: templates/emails/tracking-info.php:285
|
1632 |
+
#: templates/myaccount/tracking-info.php:221
|
1633 |
msgid "Tracking Number"
|
1634 |
msgstr "Номер за проследяване"
|
1635 |
|
1636 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:672
|
1637 |
+
#, fuzzy
|
1638 |
#| msgid "Tracking Number header text"
|
1639 |
msgid "Tracking number header text"
|
1640 |
+
msgstr "Текст на заглавния номер на проследяващия номер"
|
1641 |
|
1642 |
+
#: includes/class-wc-advanced-shipment-tracking.php:332
|
1643 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:436
|
1644 |
msgid "Tracking number:"
|
1645 |
msgstr "Номер за проследяване:"
|
1646 |
|
1647 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:217
|
1648 |
+
#: includes/views/admin_tracking_page_settings.php:9
|
1649 |
+
#: includes/views/trackship_settings.php:9
|
1650 |
+
#: includes/views/trackship_settings.php:10
|
1651 |
+
msgid "Tracking Page"
|
1652 |
+
msgstr "Страница за проследяване"
|
1653 |
+
|
1654 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:369
|
1655 |
+
msgid "Tracking Page Layout"
|
1656 |
+
msgstr ""
|
1657 |
+
"Оформление на проследяващата страница\n"
|
1658 |
+
|
1659 |
+
#: includes/views/admin_tracking_page_settings.php:92
|
1660 |
+
msgid "Tracking Widget Border Color"
|
1661 |
+
msgstr ""
|
1662 |
+
|
1663 |
+
#: includes/views/admin_tracking_page_settings.php:46
|
1664 |
+
msgid "Tracking Widget Layout"
|
1665 |
+
msgstr ""
|
1666 |
+
|
1667 |
+
#: includes/views/admin_tracking_page_settings.php:65
|
1668 |
+
msgid "Tracking Widget Options"
|
1669 |
+
msgstr ""
|
1670 |
+
|
1671 |
+
#: includes/views/admin_tracking_page_settings.php:116
|
1672 |
+
msgid "Tracking Widget Preview"
|
1673 |
+
msgstr "Предварителен преглед на джаджа"
|
1674 |
+
|
1675 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1743
|
1676 |
msgid "TrackShip"
|
1677 |
msgstr "TrackShip"
|
1678 |
|
1679 |
+
#: includes/views/trackship_sidebar.php:12
|
1680 |
+
msgid "TrackShip Connection Status"
|
1681 |
+
msgstr "Състояние на връзката към TrackShip"
|
1682 |
+
|
1683 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1801
|
1684 |
+
msgid "TrackShip not supported"
|
1685 |
+
msgstr "TrackShip не се поддържа"
|
1686 |
+
|
1687 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1801
|
1688 |
+
msgid "TrackShip supported"
|
1689 |
+
msgstr "TrackShip supported"
|
1690 |
+
|
1691 |
+
#: includes/views/admin_status_notifications.php:225
|
1692 |
+
msgid "Trigger Alert"
|
1693 |
+
msgstr "Сигнал за задействане"
|
1694 |
+
|
1695 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:761
|
1696 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:858
|
1697 |
+
msgid "Unknown"
|
1698 |
+
msgstr "Неизвестно"
|
1699 |
+
|
1700 |
+
#: includes/views/admin_options_shipping_provider.php:135
|
1701 |
msgid "Update"
|
1702 |
msgstr "Актуализиране"
|
1703 |
|
1704 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:148
|
1705 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:194
|
1706 |
+
#: includes/customizer/class-wc-email-customizer.php:186
|
1707 |
+
#: includes/views/admin_options_osm.php:101
|
1708 |
msgid "Updated Tracking"
|
1709 |
msgstr "Актуализирано проследяване"
|
1710 |
|
1711 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:153
|
|
|
1712 |
#, php-format
|
1713 |
msgid "Updated Tracking <span class=\"count\">(%s)</span>"
|
1714 |
msgid_plural "Updated Tracking <span class=\"count\">(%s)</span>"
|
1715 |
msgstr[0] "Актуализирано проследяване <span class = \"count\"> (% s) </span>"
|
1716 |
msgstr[1] "Актуализирано проследяване <span class = \"count\"> (% s) </span>"
|
1717 |
|
1718 |
+
#: includes/views/trackship_sidebar.php:28
|
1719 |
+
msgid "Upgrade Now"
|
1720 |
+
msgstr "Надстройте сега"
|
1721 |
+
|
1722 |
+
#: includes/views/admin_options_shipping_provider.php:76
|
1723 |
+
#: includes/views/admin_options_shipping_provider.php:124
|
1724 |
+
msgid "Upload"
|
1725 |
+
msgstr "Качи"
|
1726 |
+
|
1727 |
+
#: includes/views/admin_options_bulk_upload.php:26
|
1728 |
msgid "Upload a CSV file from your computer:"
|
1729 |
msgstr "Качете CSV файл от вашия компютър:"
|
1730 |
|
1731 |
+
#: includes/views/admin_options_bulk_upload.php:109
|
1732 |
msgid "Upload again"
|
1733 |
msgstr "Качете отново"
|
1734 |
|
1735 |
+
#: includes/views/admin_options_settings.php:36
|
1736 |
+
msgid ""
|
1737 |
+
"Use a customizer with a preview to customize the tracking info display on "
|
1738 |
+
"customer order emails and my-account."
|
1739 |
+
msgstr ""
|
1740 |
+
"Използвайте персонализатор с визуализация, за да персонализирате дисплея с "
|
1741 |
+
"информация за проследяване в имейлите за поръчки на клиенти и моя акаунт."
|
1742 |
+
|
1743 |
+
#: includes/views/admin_options_bulk_upload.php:12
|
1744 |
msgid ""
|
1745 |
"Use our CSV Import Tool to bulk Import tracking info to orders from a CSV "
|
1746 |
"file"
|
1748 |
"Използвайте нашия CSV инструмент за импортиране, за да групово импортирате "
|
1749 |
"информация за проследяване към поръчки от CSV файл"
|
1750 |
|
1751 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:363
|
1752 |
+
msgid "Use the tracking page in the customer email/my account tracking link"
|
1753 |
+
msgstr ""
|
1754 |
+
"Използвайте страницата за проследяване в имейла на клиента / връзката за "
|
1755 |
+
"проследяване на моя акаунт"
|
1756 |
+
|
1757 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:516
|
1758 |
msgid "Use tracking number as a link"
|
1759 |
msgstr "Използвайте проследяващия номер като връзка"
|
1760 |
|
1761 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:752
|
1762 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:767
|
1763 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:782
|
1764 |
+
#: includes/views/admin_options_bulk_upload.php:87
|
1765 |
msgid "view details"
|
1766 |
msgstr "Разгледайте детайлите"
|
1767 |
|
1768 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:1526
|
1769 |
+
msgid "View more on TrackShip"
|
1770 |
+
msgstr "Вижте повече на TrackShip"
|
1771 |
+
|
1772 |
+
#: includes/views/admin_options_bulk_upload.php:108
|
1773 |
msgid "View Orders"
|
1774 |
msgstr "Преглед на поръчки"
|
1775 |
|
1776 |
+
#: includes/views/admin_options_trackship_integration.php:16
|
1777 |
+
#: includes/views/admin_options_addons.php:137
|
1778 |
+
msgid "Watch Video"
|
1779 |
+
msgstr "Гледам видео"
|
1780 |
+
|
1781 |
+
#: woocommerce-advanced-shipment-tracking.php:487
|
1782 |
+
#, php-format
|
1783 |
+
msgid ""
|
1784 |
+
"We detected %s orders that use the Delivered order status, You can reassign "
|
1785 |
+
"these orders to a different status"
|
1786 |
+
msgstr ""
|
1787 |
+
"Открихме% s поръчки, които използват състоянието на доставена поръчка. "
|
1788 |
+
"Можете да преназначите тези поръчки на различен статус"
|
1789 |
+
|
1790 |
+
#: woocommerce-advanced-shipment-tracking.php:499
|
1791 |
#, php-format
|
1792 |
msgid ""
|
1793 |
"We detected %s orders that use the Partially Shipped order status, You can "
|
1796 |
"Открихме% s поръчки, които използват състоянието на частично изпратена "
|
1797 |
"поръчка. Можете да преназначите тези поръчки на различен статус"
|
1798 |
|
1799 |
+
#: woocommerce-advanced-shipment-tracking.php:511
|
1800 |
+
#, php-format
|
1801 |
+
msgid ""
|
1802 |
+
"We detected %s orders that use the Updated Tracking order status, You can "
|
1803 |
+
"reassign these orders to a different status"
|
1804 |
+
msgstr ""
|
1805 |
+
"Открихме% s поръчки, които използват статуса на актуализирано проследяване "
|
1806 |
+
"на поръчката. Можете да преназначите тези поръчки на различен статус"
|
1807 |
+
|
1808 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:873
|
1809 |
+
msgid "Wrong Shipping Provider"
|
1810 |
+
msgstr "Wrong Shipping Provider"
|
1811 |
|
1812 |
+
#: includes/class-wc-advanced-shipment-tracking.php:384
|
1813 |
+
#: includes/class-wc-advanced-shipment-tracking.php:387
|
1814 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:467
|
1815 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:467
|
1816 |
msgid "Y-m-d"
|
1817 |
+
msgstr ""
|
1818 |
|
1819 |
+
#: includes/views/admin_status_notifications.php:116
|
1820 |
+
msgid ""
|
1821 |
+
"You already have delivered order status email enabled, to enable this email "
|
1822 |
+
"you'll need to disable the delivered order status email in settings."
|
1823 |
+
msgstr ""
|
1824 |
+
|
1825 |
+
#: includes/views/admin_options_tools.php:14
|
1826 |
+
msgid ""
|
1827 |
+
"You can send all your orders from the last 30 days to get shipment status "
|
1828 |
+
"from TrackShip:"
|
1829 |
+
msgstr ""
|
1830 |
+
"Можете да изпратите всичките си поръчки от последните 30 дни, за да получите "
|
1831 |
+
"статус на пратката от TrackShip:"
|
1832 |
+
|
1833 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:235
|
1834 |
msgid "You can upload only csv file."
|
1835 |
msgstr "Можете да качите само csv файл."
|
1836 |
|
1837 |
+
#: includes/views/admin_options_shipping_provider.php:82
|
1838 |
+
#: includes/views/admin_options_shipping_provider.php:130
|
1839 |
msgid ""
|
1840 |
"You can use the variables %number%, %postal_code% and %country_code% in the "
|
1841 |
"URL, for more info, check our "
|
1843 |
"Можете да използвате променливите% number%,% postal_code% и% country_code% в "
|
1844 |
"URL адреса, за повече информация проверете нашата"
|
1845 |
|
1846 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1903
|
|
|
1847 |
#, php-format
|
1848 |
msgid "You did not create any %s shipping providers yet."
|
1849 |
msgstr "Все още не сте създали доставчици на% s доставка."
|
1850 |
|
1851 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1906
|
1852 |
+
#: includes/views/admin_options_shipping_provider.php:45
|
1853 |
#, php-format
|
1854 |
msgid "You don't have any %s shipping providers."
|
1855 |
msgstr "Нямате доставчици за доставки на% s."
|
1856 |
|
1857 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:1024
|
1858 |
+
#, php-format
|
1859 |
+
msgid "You got %s %s orders with shipment status “TrackShip connection issue”"
|
1860 |
+
msgstr ""
|
1861 |
+
"Получихте% s% s поръчки със статус на пратка „Проблем с връзката TrackShip“"
|
1862 |
+
|
1863 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:1015
|
1864 |
+
#, php-format
|
1865 |
+
msgid "You got %s %s orders with shipment status “TrackShip balance is 0”"
|
1866 |
+
msgstr ""
|
1867 |
+
"Получихте% s% s поръчки със статус на пратка „Салдото на TrackShip е 0“"
|
1868 |
+
|
1869 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:1006
|
1870 |
+
#, php-format
|
1871 |
+
msgid ""
|
1872 |
+
"You got %s %s orders with tracking info that were not sent to track on "
|
1873 |
+
"TrackShip"
|
1874 |
+
msgstr ""
|
1875 |
+
"Получихте% s% s поръчки с информация за проследяване, които не бяха "
|
1876 |
+
"изпратени за проследяване на TrackShip"
|
1877 |
+
|
1878 |
+
#: includes/views/admin_trackship_dashboard.php:13
|
1879 |
+
#, php-format
|
1880 |
+
msgid ""
|
1881 |
+
"You have %s Shipped Orders from the last 30 days that you can bulk send to "
|
1882 |
+
"<a href=\"javascript:void(0);\" class=\"tool_link\">Get Shipment Status</a>"
|
1883 |
+
msgstr ""
|
1884 |
+
"You have %s Shipped Orders from the last 30 days that you can bulk send to "
|
1885 |
+
"<a href=\"javascript:void(0);\" class=\"tool_link\">Get Shipment Status</a>"
|
1886 |
+
|
1887 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:341
|
1888 |
+
msgid ""
|
1889 |
+
"You must add the shortcode [wcast-track-order] to the selected page in order "
|
1890 |
+
"for the tracking page to work."
|
1891 |
+
msgstr ""
|
1892 |
+
"Трябва да добавите шорткода [wcast-track-order] към избраната страница, за "
|
1893 |
+
"да работи страницата за проследяване."
|
1894 |
+
|
1895 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:126
|
1896 |
+
msgid "Your order #{order_number} has been delivered"
|
1897 |
+
msgstr "Вашата поръчка № {order_number} е доставена"
|
1898 |
|
1899 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:125
|
1900 |
+
msgid "Your order #{order_number} has returned to sender"
|
1901 |
+
msgstr ""
|
1902 |
+
"Вашата поръчка # {order_number} се върна на подателя\n"
|
1903 |
+
|
1904 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:125
|
1905 |
+
msgid "Your order #{order_number} is available for pickup"
|
1906 |
+
msgstr ""
|
1907 |
+
"Вашата поръчка # {order_number} е достъпна за приемане\n"
|
1908 |
+
|
1909 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:125
|
1910 |
+
msgid "Your order #{order_number} is Failed Attempt"
|
1911 |
+
msgstr "Вашата поръчка № {order_number} е неуспешен опит"
|
1912 |
+
|
1913 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:128
|
1914 |
+
msgid "Your order #{order_number} is in transit"
|
1915 |
+
msgstr ""
|
1916 |
+
"Вашата поръчка # {order_number} е в транзит\n"
|
1917 |
+
|
1918 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:128
|
1919 |
+
msgid "Your order #{order_number} is on hold"
|
1920 |
+
msgstr "Вашата поръчка № {order_number} е задържана"
|
1921 |
+
|
1922 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:127
|
1923 |
+
msgid "Your order #{order_number} is out for delivery"
|
1924 |
+
msgstr ""
|
1925 |
+
"Вашата поръчка # {order_number} е за доставка\n"
|
1926 |
+
|
1927 |
+
#: includes/customizer/class-wc-email-customizer.php:120
|
1928 |
+
#: includes/emails/class-shipment-delivered-email.php:94
|
1929 |
+
msgid "Your {site_title} order is now delivered"
|
1930 |
+
msgstr "Поръчката ви {site_title} вече е доставена"
|
1931 |
+
|
1932 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:118
|
1933 |
msgid "Your {site_title} order is now partially shipped"
|
1934 |
msgstr "Поръчката ви {site_title} вече е частично доставена"
|
1935 |
|
1936 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:118
|
1937 |
msgid "Your {site_title} order is now updated tracking"
|
1938 |
msgstr ""
|
1939 |
"Поръчката ви {site_title} вече е актуализирана за проследяване\n"
|
|
|
|
|
|
|
|
lang/woo-advanced-shipment-tracking-da_DK.mo
CHANGED
Binary file
|
lang/woo-advanced-shipment-tracking-da_DK.po
CHANGED
@@ -3,8 +3,8 @@ msgstr ""
|
|
3 |
"Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
"POT-Creation-Date: 2020-11-11 09:34+0000\n"
|
6 |
-
"PO-Revision-Date:
|
7 |
-
"Last-Translator: John
|
8 |
"Language-Team: Danish\n"
|
9 |
"Language: da_DK\n"
|
10 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
@@ -12,528 +12,618 @@ 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.
|
16 |
|
17 |
-
|
18 |
-
#: includes/views/admin_options_shipping_provider.php:
|
19 |
#, php-format
|
20 |
msgid "<a href=\"%s\" target=\"blank\">documentation</a>"
|
21 |
msgstr "<a href=\"%s\" target=\"blank\"> dokumentation </a>"
|
22 |
|
23 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
msgid "Actions"
|
25 |
msgstr "Handlinger"
|
26 |
|
27 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
28 |
-
msgid "
|
29 |
-
msgstr "
|
30 |
|
31 |
-
#: includes/views/admin_options_shipping_provider.php:
|
32 |
-
msgid ""
|
33 |
-
"Add API name aliases to map Shipping providers names with the provider names "
|
34 |
-
"that are updated in the shipment tracking API by external shipping services"
|
35 |
msgstr ""
|
36 |
-
"Tilføj alias til API-navn for at kortlægge forsendelsesudbyders navne med "
|
37 |
-
"udbydernavne, der opdateres i forsendelsessporings-API'en af eksterne "
|
38 |
-
"forsendelsestjenester"
|
39 |
|
40 |
-
#: includes/class-wc-advanced-shipment-tracking-
|
41 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
42 |
msgid "Add Custom Provider"
|
43 |
msgstr "Add Custom Provider"
|
44 |
|
45 |
-
|
46 |
-
msgid ""
|
47 |
-
"
|
48 |
-
"customers with an easy way to track their orders. Shipment tracking Info "
|
49 |
-
"will appear in customers accounts (in the order panel) and in WooCommerce "
|
50 |
-
"order complete email."
|
51 |
-
msgstr ""
|
52 |
-
"Føj oplysninger om forsendelsessporing til dine WooCommerce-ordrer, og giv "
|
53 |
-
"kunderne en nem måde at spore deres ordrer på. Forsendelsessporingsinfo "
|
54 |
-
"vises på kundekonti (i ordrepanelet) og i WooCommerce ordre komplet e-mail."
|
55 |
-
|
56 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:815
|
57 |
-
msgid "add the [wcast-track-order] shortcode in the selected page."
|
58 |
-
msgstr "tilføj kortkoden [wcast-track-order] på den valgte side."
|
59 |
|
60 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
61 |
msgid "Add Tracking"
|
62 |
msgstr "Tilføj sporing"
|
63 |
|
64 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:
|
65 |
msgid "Add Tracking - order\t"
|
66 |
msgstr "Tilføj sporing - ordre"
|
67 |
|
68 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
69 |
-
msgid "Add Tracking
|
70 |
-
msgstr "Tilføj sporingsinfo"
|
71 |
-
|
72 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:605
|
73 |
-
msgid ""
|
74 |
-
"Add Tracking Information in AST meta fields when you automatically sync "
|
75 |
-
"tracking numbers from aliexpress orders"
|
76 |
-
msgstr ""
|
77 |
-
"Tilføj sporingsoplysninger i AST -metafelter, når du automatisk "
|
78 |
-
"synkroniserer sporingsnumre fra aliexpress -ordrer"
|
79 |
-
|
80 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:615
|
81 |
-
msgid ""
|
82 |
-
"Add tracking information in invoice PDF generate by WooCommerce PDF Invoices "
|
83 |
-
"& Packing Slips plugin By Ewout Fernhout"
|
84 |
-
msgstr ""
|
85 |
-
"Tilføj sporingsoplysninger i faktura PDF generer af WooCommerce PDF -"
|
86 |
-
"fakturaer og pakkesedler plugin Af Ewout Fernhout"
|
87 |
-
|
88 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:625
|
89 |
-
msgid ""
|
90 |
-
"Add tracking information in invoice PDF generate by WooCommerce PDF Invoices "
|
91 |
-
"plugin By Bas Elbers"
|
92 |
-
msgstr ""
|
93 |
-
"Tilføj sporingsoplysninger i faktura PDF genereret af WooCommerce PDF "
|
94 |
-
"Invoices plugin Af Bas Elbers"
|
95 |
-
|
96 |
-
#: includes/views/admin_options_settings.php:16
|
97 |
-
msgid "Add Tracking Options"
|
98 |
-
msgstr "Tilføj sporingsindstillinger"
|
99 |
-
|
100 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:933
|
101 |
-
msgid "Add Tracking Order action"
|
102 |
-
msgstr "Tilføj handling for sporingsordre"
|
103 |
-
|
104 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:585
|
105 |
-
msgid ""
|
106 |
-
"Adding tracking information to your orders shipped with 3plwinner and "
|
107 |
-
"automate your workflow"
|
108 |
-
msgstr ""
|
109 |
-
"Tilføjelse af sporingsoplysninger til dine ordrer, der leveres med 3plwinner,"
|
110 |
-
" og automatiser din arbejdsgang"
|
111 |
-
|
112 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:545
|
113 |
-
msgid ""
|
114 |
-
"Adding tracking information to your orders shipped with CustomCat and "
|
115 |
-
"automate your workflow"
|
116 |
-
msgstr ""
|
117 |
-
"Tilføjelse af sporingsoplysninger til dine ordrer, der leveres med CustomCat,"
|
118 |
-
" og automatiserer din arbejdsgang"
|
119 |
-
|
120 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:555
|
121 |
-
msgid ""
|
122 |
-
"Adding tracking information to your orders shipped with Dear Systems and "
|
123 |
-
"automate your workflow"
|
124 |
-
msgstr ""
|
125 |
-
"Tilføjelse af sporingsoplysninger til dine ordrer, der leveres med Dear "
|
126 |
-
"Systems, og automatiserer din arbejdsgang"
|
127 |
-
|
128 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:595
|
129 |
-
msgid ""
|
130 |
-
"Adding tracking information to your orders shipped with Dianxiaomi and "
|
131 |
-
"automate your workflow"
|
132 |
-
msgstr ""
|
133 |
-
"Tilføjelse af sporingsoplysninger til dine ordrer, der er sendt med "
|
134 |
-
"Dianxiaomi, og automatiser din arbejdsgang"
|
135 |
-
|
136 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:575
|
137 |
-
msgid ""
|
138 |
-
"Adding tracking information to your orders shipped with Picqer and automate "
|
139 |
-
"your workflow"
|
140 |
-
msgstr ""
|
141 |
-
"Tilføjelse af sporingsoplysninger til dine ordrer, der leveres med Picqer, "
|
142 |
-
"og automatiser din arbejdsgang"
|
143 |
-
|
144 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:565
|
145 |
-
msgid ""
|
146 |
-
"Adding tracking information to your orders shipped with Printify and "
|
147 |
-
"automate your workflow"
|
148 |
-
msgstr ""
|
149 |
-
"Tilføjelse af sporingsoplysninger til dine ordrer, der leveres med Printify, "
|
150 |
-
"og automatiser din arbejdsgang"
|
151 |
-
|
152 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:515
|
153 |
-
msgid ""
|
154 |
-
"Adding tracking information to your orders shipped with QuickBooks Commerce "
|
155 |
-
"and automate your workflow"
|
156 |
-
msgstr ""
|
157 |
-
"Tilføjelse af sporingsoplysninger til dine ordrer, der leveres med "
|
158 |
-
"QuickBooks Commerce, og automatiserer din arbejdsgang"
|
159 |
-
|
160 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:525
|
161 |
-
msgid ""
|
162 |
-
"Adding tracking information to your orders shipped with ReadyToShip and "
|
163 |
-
"automate your workflow"
|
164 |
-
msgstr ""
|
165 |
-
"Tilføjelse af sporingsoplysninger til dine ordrer, der leveres med "
|
166 |
-
"ReadyToShip, og automatiserer din arbejdsgang"
|
167 |
-
|
168 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:535
|
169 |
-
msgid ""
|
170 |
-
"Adding tracking information to your orders shipped with Royal Mail Click & "
|
171 |
-
"Drop and automate your workflow"
|
172 |
msgstr ""
|
173 |
-
"Tilføjelse af sporingsoplysninger til dine ordrer, der leveres med Royal "
|
174 |
-
"Mail Click & Drop, og automatiser din arbejdsgang"
|
175 |
|
176 |
-
#: includes/class-wc-advanced-shipment-tracking
|
177 |
-
msgid ""
|
178 |
-
"
|
179 |
-
"automate your workflow"
|
180 |
-
msgstr ""
|
181 |
-
"Tilføjelse af sporingsoplysninger til dine ordrer, der leveres med "
|
182 |
-
"ShipStation, og automatiser din arbejdsgang"
|
183 |
-
|
184 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:485
|
185 |
-
msgid ""
|
186 |
-
"Adding tracking information to your orders shipped with WooCommerce Shipping "
|
187 |
-
"to the Shipment Tracking and automate your workflow"
|
188 |
-
msgstr ""
|
189 |
-
"Tilføjelse af sporingsoplysninger til dine ordrer, der leveres med "
|
190 |
-
"WooCommerce Shipping til forsendelsessporingen, og automatiser din "
|
191 |
-
"arbejdsgang"
|
192 |
-
|
193 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:505
|
194 |
-
msgid ""
|
195 |
-
"Adding tracking information to your orders when generating shipping labels "
|
196 |
-
"using the Ordoro"
|
197 |
-
msgstr ""
|
198 |
-
"Tilføjelse af sporingsoplysninger til dine ordrer, når du genererer "
|
199 |
-
"forsendelsesetiketter ved hjælp af Ordoro"
|
200 |
|
201 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
"Label -plugin fra PluginHive"
|
210 |
|
211 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
212 |
msgid "Additional text after header"
|
213 |
msgstr "Yderligere tekst efter overskrift"
|
214 |
|
|
|
|
|
|
|
|
|
215 |
#. Name of the plugin
|
216 |
msgid "Advanced Shipment Tracking for WooCommerce"
|
217 |
-
msgstr "
|
218 |
|
219 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
220 |
msgid "After Order Details"
|
221 |
msgstr "Efter ordredetaljer"
|
222 |
|
223 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
224 |
-
msgid "API aliases"
|
225 |
-
msgstr "API-aliasser"
|
226 |
-
|
227 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:1055
|
228 |
msgid "API Date Format"
|
229 |
-
msgstr "API
|
230 |
|
231 |
-
#: includes/
|
|
|
232 |
msgid "API Name"
|
233 |
msgstr "API-navn"
|
234 |
|
235 |
-
#: includes/
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
#: includes/
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
244 |
msgid "Available variables:"
|
245 |
msgstr "Tilgængelige variabler:"
|
246 |
|
247 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
248 |
msgid "Before Order Details"
|
249 |
msgstr "Før ordredetaljer"
|
250 |
|
251 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
252 |
msgid "Border color"
|
253 |
msgstr ""
|
254 |
"Border farve\n"
|
255 |
|
256 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
257 |
msgid "Border size"
|
258 |
msgstr ""
|
259 |
"Border størrelse\n"
|
260 |
|
261 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
262 |
msgid "Bottom border color"
|
263 |
msgstr ""
|
264 |
"Nederste kantfarve\n"
|
265 |
|
266 |
-
#: includes/
|
|
|
|
|
|
|
|
|
267 |
msgid "Button color"
|
268 |
-
msgstr "
|
269 |
|
270 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
271 |
msgid "Button font color"
|
272 |
-
msgstr "
|
273 |
|
274 |
-
#: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:
|
275 |
msgid "Cannot create existing order shipment tracking."
|
276 |
msgstr "Kan ikke oprette eksisterende ordreforsendelsesporing."
|
277 |
|
278 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
279 |
msgid "Change order status to"
|
280 |
msgstr "Skift ordrestatus til"
|
281 |
|
282 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:
|
283 |
msgid "Change status to shipped"
|
284 |
msgstr "Skift status til afsendt"
|
285 |
|
286 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
287 |
msgid "Choose for which Order status to display"
|
288 |
-
msgstr "
|
|
|
|
|
|
|
|
|
289 |
|
290 |
-
#: includes/
|
|
|
|
|
|
|
|
|
291 |
msgid "Choose the Shipped Date format"
|
292 |
msgstr "Vælg formatet Sendt dato"
|
293 |
|
294 |
-
#: includes/class-
|
|
|
|
|
|
|
|
|
295 |
msgid "Completed"
|
296 |
msgstr "afsluttet"
|
297 |
|
298 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
299 |
msgid "Content"
|
300 |
msgstr "Indhold"
|
301 |
|
302 |
#: includes/customizer/class-wc-tracking-info-customizer.php:807
|
303 |
msgid "Content Background color"
|
304 |
-
msgstr "
|
305 |
|
306 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
307 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
308 |
msgid "Content font color"
|
309 |
msgstr ""
|
310 |
"Indhold font farve\n"
|
311 |
|
312 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
313 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
314 |
msgid "Content font size"
|
315 |
msgstr ""
|
316 |
"Indholdsstørrelse\n"
|
317 |
|
318 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
319 |
msgid "Content font weight"
|
320 |
msgstr ""
|
321 |
"Indhold skrifttype vægt\n"
|
322 |
|
323 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
324 |
msgid "Content line height"
|
325 |
msgstr ""
|
326 |
"Indholdslinjehøjde\n"
|
327 |
|
328 |
-
#: includes/views/admin_options_bulk_upload.php:
|
329 |
msgid "Continue"
|
330 |
msgstr "Blive ved"
|
331 |
|
332 |
-
#: includes/
|
333 |
msgid "Country"
|
334 |
msgstr "Land"
|
335 |
|
336 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
337 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
338 |
-
#: includes/
|
|
|
|
|
|
|
339 |
msgid "CSV Import"
|
340 |
msgstr "CSV-import"
|
341 |
|
342 |
-
#: includes/views/admin_options_shipping_provider.php:65
|
343 |
-
msgid "Custom API name"
|
344 |
-
msgstr "Brugerdefineret API-navn"
|
345 |
-
|
346 |
#: includes/views/admin_options_shipping_provider.php:61
|
|
|
347 |
msgid "Custom display name"
|
348 |
msgstr "Brugerdefineret displaynavn"
|
349 |
|
350 |
-
#: includes/customizer/class-wcast-customizer.php:
|
351 |
msgid "Custom order status email"
|
352 |
-
msgstr "
|
353 |
|
354 |
-
#: includes/
|
355 |
-
|
356 |
-
|
|
|
357 |
|
358 |
-
#: includes/views/
|
359 |
-
msgid "
|
360 |
-
msgstr "
|
361 |
|
362 |
-
#: includes/
|
363 |
-
|
364 |
-
|
365 |
-
msgstr "Tilpas"
|
366 |
|
367 |
-
#: includes/views/admin_options_osm.php:
|
|
|
|
|
368 |
msgid "Dark Font"
|
369 |
msgstr ""
|
370 |
"Mørk skrifttype\n"
|
371 |
|
372 |
-
#: includes/class-wc-advanced-shipment-tracking-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
373 |
msgid "Data saved successfully."
|
374 |
msgstr "Data gemt med succes."
|
375 |
|
376 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
377 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:
|
378 |
msgid "Date shipped:"
|
379 |
msgstr "Dato afsendt:"
|
380 |
|
381 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
382 |
-
|
383 |
-
msgid "
|
384 |
msgstr "Standard"
|
385 |
|
386 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
387 |
msgid "Delivered"
|
388 |
msgstr "leveres"
|
389 |
|
390 |
-
#: includes/class-wc-advanced-shipment-tracking-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
391 |
msgid "Display Name"
|
392 |
msgstr "Visningsnavn"
|
393 |
|
394 |
-
#: includes/customizer/class-wc-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
395 |
msgid "Display shipping provider image"
|
396 |
msgstr ""
|
397 |
"Vis forsendelsesudbyders billede\n"
|
398 |
|
399 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
400 |
msgid "Display shipping provider name"
|
401 |
msgstr ""
|
402 |
"Vis forsendelsesudbyderens navn\n"
|
403 |
|
404 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
405 |
msgid "Download sample csv"
|
406 |
msgstr "Download prøve csv"
|
407 |
|
408 |
-
#: includes/
|
409 |
-
msgid "
|
410 |
-
msgstr "
|
411 |
-
|
412 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
413 |
msgid "Edit Shipping Provider"
|
414 |
msgstr "Rediger forsendelsesudbyder"
|
415 |
|
416 |
-
#: includes/customizer/class-wc-
|
417 |
-
#: includes/customizer/class-wc-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
418 |
msgid "Email content"
|
419 |
msgstr "Email indhold"
|
420 |
|
421 |
-
#: includes/customizer/class-wc-
|
422 |
-
|
423 |
-
|
|
|
|
|
|
|
|
|
|
|
424 |
|
425 |
-
#: includes/customizer/class-wc-
|
426 |
-
msgid "
|
427 |
-
msgstr "
|
428 |
|
429 |
-
#: includes/
|
430 |
-
msgid "Enable
|
431 |
-
msgstr "
|
432 |
|
433 |
-
#: includes/class-wc-
|
434 |
-
msgid "Enable
|
435 |
-
msgstr "Aktiver
|
436 |
|
437 |
-
#: includes/
|
438 |
-
msgid "Enable
|
439 |
-
msgstr "
|
440 |
|
441 |
-
#: includes/class-wc-
|
442 |
-
msgid "Enable
|
443 |
-
msgstr "
|
444 |
|
445 |
-
#: includes/class-wc-
|
446 |
-
msgid "Enable
|
447 |
-
msgstr "
|
|
|
448 |
|
449 |
-
#: includes/class-wc-
|
450 |
-
msgid "Enable
|
451 |
-
msgstr "
|
452 |
|
453 |
-
#: includes/class-wc-
|
454 |
-
msgid "Enable
|
455 |
-
msgstr "
|
456 |
|
457 |
-
#: includes/class-wc-
|
458 |
-
msgid "Enable
|
459 |
-
msgstr "Aktiver
|
460 |
|
461 |
-
#: includes/class-wc-
|
462 |
-
msgid "Enable
|
463 |
-
msgstr "
|
464 |
|
465 |
-
#: includes/class-wc-
|
466 |
-
msgid "Enable
|
467 |
-
msgstr "Aktiver
|
468 |
|
469 |
-
#: includes/class-wc-
|
470 |
-
msgid "Enable
|
471 |
-
msgstr "
|
472 |
|
473 |
-
#: includes/class-wc-
|
474 |
-
msgid "Enable
|
475 |
-
msgstr "
|
476 |
|
477 |
-
#: includes/class-wc-advanced-shipment-tracking-
|
478 |
-
msgid "Enable
|
479 |
-
msgstr "
|
480 |
|
481 |
-
#: includes/class-wc-
|
482 |
-
msgid ""
|
483 |
-
"Enable the WooCommerce UPS Shipping Plugin with Print Label plugin "
|
484 |
-
"integration"
|
485 |
msgstr ""
|
486 |
-
"
|
487 |
|
488 |
-
#: includes/
|
489 |
-
msgid "
|
490 |
-
msgstr "
|
|
|
491 |
|
492 |
-
#: includes/
|
493 |
-
msgid "
|
494 |
msgstr ""
|
495 |
-
"Aktivér e-mail med opdateret sporingsordrestatus\n"
|
496 |
|
497 |
-
#: includes/class-wc-advanced-shipment-tracking-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
498 |
msgid "Filter by shipping provider"
|
499 |
msgstr "Filter by shipping provider"
|
500 |
|
501 |
-
#:
|
502 |
-
|
503 |
-
|
|
|
|
|
504 |
|
505 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
506 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:429
|
507 |
msgid "General Settings"
|
508 |
msgstr "Generelle indstillinger"
|
509 |
|
510 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
511 |
msgid "Global"
|
512 |
msgstr "Global"
|
513 |
|
514 |
-
#: includes/class-wc-
|
515 |
-
|
516 |
-
|
517 |
-
|
518 |
-
#: includes/customizer/class-wc-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
519 |
msgid "Headers background color"
|
520 |
-
msgstr "
|
521 |
|
522 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
523 |
msgid "Headers font color"
|
524 |
msgstr ""
|
525 |
"Headers fontfarve\n"
|
526 |
|
527 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
528 |
msgid "Headers font size"
|
529 |
msgstr ""
|
530 |
"Headers skriftstørrelse\n"
|
531 |
|
532 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
533 |
msgid "Headers font weight"
|
534 |
-
msgstr "
|
535 |
|
536 |
-
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:
|
537 |
msgid ""
|
538 |
"Hi there. we thought you'd like to know that the shipment tracking for your "
|
539 |
"recent order from {site_title} has been updated."
|
@@ -541,7 +631,16 @@ msgstr ""
|
|
541 |
"Hej. vi troede, du gerne vil vide, at forsendelsessporing for din seneste "
|
542 |
"ordre fra {site_title} er blevet opdateret.\n"
|
543 |
|
544 |
-
#: includes/customizer/class-wc-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
545 |
msgid ""
|
546 |
"Hi there. we thought you'd like to know that your recent order from "
|
547 |
"{site_title} has been partially shipped."
|
@@ -549,56 +648,129 @@ msgstr ""
|
|
549 |
"Hej. vi troede, du gerne vil vide, at din seneste ordre fra {site_title} er "
|
550 |
"delvist sendt.\n"
|
551 |
|
552 |
-
#: includes/class-wc-
|
553 |
-
|
554 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
555 |
msgid "hide details"
|
556 |
msgstr "Gem detaljer"
|
557 |
|
558 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
559 |
msgid "Hide Table Headers"
|
560 |
msgstr ""
|
561 |
"Skjul tabeloverskrifter\n"
|
562 |
|
563 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
|
|
564 |
#| msgid "Hide the ship date"
|
565 |
msgid "Hide the shipped date"
|
566 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
567 |
|
568 |
-
#: includes/
|
|
|
|
|
|
|
|
|
569 |
msgid "Hide Tracking Header"
|
570 |
msgstr "Skjul sporingshoved"
|
571 |
|
572 |
-
#: includes/
|
573 |
-
msgid "How to
|
574 |
-
msgstr "
|
575 |
-
|
576 |
-
#. Author URI of the plugin
|
577 |
-
msgid "https://www.zorem.com"
|
578 |
-
msgstr "https://www.zorem.com"
|
579 |
|
580 |
-
|
581 |
-
msgid "
|
582 |
-
|
|
|
|
|
|
|
|
|
583 |
|
584 |
-
#: includes/views/admin_options_bulk_upload.php:
|
585 |
msgid "Import in Progress"
|
586 |
msgstr "Import i gang"
|
587 |
|
588 |
-
#: includes/
|
589 |
-
|
590 |
-
|
591 |
-
|
592 |
-
#: includes/
|
593 |
-
|
594 |
-
|
595 |
-
msgstr "Integrationer"
|
596 |
|
597 |
-
#: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:
|
598 |
msgid "Invalid order ID."
|
599 |
msgstr "Ugyldigt ordre-ID."
|
600 |
|
601 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
602 |
msgid ""
|
603 |
"Keep unchecked for the tracking info to be added to any existing tracking "
|
604 |
"info added to the orders."
|
@@ -606,349 +778,589 @@ msgstr ""
|
|
606 |
"Sørg for, at sporingsoplysningerne ikke føjes til eksisterende "
|
607 |
"sporingsoplysninger, der føjes til ordrene."
|
608 |
|
609 |
-
#: includes/class-wc-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
610 |
msgid "License"
|
611 |
msgstr "Licens"
|
612 |
|
613 |
-
#: includes/views/admin_options_osm.php:
|
|
|
|
|
614 |
msgid "Light Font"
|
615 |
msgstr ""
|
616 |
"Let skrift\n"
|
617 |
|
618 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
|
|
619 |
msgid "Mark as Completed?"
|
620 |
msgstr "Marker som afsluttet?"
|
621 |
|
622 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
623 |
msgid "Mark as Shipped"
|
624 |
msgstr "Marker som afsendt"
|
625 |
|
626 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
|
|
627 |
msgid "Mark as Shipped?"
|
628 |
msgstr "Marker som sendt?"
|
629 |
|
630 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
631 |
msgid "Mark order as delivered"
|
632 |
msgstr "Marker ordre som leveret"
|
633 |
|
634 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
|
|
635 |
msgid "Mark order as:"
|
636 |
msgstr "Marker ordre som:"
|
637 |
|
638 |
-
#: includes/customizer/class-
|
639 |
msgid "Mockup Order"
|
640 |
-
msgstr "
|
|
|
|
|
|
|
|
|
641 |
|
642 |
-
#: includes/
|
643 |
-
#: includes/views/integrations_admin_options.php:20
|
644 |
msgid "more info"
|
645 |
msgstr ""
|
646 |
"mere info\n"
|
647 |
|
648 |
-
#: includes/
|
649 |
-
msgid "
|
650 |
-
|
651 |
-
|
652 |
-
|
653 |
-
|
654 |
-
|
655 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
656 |
|
657 |
#: includes/class-wc-advanced-shipment-tracking-admin.php:1030
|
658 |
-
msgid "
|
659 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
660 |
|
661 |
#. %s: Order ID.
|
662 |
-
#: templates/emails/wcast-email-order-details.php:
|
663 |
#, php-format
|
664 |
msgid "Order number: %s"
|
665 |
msgstr ""
|
666 |
"Ordrenummer:% s\n"
|
667 |
|
668 |
-
#: includes/class-
|
669 |
-
|
670 |
-
|
671 |
-
msgid "Order Statuses"
|
672 |
-
msgstr "Bestil statusser"
|
673 |
|
674 |
-
|
675 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
676 |
-
#: includes/class-wc-advanced-shipment-tracking.php:1269
|
677 |
#, php-format
|
678 |
-
|
679 |
-
|
680 |
-
msgstr "Ordren blev afsendt med %1 $ s og sporingsnummer er: %2 $ s"
|
681 |
|
682 |
-
#: includes/
|
|
|
|
|
|
|
|
|
683 |
msgid "Other"
|
684 |
msgstr "Andet"
|
685 |
|
686 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
687 |
msgid "Partial Shipped"
|
688 |
msgstr "Delvis afsendt"
|
689 |
|
690 |
-
#: includes/class-wc-advanced-shipment-tracking-
|
691 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:
|
692 |
-
#: includes/class-wc-
|
693 |
-
#: includes/
|
694 |
msgid "Partially Shipped"
|
695 |
msgstr "Delvist afsendt"
|
696 |
|
697 |
-
|
698 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:135
|
699 |
#, php-format
|
700 |
msgid "Partially Shipped <span class=\"count\">(%s)</span>"
|
701 |
msgid_plural "Partially Shipped <span class=\"count\">(%s)</span>"
|
702 |
msgstr[0] "Delvist afsendt <span class = \"count\"> (% s) </span>"
|
703 |
msgstr[1] "Delvist afsendt <span class = \"count\"> (% s) </span>"
|
704 |
|
705 |
-
#: includes/class-wc-advanced-shipment-tracking-
|
706 |
-
|
707 |
-
"
|
708 |
-
"
|
709 |
-
msgstr ""
|
710 |
-
"PDF -fakturaintegration til WooCommerce PDF -fakturaer og plugins til "
|
711 |
-
"pluginsedler Af Ewout Fernhout"
|
712 |
-
|
713 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:624
|
714 |
-
msgid ""
|
715 |
-
"PDF invoices integration for WooCommerce PDF Invoices plugin By Bas Elbers"
|
716 |
-
msgstr ""
|
717 |
-
"PDF faktura integration til WooCommerce PDF Invoices plugin Af Bas Elbers"
|
718 |
|
719 |
-
|
720 |
-
#: woocommerce-advanced-shipment-tracking.php:181
|
721 |
#, php-format
|
722 |
msgid ""
|
723 |
-
"Please install and activate %
|
724 |
-
"
|
725 |
msgstr ""
|
726 |
-
"Installer og aktiver% 1 $ sWooCommerce% 2 $ s til avanceret "
|
727 |
-
"forsendelsessporing til WooCommerce!"
|
728 |
|
729 |
-
#: includes/customizer/class-wc-
|
730 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
731 |
msgid "Please select order to preview."
|
732 |
msgstr "Vælg rækkefølge for at få vist forhåndsvisning."
|
733 |
|
734 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
735 |
msgid "Please upload a valid CSV file."
|
736 |
msgstr "Upload en gyldig CSV-fil."
|
737 |
|
738 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
739 |
msgid "Preview:"
|
740 |
msgstr "Eksempel:"
|
741 |
|
742 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
743 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:
|
744 |
msgid "Product Code:"
|
745 |
msgstr "Produktkode:"
|
746 |
|
747 |
-
#: includes/
|
748 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
749 |
-
#:
|
750 |
-
#: templates/
|
|
|
751 |
msgid "Provider"
|
752 |
msgstr "Fragtfirma"
|
753 |
|
754 |
-
#:
|
755 |
-
#: templates/
|
756 |
-
#: templates/myaccount/tracking-info.php:198
|
757 |
msgid "Provider Name"
|
758 |
msgstr "Udbyderens navn"
|
759 |
|
760 |
-
#: includes/views/admin_options_shipping_provider.php:
|
761 |
msgid "Providers Added"
|
762 |
msgstr "Udbydere tilføjet"
|
763 |
|
764 |
-
#: includes/views/admin_options_shipping_provider.php:
|
765 |
msgid "Providers Deleted"
|
766 |
msgstr "Udbydere er slettet"
|
767 |
|
768 |
-
#: includes/views/admin_options_shipping_provider.php:
|
769 |
msgid "Providers Updated"
|
770 |
msgstr "Udbydere opdateret"
|
771 |
|
772 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
773 |
msgid "Really delete this entry? This will not be undo."
|
774 |
msgstr "Vil du virkelig slette denne post? Dette fortrydes ikke."
|
775 |
|
776 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
777 |
msgid "Rename the “Completed” Order status label to “Shipped”"
|
778 |
-
msgstr "
|
779 |
|
780 |
-
#: includes/views/admin_options_bulk_upload.php:
|
781 |
msgid "Replace tracking information?"
|
782 |
msgstr "Erstat sporingsoplysninger?"
|
783 |
|
784 |
-
#: includes/
|
|
|
|
|
|
|
|
|
785 |
msgid "Reset"
|
786 |
msgstr "Nulstil"
|
787 |
|
788 |
-
#: includes/views/admin_options_shipping_provider.php:
|
789 |
msgid ""
|
790 |
"Reset providers database, it will reset all your shipping provider database"
|
791 |
msgstr "Nulstil udbydersdatabase, det nulstiller al din leverandørdatabase"
|
792 |
|
793 |
-
#: includes/
|
794 |
-
#: includes/
|
795 |
-
#: includes/
|
796 |
-
#: includes/
|
797 |
-
|
798 |
-
|
|
|
|
|
|
|
799 |
|
800 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
801 |
msgid "Save Tracking"
|
802 |
msgstr "Gem sporing"
|
803 |
|
804 |
-
#: includes/views/admin_options_shipping_provider.php:
|
805 |
msgid "Search by provider / country"
|
806 |
msgstr "Søg efter udbyder / land"
|
807 |
|
808 |
-
#: includes/customizer/class-wc-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
809 |
msgid "Select email type"
|
810 |
-
msgstr "
|
811 |
|
812 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
813 |
msgid "Select Provider"
|
814 |
msgstr "Vælg Udbyder"
|
815 |
|
816 |
-
#: includes/customizer/class-wc-
|
|
|
|
|
|
|
|
|
817 |
msgid "Select Template"
|
818 |
msgstr ""
|
819 |
"Vælg skabelon\n"
|
820 |
|
821 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
822 |
msgid "Send Email"
|
823 |
msgstr ""
|
824 |
"Send e-mail\n"
|
825 |
|
826 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
827 |
msgid ""
|
828 |
"Set the \"mark as shipped\" option checked when adding tracking info to "
|
829 |
"orders"
|
830 |
msgstr ""
|
831 |
-
"Indstil indstillingen \"mærke som afsendt\", når du tilføjer "
|
832 |
-
"sporingsinformation til ordrer"
|
833 |
|
834 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
835 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
836 |
-
#: includes/views/admin_options_settings.php:
|
837 |
msgid "Settings"
|
838 |
-
msgstr "
|
839 |
|
840 |
-
#: includes/views/admin_options_bulk_upload.php:
|
841 |
msgid "Settings Saved."
|
842 |
msgstr "Indstillinger gemt."
|
843 |
|
844 |
-
|
845 |
-
#:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
846 |
#, php-format
|
847 |
msgid "Shipment status changed to %s"
|
848 |
msgstr "Forsendelsesstatus ændret til% s"
|
849 |
|
850 |
-
#: includes/class-
|
851 |
-
|
852 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
853 |
msgid "Shipment Tracking"
|
854 |
msgstr "Forsendelsessporing"
|
855 |
|
856 |
-
#: includes/
|
857 |
-
|
858 |
-
|
859 |
-
|
860 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:849
|
861 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:945
|
862 |
-
#: includes/class-wc-advanced-shipment-tracking.php:467
|
863 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:263
|
864 |
msgid "Shipped"
|
865 |
msgstr "afsendt"
|
866 |
|
867 |
-
|
868 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:283
|
869 |
#, php-format
|
870 |
msgid "Shipped <span class=\"count\">(%s)</span>"
|
871 |
msgid_plural "Shipped <span class=\"count\">(%s)</span>"
|
872 |
msgstr[0] "Afsendt <span class = \"count\"> (% s) </span>"
|
873 |
msgstr[1] "Afsendt <span class = \"count\"> (% s) </span>"
|
874 |
|
875 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
876 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
877 |
msgid "Shipped Date"
|
878 |
msgstr ""
|
879 |
"Afsendt dato\n"
|
880 |
|
881 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
|
|
882 |
#| msgid "Ship date header text"
|
883 |
msgid "Shipped date header text"
|
884 |
-
msgstr "
|
|
|
885 |
|
886 |
#. 1: shipping date
|
887 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
888 |
#, php-format
|
889 |
msgid "Shipped on %s"
|
890 |
msgstr "Sendes på% s"
|
891 |
|
892 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
893 |
msgid "Shipped on {ship_date} via {shipping_provider} - {tracking_number_link}"
|
894 |
msgstr "Sendt den {ship_date} via {shipping_provider} - {tracking_number_link}"
|
895 |
|
896 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
897 |
msgid "Shipped Order"
|
898 |
msgstr "Afsendt ordre"
|
899 |
|
900 |
-
#: includes/views/admin_options_shipping_provider.php:
|
|
|
901 |
msgid "Shipping Country"
|
902 |
msgstr "Forsendelsesland"
|
903 |
|
904 |
#: includes/views/admin_options_shipping_provider.php:58
|
|
|
905 |
msgid "Shipping Provider"
|
906 |
msgstr "Forsendelsesudbyder"
|
907 |
|
908 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
909 |
msgid "Shipping provider header text"
|
910 |
-
msgstr "
|
911 |
|
912 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
913 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:
|
914 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:
|
915 |
msgid "Shipping Provider:"
|
916 |
msgstr "Forsendelse:"
|
917 |
|
918 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
919 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
920 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
|
|
|
|
921 |
msgid "Shipping Providers"
|
922 |
msgstr "Forsendelsesudbydere"
|
923 |
|
924 |
-
#: includes/views/admin_options_shipping_provider.php:
|
925 |
-
msgid "Shipping Providers & Carriers"
|
926 |
-
msgstr "Forsendelsesudbydere og transportører"
|
927 |
-
|
928 |
-
#: includes/views/admin_options_shipping_provider.php:120
|
929 |
msgid "Shipping providers database reset successfully."
|
930 |
msgstr "Forsendelsesdatabase nulstilles med succes."
|
931 |
|
932 |
-
#: includes/customizer/class-wc-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
933 |
msgid "Show bottom border"
|
934 |
msgstr ""
|
935 |
"Vis nederste kant\n"
|
936 |
|
937 |
-
#: includes/customizer/class-wc-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
938 |
msgid "Simple Layout Design"
|
939 |
msgstr ""
|
940 |
"Simpelt layoutdesign\n"
|
941 |
|
942 |
-
#: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:
|
943 |
msgid "Special character not allowd in tracking number"
|
944 |
msgstr "Specialtegn er ikke tilladt i sporingsnummer"
|
945 |
|
946 |
-
#: includes/views/
|
947 |
-
#: includes/views/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
948 |
msgid "Sync Shipping Providers"
|
949 |
msgstr "Synkroniseringsforsendelser"
|
950 |
|
951 |
-
#: includes/views/admin_options_shipping_provider.php:
|
952 |
msgid ""
|
953 |
"Syncing the shipping providers list add or updates the pre-set shipping "
|
954 |
"providers and will not effect custom shipping providers."
|
@@ -957,163 +1369,355 @@ msgstr ""
|
|
957 |
"forudindstillede leverandører af levering og påvirker ikke brugerdefinerede "
|
958 |
"forsendelsesleverandører."
|
959 |
|
960 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
961 |
msgid "Table Content"
|
962 |
msgstr "Table Content"
|
963 |
|
964 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
965 |
msgid "Table Design Options"
|
966 |
-
msgstr "
|
967 |
|
968 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
|
|
969 |
#| msgid "Table Headers"
|
970 |
msgid "Table Header"
|
971 |
-
msgstr "
|
|
|
972 |
|
973 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
974 |
msgid "Table Layout"
|
975 |
msgstr ""
|
976 |
"Tabellayout\n"
|
977 |
|
978 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
979 |
msgid "Table Options"
|
980 |
-
msgstr "
|
981 |
|
982 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
983 |
msgid "Text align"
|
984 |
-
msgstr "
|
985 |
|
986 |
-
#: includes/
|
|
|
987 |
msgid ""
|
988 |
-
"The custom
|
989 |
-
"
|
990 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
991 |
msgstr ""
|
992 |
-
"
|
993 |
-
"kundeordre-e-mails, min konto og TrackShip's sporingsside og e-mail-"
|
994 |
-
"underretninger"
|
995 |
|
996 |
-
#: includes/
|
|
|
|
|
|
|
|
|
997 |
msgid "There are some issue with sync, Please Retry."
|
998 |
msgstr "Der er nogle problemer med synkronisering, prøv igen."
|
999 |
|
1000 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
1001 |
msgid "This browser does not support HTML5."
|
1002 |
msgstr "Denne browser understøtter ikke HTML5."
|
1003 |
|
1004 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
1005 |
-
|
1006 |
-
|
1007 |
-
|
1008 |
-
|
1009 |
-
|
1010 |
-
|
1011 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1012 |
msgid "Track"
|
1013 |
msgstr "Spor pakke"
|
1014 |
|
1015 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1016 |
msgid "Track Button"
|
1017 |
-
msgstr "
|
1018 |
|
1019 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1020 |
msgid "Track Header"
|
1021 |
-
msgstr "
|
1022 |
|
1023 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1024 |
msgid "Track header text"
|
1025 |
msgstr ""
|
1026 |
"Spor overskriftstekst\n"
|
1027 |
|
1028 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
1029 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
1030 |
msgid "Track Shipment"
|
1031 |
msgstr "Spor forsendelse"
|
1032 |
|
1033 |
-
#: includes/
|
1034 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1035 |
msgid "Tracking display layout"
|
1036 |
msgstr "Sporing af displaylayout"
|
1037 |
|
1038 |
-
#: includes/
|
|
|
|
|
|
|
|
|
1039 |
msgid "Tracking Display Position"
|
1040 |
msgstr "Sporing af skærmposition"
|
1041 |
|
1042 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1043 |
msgid "Tracking Header text"
|
1044 |
msgstr ""
|
1045 |
"Sporing af overskriftstekst\n"
|
1046 |
|
1047 |
-
#: includes/customizer/class-wcast-customizer.php:
|
|
|
1048 |
msgid "Tracking info display"
|
1049 |
msgstr ""
|
1050 |
"Tracking info display\n"
|
1051 |
|
1052 |
-
|
1053 |
-
|
|
|
|
|
|
|
1054 |
#, php-format
|
1055 |
-
#| msgid ""
|
1056 |
-
#| "Tracking info was deleted for tracking provider %s with tracking number %s"
|
1057 |
msgid ""
|
1058 |
-
"Tracking info was deleted for tracking provider %
|
1059 |
-
"%
|
1060 |
-
msgstr ""
|
1061 |
-
"Sporingsoplysninger blev slettet for sporingsudbyder %1 $ s med "
|
1062 |
-
"sporingsnummer %2 $ s"
|
1063 |
|
1064 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1065 |
msgid "Tracking Information"
|
1066 |
msgstr "Sporing Oplysninger"
|
1067 |
|
1068 |
-
#: includes/
|
1069 |
-
|
1070 |
-
|
1071 |
-
|
|
|
|
|
|
|
|
|
1072 |
msgid "Tracking Number"
|
1073 |
msgstr "Tracking nummer"
|
1074 |
|
1075 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
|
|
1076 |
#| msgid "Tracking Number header text"
|
1077 |
msgid "Tracking number header text"
|
1078 |
-
msgstr "
|
|
|
1079 |
|
1080 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
1081 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:
|
1082 |
msgid "Tracking number:"
|
1083 |
msgstr "Tracking nummer:"
|
1084 |
|
1085 |
-
#: includes/class-wc-advanced-shipment-tracking-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1086 |
msgid "TrackShip"
|
1087 |
msgstr "TrackShip"
|
1088 |
|
1089 |
-
#: includes/views/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1090 |
msgid "Update"
|
1091 |
msgstr "Opdatering"
|
1092 |
|
1093 |
-
#: includes/class-wc-advanced-shipment-tracking-
|
1094 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:
|
1095 |
-
#: includes/class-wc-
|
1096 |
-
#: includes/
|
1097 |
msgid "Updated Tracking"
|
1098 |
msgstr "Opdateret sporing"
|
1099 |
|
1100 |
-
|
1101 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:120
|
1102 |
#, php-format
|
1103 |
msgid "Updated Tracking <span class=\"count\">(%s)</span>"
|
1104 |
msgid_plural "Updated Tracking <span class=\"count\">(%s)</span>"
|
1105 |
msgstr[0] "Opdateret sporing <span class = \"count\"> (% s) </span>"
|
1106 |
msgstr[1] "Opdateret sporing <span class = \"count\"> (% s) </span>"
|
1107 |
|
1108 |
-
#: includes/views/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1109 |
msgid "Upload a CSV file from your computer:"
|
1110 |
msgstr "Upload en CSV-fil fra din computer:"
|
1111 |
|
1112 |
-
#: includes/views/admin_options_bulk_upload.php:
|
1113 |
msgid "Upload again"
|
1114 |
msgstr "Upload igen"
|
1115 |
|
1116 |
-
#: includes/views/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1117 |
msgid ""
|
1118 |
"Use our CSV Import Tool to bulk Import tracking info to orders from a CSV "
|
1119 |
"file"
|
@@ -1121,23 +1725,44 @@ msgstr ""
|
|
1121 |
"Use our CSV Import Tool to bulk Import tracking info to orders from a CSV "
|
1122 |
"file"
|
1123 |
|
1124 |
-
#: includes/
|
|
|
|
|
|
|
|
|
1125 |
msgid "Use tracking number as a link"
|
1126 |
msgstr "Brug sporingsnummer som et link"
|
1127 |
|
1128 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:
|
1129 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:
|
1130 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:
|
1131 |
-
#: includes/views/admin_options_bulk_upload.php:
|
1132 |
msgid "view details"
|
1133 |
msgstr "view details"
|
1134 |
|
1135 |
-
#: includes/
|
|
|
|
|
|
|
|
|
1136 |
msgid "View Orders"
|
1137 |
msgstr "Se ordrer"
|
1138 |
|
1139 |
-
|
1140 |
-
#:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1141 |
#, php-format
|
1142 |
msgid ""
|
1143 |
"We detected %s orders that use the Partially Shipped order status, You can "
|
@@ -1146,23 +1771,46 @@ msgstr ""
|
|
1146 |
"Vi har registreret% s ordrer, der bruger ordren Delvist afsendt. Du kan "
|
1147 |
"tildele disse ordrer til en anden status"
|
1148 |
|
1149 |
-
#:
|
1150 |
-
|
1151 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1152 |
|
1153 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
1154 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
1155 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:
|
1156 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:
|
1157 |
msgid "Y-m-d"
|
1158 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1159 |
|
1160 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
1161 |
msgid "You can upload only csv file."
|
1162 |
msgstr "Du kan kun uploade csv-fil."
|
1163 |
|
1164 |
-
|
1165 |
-
#: includes/views/admin_options_shipping_provider.php:
|
1166 |
msgid ""
|
1167 |
"You can use the variables %number%, %postal_code% and %country_code% in the "
|
1168 |
"URL, for more info, check our "
|
@@ -1170,31 +1818,96 @@ msgstr ""
|
|
1170 |
"Du kan bruge variablerne% number%,% postal_code% og% country_code% i URL'en, "
|
1171 |
"for mere info, se vores"
|
1172 |
|
1173 |
-
|
1174 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:1990
|
1175 |
#, php-format
|
1176 |
msgid "You did not create any %s shipping providers yet."
|
1177 |
msgstr "Du har ikke oprettet nogen% s forsendelsesudbydere endnu."
|
1178 |
|
1179 |
-
|
1180 |
-
#: includes/
|
1181 |
#, php-format
|
1182 |
msgid "You don't have any %s shipping providers."
|
1183 |
msgstr "Du har ikke% s forsendelsesudbydere."
|
1184 |
|
1185 |
-
#: includes/
|
1186 |
-
|
1187 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1188 |
|
1189 |
-
#: includes/customizer/class-wc-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1190 |
msgid "Your {site_title} order is now partially shipped"
|
1191 |
msgstr "Din {site_title} ordre er nu delvist sendt"
|
1192 |
|
1193 |
-
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:
|
1194 |
msgid "Your {site_title} order is now updated tracking"
|
1195 |
msgstr ""
|
1196 |
"Din {site_title} ordre er nu opdateret sporing\n"
|
1197 |
-
|
1198 |
-
#. Author of the plugin
|
1199 |
-
msgid "zorem"
|
1200 |
-
msgstr "zorem"
|
3 |
"Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
"POT-Creation-Date: 2020-11-11 09:34+0000\n"
|
6 |
+
"PO-Revision-Date: 2020-12-07 09:40+0000\n"
|
7 |
+
"Last-Translator: John\n"
|
8 |
"Language-Team: Danish\n"
|
9 |
"Language: da_DK\n"
|
10 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
12 |
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
"Content-Transfer-Encoding: 8bit\n"
|
14 |
"X-Generator: Loco https://localise.biz/\n"
|
15 |
+
"X-Loco-Version: 2.4.4; wp-5.5.3"
|
16 |
|
17 |
+
#: includes/views/admin_options_shipping_provider.php:82
|
18 |
+
#: includes/views/admin_options_shipping_provider.php:130
|
19 |
#, php-format
|
20 |
msgid "<a href=\"%s\" target=\"blank\">documentation</a>"
|
21 |
msgstr "<a href=\"%s\" target=\"blank\"> dokumentation </a>"
|
22 |
|
23 |
+
#: includes/views/admin_options_addons.php:139
|
24 |
+
#: includes/views/trackship_sidebar.php:14
|
25 |
+
msgid "Account Dashboard"
|
26 |
+
msgstr "Kontoudashboard"
|
27 |
+
|
28 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1744
|
29 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1823
|
30 |
msgid "Actions"
|
31 |
msgstr "Handlinger"
|
32 |
|
33 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1745
|
34 |
+
msgid "Active"
|
35 |
+
msgstr "Aktiv"
|
36 |
|
37 |
+
#: includes/views/admin_options_shipping_provider.php:22
|
38 |
+
msgid "Active Providers"
|
|
|
|
|
39 |
msgstr ""
|
|
|
|
|
|
|
40 |
|
41 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:386
|
42 |
+
#: includes/views/admin_tracking_page_settings.php:71
|
43 |
+
msgid "Add a link to the Shipping provider page"
|
44 |
+
msgstr "Vælg farve for indholdsramme til sporingsside"
|
45 |
+
|
46 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1728
|
47 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1904
|
48 |
msgid "Add Custom Provider"
|
49 |
msgstr "Add Custom Provider"
|
50 |
|
51 |
+
#: includes/views/admin_options_shipping_provider.php:51
|
52 |
+
msgid "Add Custom Shipping Provider"
|
53 |
+
msgstr "Tilføj Tilpasset forsendelsesleverandør"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
|
55 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1647
|
56 |
msgid "Add Tracking"
|
57 |
msgstr "Tilføj sporing"
|
58 |
|
59 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:429
|
60 |
msgid "Add Tracking - order\t"
|
61 |
msgstr "Tilføj sporing - ordre"
|
62 |
|
63 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1019
|
64 |
+
msgid "Add Tracking action "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
65 |
msgstr ""
|
|
|
|
|
66 |
|
67 |
+
#: includes/class-wc-advanced-shipment-tracking.php:328
|
68 |
+
msgid "Add Tracking Info"
|
69 |
+
msgstr "Tilføj sporingsinfo"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
70 |
|
71 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:312
|
72 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:334
|
73 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:429
|
74 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:433
|
75 |
+
#: includes/views/admin_options_addons.php:115
|
76 |
+
#: includes/views/admin_options_addons.php:121
|
77 |
+
msgid "Add-ons"
|
78 |
+
msgstr "Tilføjelser"
|
|
|
79 |
|
80 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:274
|
81 |
msgid "Additional text after header"
|
82 |
msgstr "Yderligere tekst efter overskrift"
|
83 |
|
84 |
+
#: includes/views/admin_status_notifications.php:141
|
85 |
+
msgid "Admin Notifications"
|
86 |
+
msgstr "Adminmeddelelser"
|
87 |
+
|
88 |
#. Name of the plugin
|
89 |
msgid "Advanced Shipment Tracking for WooCommerce"
|
90 |
+
msgstr ""
|
91 |
|
92 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:217
|
93 |
msgid "After Order Details"
|
94 |
msgstr "Efter ordredetaljer"
|
95 |
|
96 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1044
|
|
|
|
|
|
|
|
|
97 |
msgid "API Date Format"
|
98 |
+
msgstr "API-datoformat"
|
99 |
|
100 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1739
|
101 |
+
#: includes/views/admin_options_shipping_provider.php:109
|
102 |
msgid "API Name"
|
103 |
msgstr "API-navn"
|
104 |
|
105 |
+
#: includes/views/admin_status_notifications.php:230
|
106 |
+
msgid "As it Happens"
|
107 |
+
msgstr "Som det sker"
|
108 |
+
|
109 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:470
|
110 |
+
msgid ""
|
111 |
+
"Automatically set the Order Status to Delivered when the shipment is "
|
112 |
+
"delivered "
|
113 |
+
msgstr ""
|
114 |
+
"Indstil automatisk ordrestatus til leveret, når forsendelsen er leveret"
|
115 |
+
|
116 |
+
#: includes/views/admin_trackship_dashboard.php:33
|
117 |
+
msgid "Automation"
|
118 |
+
msgstr "Automatisering"
|
119 |
+
|
120 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:764
|
121 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:846
|
122 |
+
#: includes/customizer/class-wcast-customizer.php:104
|
123 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:126
|
124 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:195
|
125 |
+
#: includes/views/admin_status_notifications.php:82
|
126 |
+
msgid "Available For Pickup"
|
127 |
+
msgstr ""
|
128 |
+
"Klar til afhentning\n"
|
129 |
+
|
130 |
+
#. %s: list of placeholders
|
131 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:205
|
132 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:229
|
133 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:274
|
134 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:205
|
135 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:229
|
136 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:274
|
137 |
+
#: includes/customizer/class-wc-email-customizer.php:246
|
138 |
+
#: includes/customizer/class-wc-email-customizer.php:270
|
139 |
+
#: includes/customizer/class-wc-email-customizer.php:315
|
140 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:204
|
141 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:228
|
142 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:273
|
143 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:258
|
144 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:282
|
145 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:327
|
146 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:206
|
147 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:230
|
148 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:275
|
149 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:204
|
150 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:228
|
151 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:272
|
152 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:357
|
153 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:202
|
154 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:226
|
155 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:251
|
156 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:271
|
157 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:204
|
158 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:228
|
159 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:253
|
160 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:273
|
161 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:207
|
162 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:231
|
163 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:276
|
164 |
+
#: includes/emails/class-shipment-delivered-email.php:274
|
165 |
+
#: includes/emails/class-shipment-delivered-email.php:283
|
166 |
+
#: includes/views/admin_status_notifications.php:212
|
167 |
msgid "Available variables:"
|
168 |
msgstr "Tilgængelige variabler:"
|
169 |
|
170 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:216
|
171 |
msgid "Before Order Details"
|
172 |
msgstr "Før ordredetaljer"
|
173 |
|
174 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:550
|
175 |
msgid "Border color"
|
176 |
msgstr ""
|
177 |
"Border farve\n"
|
178 |
|
179 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:567
|
180 |
msgid "Border size"
|
181 |
msgstr ""
|
182 |
"Border størrelse\n"
|
183 |
|
184 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:427
|
185 |
msgid "Bottom border color"
|
186 |
msgstr ""
|
187 |
"Nederste kantfarve\n"
|
188 |
|
189 |
+
#: includes/views/admin_options_shipping_provider.php:23
|
190 |
+
msgid "Browse Providers"
|
191 |
+
msgstr ""
|
192 |
+
|
193 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:960
|
194 |
msgid "Button color"
|
195 |
+
msgstr ""
|
196 |
|
197 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:977
|
198 |
msgid "Button font color"
|
199 |
+
msgstr ""
|
200 |
|
201 |
+
#: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:388
|
202 |
msgid "Cannot create existing order shipment tracking."
|
203 |
msgstr "Kan ikke oprette eksisterende ordreforsendelsesporing."
|
204 |
|
205 |
+
#: includes/views/admin_status_notifications.php:130
|
206 |
+
msgid "Carrier attempted to deliver the package but failed."
|
207 |
+
msgstr "Luftfartsselskab forsøgte at levere pakken, men mislykkedes."
|
208 |
+
|
209 |
+
#: includes/views/admin_status_notifications.php:97
|
210 |
+
msgid "Carrier is about to deliver the shipment."
|
211 |
+
msgstr "Carrier er ved at levere forsendelsen."
|
212 |
+
|
213 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:769
|
214 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:867
|
215 |
+
msgid "Carrier Unsupported"
|
216 |
+
msgstr "Transportør understøttes ikke"
|
217 |
+
|
218 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1683
|
219 |
msgid "Change order status to"
|
220 |
msgstr "Skift ordrestatus til"
|
221 |
|
222 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:358
|
223 |
msgid "Change status to shipped"
|
224 |
msgstr "Skift status til afsendt"
|
225 |
|
226 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1045
|
227 |
msgid "Choose for which Order status to display"
|
228 |
+
msgstr ""
|
229 |
+
|
230 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1020
|
231 |
+
msgid "Choose for which Order status to display Add Tracking action button"
|
232 |
+
msgstr ""
|
233 |
|
234 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1012
|
235 |
+
msgid "Choose on which order emails to include the shipment tracking info"
|
236 |
+
msgstr ""
|
237 |
+
|
238 |
+
#: includes/views/admin_options_bulk_upload.php:34
|
239 |
msgid "Choose the Shipped Date format"
|
240 |
msgstr "Vælg formatet Sendt dato"
|
241 |
|
242 |
+
#: includes/emails/class-shipment-delivered-email.php:298
|
243 |
+
msgid "Click Here"
|
244 |
+
msgstr "Klik her"
|
245 |
+
|
246 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:420
|
247 |
msgid "Completed"
|
248 |
msgstr "afsluttet"
|
249 |
|
250 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:599
|
251 |
+
#: includes/views/trackship_sidebar.php:13
|
252 |
+
msgid "Connected"
|
253 |
+
msgstr ""
|
254 |
+
"forbundet\n"
|
255 |
+
|
256 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:337
|
257 |
msgid "Content"
|
258 |
msgstr "Indhold"
|
259 |
|
260 |
#: includes/customizer/class-wc-tracking-info-customizer.php:807
|
261 |
msgid "Content Background color"
|
262 |
+
msgstr ""
|
263 |
|
264 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:392
|
265 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:824
|
266 |
msgid "Content font color"
|
267 |
msgstr ""
|
268 |
"Indhold font farve\n"
|
269 |
|
270 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:374
|
271 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:841
|
272 |
msgid "Content font size"
|
273 |
msgstr ""
|
274 |
"Indholdsstørrelse\n"
|
275 |
|
276 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:881
|
277 |
msgid "Content font weight"
|
278 |
msgstr ""
|
279 |
"Indhold skrifttype vægt\n"
|
280 |
|
281 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:859
|
282 |
msgid "Content line height"
|
283 |
msgstr ""
|
284 |
"Indholdslinjehøjde\n"
|
285 |
|
286 |
+
#: includes/views/admin_options_bulk_upload.php:57
|
287 |
msgid "Continue"
|
288 |
msgstr "Blive ved"
|
289 |
|
290 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1741
|
291 |
msgid "Country"
|
292 |
msgstr "Land"
|
293 |
|
294 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:308
|
295 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:310
|
296 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:327
|
297 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:411
|
298 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:415
|
299 |
+
#: includes/views/admin_options_bulk_upload.php:11
|
300 |
msgid "CSV Import"
|
301 |
msgstr "CSV-import"
|
302 |
|
|
|
|
|
|
|
|
|
303 |
#: includes/views/admin_options_shipping_provider.php:61
|
304 |
+
#: includes/views/admin_options_shipping_provider.php:106
|
305 |
msgid "Custom display name"
|
306 |
msgstr "Brugerdefineret displaynavn"
|
307 |
|
308 |
+
#: includes/customizer/class-wcast-customizer.php:73
|
309 |
msgid "Custom order status email"
|
310 |
+
msgstr ""
|
311 |
|
312 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:706
|
313 |
+
#: includes/views/admin_options_settings.php:46
|
314 |
+
msgid "Custom Order Statuses"
|
315 |
+
msgstr "Brugerdefinerede ordrestatusser"
|
316 |
|
317 |
+
#: includes/views/admin_options_shipping_provider.php:24
|
318 |
+
msgid "Custom Providers"
|
319 |
+
msgstr ""
|
320 |
|
321 |
+
#: includes/views/admin_status_notifications.php:234
|
322 |
+
msgid "Daily Digest on"
|
323 |
+
msgstr "Daglig fordøjelse"
|
|
|
324 |
|
325 |
+
#: includes/views/admin_options_osm.php:37
|
326 |
+
#: includes/views/admin_options_osm.php:80
|
327 |
+
#: includes/views/admin_options_osm.php:120
|
328 |
msgid "Dark Font"
|
329 |
msgstr ""
|
330 |
"Mørk skrifttype\n"
|
331 |
|
332 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:1495
|
333 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:1503
|
334 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:1520
|
335 |
+
msgid "data not available."
|
336 |
+
msgstr "data ikke tilgængelige."
|
337 |
+
|
338 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:159
|
339 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:229
|
340 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:233
|
341 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:353
|
342 |
msgid "Data saved successfully."
|
343 |
msgstr "Data gemt med succes."
|
344 |
|
345 |
+
#: includes/class-wc-advanced-shipment-tracking.php:383
|
346 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:466
|
347 |
msgid "Date shipped:"
|
348 |
msgstr "Dato afsendt:"
|
349 |
|
350 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1742
|
351 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1822
|
352 |
+
msgid "Default"
|
353 |
msgstr "Standard"
|
354 |
|
355 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:875
|
356 |
+
msgid "Default \"mark as <span class=\"shipped_label\">completed</span>\""
|
357 |
+
msgstr ""
|
358 |
+
"Standard \"markér som <span class =\" shipped_label \"> afsluttet </span>\""
|
359 |
+
|
360 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:871
|
361 |
+
msgid "Default \"mark as <span class=\"shipped_label\">shipped</span>\""
|
362 |
+
msgstr "Default \"mark as <span class=\"shipped_label\">shipped</span>\""
|
363 |
+
|
364 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:134
|
365 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:179
|
366 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:766
|
367 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:840
|
368 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1671
|
369 |
+
#: includes/customizer/class-wcast-customizer.php:119
|
370 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:127
|
371 |
+
#: includes/customizer/class-wc-email-customizer.php:184
|
372 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:197
|
373 |
+
#: includes/views/admin_status_notifications.php:112
|
374 |
+
#: includes/views/admin_options_osm.php:17
|
375 |
msgid "Delivered"
|
376 |
msgstr "leveres"
|
377 |
|
378 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:139
|
379 |
+
#, php-format
|
380 |
+
msgid "Delivered <span class=\"count\">(%s)</span>"
|
381 |
+
msgid_plural "Delivered <span class=\"count\">(%s)</span>"
|
382 |
+
msgstr[0] "Leveret <span class = \"count\"> (% s) </span>"
|
383 |
+
msgstr[1] "Leveret <span class = \"count\"> (% s) </span>"
|
384 |
+
|
385 |
+
#: includes/emails/class-shipment-delivered-email.php:32
|
386 |
+
msgid "Delivered order"
|
387 |
+
msgstr "Leveret ordre"
|
388 |
+
|
389 |
+
#: includes/views/front/layout1_tracking_details.php:8
|
390 |
+
msgid "Destination Details"
|
391 |
+
msgstr "Destinationsoplysninger"
|
392 |
+
|
393 |
+
#: includes/customizer/class-wc-email-customizer.php:389
|
394 |
+
msgid "Display Billing Address"
|
395 |
+
msgstr "Vis faktureringsadresse"
|
396 |
+
|
397 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1738
|
398 |
msgid "Display Name"
|
399 |
msgstr "Visningsnavn"
|
400 |
|
401 |
+
#: includes/customizer/class-wc-email-customizer.php:351
|
402 |
+
msgid "Display order details"
|
403 |
+
msgstr "Vis ordredetaljer"
|
404 |
+
|
405 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:437
|
406 |
+
msgid "Display Shipment Status Filter on Orders admin"
|
407 |
+
msgstr "Display Shipment Status Filter on Orders admin"
|
408 |
+
|
409 |
+
#: includes/customizer/class-wc-email-customizer.php:370
|
410 |
+
msgid "Display Shipping Address"
|
411 |
+
msgstr "Vis forsendelsesadresse"
|
412 |
+
|
413 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:480
|
414 |
msgid "Display shipping provider image"
|
415 |
msgstr ""
|
416 |
"Vis forsendelsesudbyders billede\n"
|
417 |
|
418 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:462
|
419 |
msgid "Display shipping provider name"
|
420 |
msgstr ""
|
421 |
"Vis forsendelsesudbyderens navn\n"
|
422 |
|
423 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1029
|
424 |
+
msgid "Display Track button on the Orders history list in my-account"
|
425 |
+
msgstr ""
|
426 |
+
|
427 |
+
#: includes/customizer/class-wc-email-customizer.php:333
|
428 |
+
msgid "Display tracking details"
|
429 |
+
msgstr "Vis sporingsdetaljer"
|
430 |
+
|
431 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:220
|
432 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:339
|
433 |
+
#: includes/views/zorem_admin_bulk_upload_sidebar.php:14
|
434 |
+
msgid "Documentation"
|
435 |
+
msgstr "Dokumentation"
|
436 |
+
|
437 |
+
#: includes/views/zorem_admin_bulk_upload_sidebar.php:13
|
438 |
msgid "Download sample csv"
|
439 |
msgstr "Download prøve csv"
|
440 |
|
441 |
+
#: includes/views/admin_status_notifications.php:190
|
442 |
+
msgid "E.g. {admin_email}, admin@example.org"
|
443 |
+
msgstr "F.eks. {admin_email}, admin@example.org"
|
444 |
+
|
445 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:187
|
446 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:187
|
447 |
+
#: includes/customizer/class-wc-email-customizer.php:228
|
448 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:186
|
449 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:240
|
450 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:188
|
451 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:186
|
452 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:189
|
453 |
+
msgid "E.g. {customer.email}, admin@example.org"
|
454 |
+
msgstr "F.eks {customer.email}, admin@example.org"
|
455 |
+
|
456 |
+
#: includes/emails/class-shipment-delivered-email.php:299
|
457 |
+
msgid "Edit in customizer"
|
458 |
+
msgstr "Rediger i brugerdefineret"
|
459 |
+
|
460 |
+
#: includes/views/admin_options_shipping_provider.php:95
|
461 |
msgid "Edit Shipping Provider"
|
462 |
msgstr "Rediger forsendelsesudbyder"
|
463 |
|
464 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:252
|
465 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:252
|
466 |
+
#: includes/customizer/class-wc-email-customizer.php:294
|
467 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:251
|
468 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:305
|
469 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:253
|
470 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:251
|
471 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:250
|
472 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:252
|
473 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:254
|
474 |
+
#: includes/views/admin_status_notifications.php:206
|
475 |
msgid "Email content"
|
476 |
msgstr "Email indhold"
|
477 |
|
478 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:204
|
479 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:204
|
480 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:203
|
481 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:257
|
482 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:205
|
483 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:206
|
484 |
+
msgid "Email Subject"
|
485 |
+
msgstr "Email emne"
|
486 |
|
487 |
+
#: includes/customizer/class-wc-email-customizer.php:176
|
488 |
+
msgid "Email Type"
|
489 |
+
msgstr ""
|
490 |
|
491 |
+
#: includes/views/admin_tracking_page_settings.php:10
|
492 |
+
msgid "Enable a tracking page on your store"
|
493 |
+
msgstr "Aktivér en sporingsside i din butik"
|
494 |
|
495 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:161
|
496 |
+
msgid "Enable Available For Pickup email"
|
497 |
+
msgstr "Aktiver tilgængelig til afhentnings-e-mail"
|
498 |
|
499 |
+
#: includes/views/admin_options_settings.php:47
|
500 |
+
msgid "Enable custom order statuses to streamline your fulfillment workflow"
|
501 |
+
msgstr ""
|
502 |
|
503 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:161
|
504 |
+
msgid "Enable Delivered email"
|
505 |
+
msgstr "Aktivér Leveret e-mail"
|
506 |
|
507 |
+
#: includes/customizer/class-wc-email-customizer.php:202
|
508 |
+
msgid "Enable Delivered order status email"
|
509 |
+
msgstr ""
|
510 |
+
"Aktivér leveret ordre status email\n"
|
511 |
|
512 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:160
|
513 |
+
msgid "Enable Failed Attempt email"
|
514 |
+
msgstr "Aktivér Mislykket forsøgs-e-mail"
|
515 |
|
516 |
+
#: includes/customizer/class-wc-email-customizer.php:408
|
517 |
+
msgid "Enable Google Analytics tracking"
|
518 |
+
msgstr "Aktivér Google Analytics-sporing"
|
519 |
|
520 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:214
|
521 |
+
msgid "Enable In Transit email"
|
522 |
+
msgstr "Aktiver i transit-e-mail"
|
523 |
|
524 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:163
|
525 |
+
msgid "Enable On Hold email"
|
526 |
+
msgstr "Aktivér e-mail på vent"
|
527 |
|
528 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:162
|
529 |
+
msgid "Enable Out For Delivery email"
|
530 |
+
msgstr "Aktiver e-mail til levering"
|
531 |
|
532 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:161
|
533 |
+
msgid "Enable Partially Shipped order status email"
|
534 |
+
msgstr "Aktivér delvis afsendt ordre-status-e-mail"
|
535 |
|
536 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:160
|
537 |
+
msgid "Enable Return To Sender email"
|
538 |
+
msgstr "Aktivér E-mail til returnering til afsender"
|
539 |
|
540 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:431
|
541 |
+
msgid "Enable TrackShip"
|
542 |
+
msgstr "Aktivér TrackShip"
|
543 |
|
544 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:162
|
545 |
+
msgid "Enable Updated Tracking order status email"
|
|
|
|
|
546 |
msgstr ""
|
547 |
+
"Aktivér e-mail med opdateret sporingsordrestatus\n"
|
548 |
|
549 |
+
#: includes/views/front/tracking_page_header.php:22
|
550 |
+
msgid "Est. Delivery Date"
|
551 |
+
msgstr ""
|
552 |
+
"Est. Leveringsdato\n"
|
553 |
|
554 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:855
|
555 |
+
msgid "Exception"
|
556 |
msgstr ""
|
|
|
557 |
|
558 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:767
|
559 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:852
|
560 |
+
#: includes/customizer/class-wcast-customizer.php:127
|
561 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:126
|
562 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:198
|
563 |
+
#: includes/views/admin_status_notifications.php:130
|
564 |
+
msgid "Failed Attempt"
|
565 |
+
msgstr "Mislykket forsøg"
|
566 |
+
|
567 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:776
|
568 |
+
msgid "Filter by shipment status"
|
569 |
+
msgstr "Filter by shipment status"
|
570 |
+
|
571 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2145
|
572 |
msgid "Filter by shipping provider"
|
573 |
msgstr "Filter by shipping provider"
|
574 |
|
575 |
+
#: templates/tracking/tracking-form.php:12
|
576 |
+
#: templates/tracking/tracking-form.php:13
|
577 |
+
msgid "Found in your order confirmation email."
|
578 |
+
msgstr ""
|
579 |
+
"Findes i din ordrebekræftelses-email.\n"
|
580 |
|
581 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1001
|
|
|
582 |
msgid "General Settings"
|
583 |
msgstr "Generelle indstillinger"
|
584 |
|
585 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:738
|
586 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:1007
|
587 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:1016
|
588 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:1025
|
589 |
+
msgid "Get Shipment Status"
|
590 |
+
msgstr "Få forsendelsesstatus"
|
591 |
+
|
592 |
+
#: includes/views/admin_options_shipping_provider.php:66
|
593 |
+
#: includes/views/admin_options_shipping_provider.php:114
|
594 |
msgid "Global"
|
595 |
msgstr "Global"
|
596 |
|
597 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:364
|
598 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:365
|
599 |
+
#: includes/customizer/class-wc-email-customizer.php:427
|
600 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:364
|
601 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:418
|
602 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:366
|
603 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:363
|
604 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:367
|
605 |
+
msgid "Google Analytics link tracking"
|
606 |
+
msgstr "Google Analytics-linksporing"
|
607 |
+
|
608 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:735
|
609 |
msgid "Headers background color"
|
610 |
+
msgstr ""
|
611 |
|
612 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:752
|
613 |
msgid "Headers font color"
|
614 |
msgstr ""
|
615 |
"Headers fontfarve\n"
|
616 |
|
617 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:717
|
618 |
msgid "Headers font size"
|
619 |
msgstr ""
|
620 |
"Headers skriftstørrelse\n"
|
621 |
|
622 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:769
|
623 |
msgid "Headers font weight"
|
624 |
+
msgstr ""
|
625 |
|
626 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:120
|
627 |
msgid ""
|
628 |
"Hi there. we thought you'd like to know that the shipment tracking for your "
|
629 |
"recent order from {site_title} has been updated."
|
631 |
"Hej. vi troede, du gerne vil vide, at forsendelsessporing for din seneste "
|
632 |
"ordre fra {site_title} er blevet opdateret.\n"
|
633 |
|
634 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:128
|
635 |
+
#: includes/customizer/class-wc-email-customizer.php:122
|
636 |
+
msgid ""
|
637 |
+
"Hi there. we thought you'd like to know that your recent order from "
|
638 |
+
"{site_title} has been Delivered."
|
639 |
+
msgstr ""
|
640 |
+
"Hej. vi troede, at du gerne vil vide, at din seneste ordre fra {site_title} "
|
641 |
+
"er blevet leveret.\n"
|
642 |
+
|
643 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:120
|
644 |
msgid ""
|
645 |
"Hi there. we thought you'd like to know that your recent order from "
|
646 |
"{site_title} has been partially shipped."
|
648 |
"Hej. vi troede, du gerne vil vide, at din seneste ordre fra {site_title} er "
|
649 |
"delvist sendt.\n"
|
650 |
|
651 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:127
|
652 |
+
msgid ""
|
653 |
+
"Hi there. we thought you'd like to know that your recent order from "
|
654 |
+
"{site_title} has been returned to sender."
|
655 |
+
msgstr ""
|
656 |
+
"Hej. vi troede, at du gerne vil vide, at din seneste ordre fra {site_title} "
|
657 |
+
"er blevet returneret til afsenderen."
|
658 |
+
|
659 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:127
|
660 |
+
msgid ""
|
661 |
+
"Hi there. we thought you'd like to know that your recent order from "
|
662 |
+
"{site_title} is available for pickup."
|
663 |
+
msgstr ""
|
664 |
+
"Hej. vi troede, at du gerne vil vide, at din seneste ordre fra {site_title} "
|
665 |
+
"er tilgængelig til afhentning.\n"
|
666 |
+
|
667 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:127
|
668 |
+
msgid ""
|
669 |
+
"Hi there. we thought you'd like to know that your recent order from "
|
670 |
+
"{site_title} is Failed Attempt"
|
671 |
+
msgstr ""
|
672 |
+
"Hej. vi troede, du gerne vil vide, at din seneste ordre fra {site_title} er "
|
673 |
+
"mislykket forsøg"
|
674 |
+
|
675 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:130
|
676 |
+
msgid ""
|
677 |
+
"Hi there. we thought you'd like to know that your recent order from "
|
678 |
+
"{site_title} is in transit"
|
679 |
+
msgstr ""
|
680 |
+
"Hej. Vi troede, at du gerne vil vide, at din seneste ordre fra {site_title} "
|
681 |
+
"er i transit"
|
682 |
+
|
683 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:130
|
684 |
+
msgid ""
|
685 |
+
"Hi there. we thought you'd like to know that your recent order from "
|
686 |
+
"{site_title} is on hold"
|
687 |
+
msgstr ""
|
688 |
+
"Hej. vi troede, du gerne vil vide, at din seneste ordre fra {site_title} er "
|
689 |
+
"på vent"
|
690 |
+
|
691 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:129
|
692 |
+
msgid ""
|
693 |
+
"Hi there. we thought you'd like to know that your recent order from "
|
694 |
+
"{site_title} is out for delivery."
|
695 |
+
msgstr ""
|
696 |
+
"Hej. vi troede, at du gerne vil vide, at din seneste ordre fra {site_title} "
|
697 |
+
"er ude for levering."
|
698 |
+
|
699 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:753
|
700 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:768
|
701 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:783
|
702 |
msgid "hide details"
|
703 |
msgstr "Gem detaljer"
|
704 |
|
705 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:392
|
706 |
+
#: includes/views/admin_tracking_page_settings.php:76
|
707 |
+
msgid "Hide Shipping Provider Image"
|
708 |
+
msgstr ""
|
709 |
+
"Skjul forsendelsesbillede\n"
|
710 |
+
|
711 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:631
|
712 |
msgid "Hide Table Headers"
|
713 |
msgstr ""
|
714 |
"Skjul tabeloverskrifter\n"
|
715 |
|
716 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:498
|
717 |
+
#, fuzzy
|
718 |
#| msgid "Hide the ship date"
|
719 |
msgid "Hide the shipped date"
|
720 |
+
msgstr ""
|
721 |
+
"Skjul skibets dato\n"
|
722 |
+
|
723 |
+
#: includes/views/admin_tracking_page_settings.php:81
|
724 |
+
msgid "Hide tracking event details"
|
725 |
+
msgstr ""
|
726 |
+
"Skjul detaljer om sporingsbegivenhed\n"
|
727 |
|
728 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:398
|
729 |
+
msgid "Hide tracking events details"
|
730 |
+
msgstr "Skjul detaljer om sporingshændelser"
|
731 |
+
|
732 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:233
|
733 |
msgid "Hide Tracking Header"
|
734 |
msgstr "Skjul sporingshoved"
|
735 |
|
736 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:340
|
737 |
+
msgid "How to Video"
|
738 |
+
msgstr "Sådan video"
|
|
|
|
|
|
|
|
|
739 |
|
740 |
+
#: includes/views/admin_status_notifications.php:155
|
741 |
+
msgid ""
|
742 |
+
"If a shipment reached the number of days that you define, and the shipment "
|
743 |
+
"is not \"delivered\" or \"Returned to Sender\" than email will trigger."
|
744 |
+
msgstr ""
|
745 |
+
"Hvis en forsendelse nåede det antal dage, du definerede, og forsendelsen "
|
746 |
+
"ikke \"leveres\" eller \"Returneres til afsender\", vil e-mail udløse."
|
747 |
|
748 |
+
#: includes/views/admin_options_bulk_upload.php:76
|
749 |
msgid "Import in Progress"
|
750 |
msgstr "Import i gang"
|
751 |
|
752 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:763
|
753 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:831
|
754 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:129
|
755 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:192
|
756 |
+
#: includes/views/admin_status_notifications.php:37
|
757 |
+
msgid "In Transit"
|
758 |
+
msgstr "Undervejs"
|
|
|
759 |
|
760 |
+
#: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:397
|
761 |
msgid "Invalid order ID."
|
762 |
msgstr "Ugyldigt ordre-ID."
|
763 |
|
764 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:771
|
765 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:864
|
766 |
+
msgid "Invalid Tracking Number"
|
767 |
+
msgstr "Ugyldigt sporingsnummer"
|
768 |
+
|
769 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:870
|
770 |
+
msgid "Invalid User Key"
|
771 |
+
msgstr "Invalid User Key"
|
772 |
+
|
773 |
+
#: includes/views/admin_options_bulk_upload.php:48
|
774 |
msgid ""
|
775 |
"Keep unchecked for the tracking info to be added to any existing tracking "
|
776 |
"info added to the orders."
|
778 |
"Sørg for, at sporingsoplysningerne ikke føjes til eksisterende "
|
779 |
"sporingsoplysninger, der føjes til ordrene."
|
780 |
|
781 |
+
#: includes/customizer/class-wc-late-shipments-email-customizer.php:29
|
782 |
+
msgid "Late shipment"
|
783 |
+
msgstr "Sen forsendelse"
|
784 |
+
|
785 |
+
#: includes/views/admin_status_notifications.php:176
|
786 |
+
msgid "Late Shipment Days"
|
787 |
+
msgstr "Sen forsendelsesdage"
|
788 |
+
|
789 |
+
#: includes/customizer/class-wc-late-shipments-email-customizer.php:28
|
790 |
+
#: includes/views/admin_status_notifications.php:200
|
791 |
+
msgid "Late shipment for order #{order_number}"
|
792 |
+
msgstr "Sen forsendelse til ordre nr. {Ordre_nummer}"
|
793 |
+
|
794 |
+
#: includes/customizer/class-wcast-customizer.php:135
|
795 |
+
#: includes/views/admin_status_notifications.php:155
|
796 |
+
msgid "Late Shipments"
|
797 |
+
msgstr "Sent forsendelse"
|
798 |
+
|
799 |
+
#: includes/views/admin_options_settings.php:39
|
800 |
+
msgid "Launch Customizer"
|
801 |
+
msgstr "Start Customizer"
|
802 |
+
|
803 |
+
#: includes/views/admin_options_addons.php:118
|
804 |
msgid "License"
|
805 |
msgstr "Licens"
|
806 |
|
807 |
+
#: includes/views/admin_options_osm.php:36
|
808 |
+
#: includes/views/admin_options_osm.php:79
|
809 |
+
#: includes/views/admin_options_osm.php:119
|
810 |
msgid "Light Font"
|
811 |
msgstr ""
|
812 |
"Let skrift\n"
|
813 |
|
814 |
+
#: includes/class-wc-advanced-shipment-tracking.php:316
|
815 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:419
|
816 |
msgid "Mark as Completed?"
|
817 |
msgstr "Marker som afsluttet?"
|
818 |
|
819 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1656
|
820 |
msgid "Mark as Shipped"
|
821 |
msgstr "Marker som afsendt"
|
822 |
|
823 |
+
#: includes/class-wc-advanced-shipment-tracking.php:313
|
824 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:416
|
825 |
msgid "Mark as Shipped?"
|
826 |
msgstr "Marker som sendt?"
|
827 |
|
828 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1629
|
829 |
msgid "Mark order as delivered"
|
830 |
msgstr "Marker ordre som leveret"
|
831 |
|
832 |
+
#: includes/class-wc-advanced-shipment-tracking.php:397
|
833 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:476
|
834 |
msgid "Mark order as:"
|
835 |
msgstr "Marker ordre som:"
|
836 |
|
837 |
+
#: includes/customizer/class-wc-email-customizer.php:158
|
838 |
msgid "Mockup Order"
|
839 |
+
msgstr ""
|
840 |
+
|
841 |
+
#: includes/customizer/class-wcast-customizer.php:459
|
842 |
+
msgid "Mockup order"
|
843 |
+
msgstr ""
|
844 |
|
845 |
+
#: includes/views/admin_tracking_page_settings.php:41
|
|
|
846 |
msgid "more info"
|
847 |
msgstr ""
|
848 |
"mere info\n"
|
849 |
|
850 |
+
#: includes/views/admin_tracking_page_settings.php:41
|
851 |
+
msgid ""
|
852 |
+
"Note - If you select a different page than the Shipment Tracking page, add "
|
853 |
+
"the [wcast-track-order] shortcode to the selected page content."
|
854 |
+
msgstr ""
|
855 |
+
"Bemærk - Hvis du vælger en anden side end siden med sporing af forsendelse, "
|
856 |
+
"tilføj kortkoden [wcast-track-order] til det valgte sideindhold.\n"
|
857 |
+
|
858 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:218
|
859 |
+
#: includes/views/trackship_settings.php:12
|
860 |
+
#: includes/views/trackship_settings.php:13
|
861 |
+
msgid "Notifications"
|
862 |
+
msgstr "Meddelelser"
|
863 |
+
|
864 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:834
|
865 |
+
#: includes/customizer/class-wcast-customizer.php:89
|
866 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:193
|
867 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:129
|
868 |
+
#: includes/views/admin_status_notifications.php:52
|
869 |
+
msgid "On Hold"
|
870 |
+
msgstr "I venteposition"
|
871 |
|
872 |
#: includes/class-wc-advanced-shipment-tracking-admin.php:1030
|
873 |
+
msgid "Open the track link in a new tab"
|
874 |
+
msgstr ""
|
875 |
+
|
876 |
+
#: includes/emails/class-shipment-delivered-email.php:33
|
877 |
+
msgid ""
|
878 |
+
"Order delivered emails are sent to customers when their orders are marked "
|
879 |
+
"delivered and usually indicate that their orders have been shipped."
|
880 |
+
msgstr ""
|
881 |
+
"Ordrer leverede e-mails sendes til kunderne, når deres ordrer er mærket "
|
882 |
+
"leveret og angiver normalt, at deres ordrer er blevet sendt."
|
883 |
+
|
884 |
+
#: templates/tracking/tracking-form.php:13
|
885 |
+
msgid "Order Email"
|
886 |
+
msgstr ""
|
887 |
+
"Bestil Email\n"
|
888 |
+
|
889 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1011
|
890 |
+
msgid "Order Email Display"
|
891 |
+
msgstr ""
|
892 |
+
|
893 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:161
|
894 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:171
|
895 |
+
msgid "Order not found."
|
896 |
+
msgstr ""
|
897 |
|
898 |
#. %s: Order ID.
|
899 |
+
#: templates/emails/wcast-email-order-details.php:48
|
900 |
#, php-format
|
901 |
msgid "Order number: %s"
|
902 |
msgstr ""
|
903 |
"Ordrenummer:% s\n"
|
904 |
|
905 |
+
#: includes/customizer/class-wcast-customizer.php:42
|
906 |
+
msgid "Order Status Emails"
|
907 |
+
msgstr "E-mails med ordrestatus"
|
|
|
|
|
908 |
|
909 |
+
#: includes/class-wc-advanced-shipment-tracking.php:1181
|
910 |
+
#: includes/class-wc-advanced-shipment-tracking.php:1272
|
|
|
911 |
#, php-format
|
912 |
+
msgid "Order was shipped with %s and tracking number is: %s"
|
913 |
+
msgstr "Ordren blev sendt med% s, og sporingsnummeret er:% s"
|
|
|
914 |
|
915 |
+
#: includes/views/front/layout1_tracking_details.php:25
|
916 |
+
msgid "Origin Details"
|
917 |
+
msgstr "Oprindelsesdetaljer"
|
918 |
+
|
919 |
+
#: includes/views/admin_tracking_page_settings.php:36
|
920 |
msgid "Other"
|
921 |
msgstr "Andet"
|
922 |
|
923 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:765
|
924 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:843
|
925 |
+
#: includes/customizer/class-wcast-customizer.php:111
|
926 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:196
|
927 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:128
|
928 |
+
msgid "Out For Delivery"
|
929 |
+
msgstr "Ud for levering"
|
930 |
+
|
931 |
+
#: includes/views/admin_status_notifications.php:97
|
932 |
+
msgid "Out For delivery"
|
933 |
+
msgstr "Ud til levering"
|
934 |
+
|
935 |
+
#: includes/class-wc-advanced-shipment-tracking.php:400
|
936 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:479
|
937 |
msgid "Partial Shipped"
|
938 |
msgstr "Delvis afsendt"
|
939 |
|
940 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:162
|
941 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:208
|
942 |
+
#: includes/customizer/class-wc-email-customizer.php:185
|
943 |
+
#: includes/views/admin_options_osm.php:59
|
944 |
msgid "Partially Shipped"
|
945 |
msgstr "Delvist afsendt"
|
946 |
|
947 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:167
|
|
|
948 |
#, php-format
|
949 |
msgid "Partially Shipped <span class=\"count\">(%s)</span>"
|
950 |
msgid_plural "Partially Shipped <span class=\"count\">(%s)</span>"
|
951 |
msgstr[0] "Delvist afsendt <span class = \"count\"> (% s) </span>"
|
952 |
msgstr[1] "Delvist afsendt <span class = \"count\"> (% s) </span>"
|
953 |
|
954 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:760
|
955 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:861
|
956 |
+
msgid "Pending TrackShip"
|
957 |
+
msgstr "Pending TrackShip"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
958 |
|
959 |
+
#: woocommerce-advanced-shipment-tracking.php:122
|
|
|
960 |
#, php-format
|
961 |
msgid ""
|
962 |
+
"Please install and activate %sWooCommerce%s for Advanced Shipment Tracking "
|
963 |
+
"for WooCommerce!"
|
964 |
msgstr ""
|
|
|
|
|
965 |
|
966 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:194
|
967 |
+
msgid "Please select a order..."
|
968 |
+
msgstr "Vælg venligst en ordre ..."
|
969 |
+
|
970 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:433
|
971 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:440
|
972 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:434
|
973 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:441
|
974 |
+
#: includes/customizer/class-wc-email-customizer.php:475
|
975 |
+
#: includes/customizer/class-wc-email-customizer.php:483
|
976 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:433
|
977 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:441
|
978 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:486
|
979 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:494
|
980 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:435
|
981 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:443
|
982 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:431
|
983 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:439
|
984 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:313
|
985 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:321
|
986 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:314
|
987 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:322
|
988 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:435
|
989 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:443
|
990 |
msgid "Please select order to preview."
|
991 |
msgstr "Vælg rækkefølge for at få vist forhåndsvisning."
|
992 |
|
993 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:237
|
994 |
msgid "Please upload a valid CSV file."
|
995 |
msgstr "Upload en gyldig CSV-fil."
|
996 |
|
997 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:762
|
998 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:837
|
999 |
+
msgid "Pre Transit"
|
1000 |
+
msgstr ""
|
1001 |
+
"Pre Transit\n"
|
1002 |
+
|
1003 |
+
#: includes/views/admin_tracking_page_settings.php:105
|
1004 |
+
msgid "Preview"
|
1005 |
+
msgstr "Eksempel"
|
1006 |
+
|
1007 |
+
#: includes/customizer/class-wc-email-customizer.php:154
|
1008 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:162
|
1009 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:190
|
1010 |
+
msgid "Preview order"
|
1011 |
+
msgstr ""
|
1012 |
+
"Forhåndsvis rækkefølge\n"
|
1013 |
+
|
1014 |
+
#: includes/class-wc-advanced-shipment-tracking.php:419
|
1015 |
msgid "Preview:"
|
1016 |
msgstr "Eksempel:"
|
1017 |
|
1018 |
+
#: includes/class-wc-advanced-shipment-tracking.php:375
|
1019 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:462
|
1020 |
msgid "Product Code:"
|
1021 |
msgstr "Produktkode:"
|
1022 |
|
1023 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1821
|
1024 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:150
|
1025 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:656
|
1026 |
+
#: templates/emails/tracking-info.php:273
|
1027 |
+
#: templates/myaccount/tracking-info.php:211
|
1028 |
msgid "Provider"
|
1029 |
msgstr "Fragtfirma"
|
1030 |
|
1031 |
+
#: templates/emails/tracking-info.php:278
|
1032 |
+
#: templates/myaccount/tracking-info.php:216
|
|
|
1033 |
msgid "Provider Name"
|
1034 |
msgstr "Udbyderens navn"
|
1035 |
|
1036 |
+
#: includes/views/admin_options_shipping_provider.php:153
|
1037 |
msgid "Providers Added"
|
1038 |
msgstr "Udbydere tilføjet"
|
1039 |
|
1040 |
+
#: includes/views/admin_options_shipping_provider.php:155
|
1041 |
msgid "Providers Deleted"
|
1042 |
msgstr "Udbydere er slettet"
|
1043 |
|
1044 |
+
#: includes/views/admin_options_shipping_provider.php:154
|
1045 |
msgid "Providers Updated"
|
1046 |
msgstr "Udbydere opdateret"
|
1047 |
|
1048 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:234
|
1049 |
msgid "Really delete this entry? This will not be undo."
|
1050 |
msgstr "Vil du virkelig slette denne post? Dette fortrydes ikke."
|
1051 |
|
1052 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:404
|
1053 |
+
#: includes/views/admin_tracking_page_settings.php:86
|
1054 |
+
msgid "Remove TrackShip branding"
|
1055 |
+
msgstr "Fjern TrackShip-branding"
|
1056 |
+
|
1057 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1003
|
1058 |
msgid "Rename the “Completed” Order status label to “Shipped”"
|
1059 |
+
msgstr ""
|
1060 |
|
1061 |
+
#: includes/views/admin_options_bulk_upload.php:48
|
1062 |
msgid "Replace tracking information?"
|
1063 |
msgstr "Erstat sporingsoplysninger?"
|
1064 |
|
1065 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:507
|
1066 |
+
msgid "Resend delivered order notification"
|
1067 |
+
msgstr "Send leveret ordreanmeldelse igen"
|
1068 |
+
|
1069 |
+
#: includes/views/admin_options_shipping_provider.php:136
|
1070 |
msgid "Reset"
|
1071 |
msgstr "Nulstil"
|
1072 |
|
1073 |
+
#: includes/views/admin_options_shipping_provider.php:159
|
1074 |
msgid ""
|
1075 |
"Reset providers database, it will reset all your shipping provider database"
|
1076 |
msgstr "Nulstil udbydersdatabase, det nulstiller al din leverandørdatabase"
|
1077 |
|
1078 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:770
|
1079 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:849
|
1080 |
+
#: includes/customizer/class-wcast-customizer.php:97
|
1081 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:194
|
1082 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:126
|
1083 |
+
#: includes/views/admin_status_notifications.php:67
|
1084 |
+
msgid "Return To Sender"
|
1085 |
+
msgstr ""
|
1086 |
+
"Retur til Afsender\n"
|
1087 |
|
1088 |
+
#: includes/views/admin_options_settings.php:23
|
1089 |
+
#: includes/views/admin_trackship_dashboard.php:45
|
1090 |
+
#: includes/views/admin_tracking_page_settings.php:104
|
1091 |
+
#: includes/views/admin_status_notifications.php:245
|
1092 |
+
msgid "Save Changes"
|
1093 |
+
msgstr "Gem ændringer"
|
1094 |
+
|
1095 |
+
#: includes/class-wc-advanced-shipment-tracking.php:416
|
1096 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:491
|
1097 |
msgid "Save Tracking"
|
1098 |
msgstr "Gem sporing"
|
1099 |
|
1100 |
+
#: includes/views/admin_options_shipping_provider.php:29
|
1101 |
msgid "Search by provider / country"
|
1102 |
msgstr "Søg efter udbyder / land"
|
1103 |
|
1104 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:191
|
1105 |
+
msgid "Select an order to preview and design the tracking info display."
|
1106 |
+
msgstr ""
|
1107 |
+
"Vælg en ordre for at få vist og designe visningen af sporingsinfo.\n"
|
1108 |
+
|
1109 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:380
|
1110 |
+
msgid "Select content border color for tracking page"
|
1111 |
+
msgstr "Vælg farve for indholdsramme til sporingsside"
|
1112 |
+
|
1113 |
+
#: includes/customizer/class-wc-email-customizer.php:180
|
1114 |
msgid "Select email type"
|
1115 |
+
msgstr ""
|
1116 |
|
1117 |
+
#: includes/class-wc-advanced-shipment-tracking.php:338
|
1118 |
msgid "Select Provider"
|
1119 |
msgstr "Vælg Udbyder"
|
1120 |
|
1121 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:188
|
1122 |
+
msgid "Select shipment status"
|
1123 |
+
msgstr ""
|
1124 |
+
|
1125 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:303
|
1126 |
msgid "Select Template"
|
1127 |
msgstr ""
|
1128 |
"Vælg skabelon\n"
|
1129 |
|
1130 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:349
|
1131 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:357
|
1132 |
+
#: includes/views/admin_tracking_page_settings.php:27
|
1133 |
+
msgid "Select Tracking Page"
|
1134 |
+
msgstr "Vælg sporingsside"
|
1135 |
+
|
1136 |
+
#: includes/views/admin_options_osm.php:41
|
1137 |
+
#: includes/views/admin_options_osm.php:84
|
1138 |
+
#: includes/views/admin_options_osm.php:124
|
1139 |
msgid "Send Email"
|
1140 |
msgstr ""
|
1141 |
"Send e-mail\n"
|
1142 |
|
1143 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1004
|
1144 |
msgid ""
|
1145 |
"Set the \"mark as shipped\" option checked when adding tracking info to "
|
1146 |
"orders"
|
1147 |
msgstr ""
|
|
|
|
|
1148 |
|
1149 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:393
|
1150 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:397
|
1151 |
+
#: includes/views/admin_options_settings.php:15
|
1152 |
msgid "Settings"
|
1153 |
+
msgstr ""
|
1154 |
|
1155 |
+
#: includes/views/admin_options_bulk_upload.php:59
|
1156 |
msgid "Settings Saved."
|
1157 |
msgstr "Indstillinger gemt."
|
1158 |
|
1159 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:327
|
1160 |
+
#: includes/views/front/preview_tracking_page.php:25
|
1161 |
+
msgid "Shipment"
|
1162 |
+
msgstr ""
|
1163 |
+
|
1164 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:355
|
1165 |
+
#, php-format
|
1166 |
+
msgid "Shipment - %s (out of %s)"
|
1167 |
+
msgstr ""
|
1168 |
+
"Forsendelse -% s (ud af% s)\n"
|
1169 |
+
|
1170 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:324
|
1171 |
+
#, php-format
|
1172 |
+
msgid "Shipment : %s (out of %s)"
|
1173 |
+
msgstr ""
|
1174 |
+
|
1175 |
+
#: includes/views/admin_status_notifications.php:67
|
1176 |
+
msgid "Shipment is returned to sender."
|
1177 |
+
msgstr "Forsendelse returneres til afsenderen."
|
1178 |
+
|
1179 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:1483
|
1180 |
+
msgid "Shipment Providers"
|
1181 |
+
msgstr "Forsendelsesleverandører"
|
1182 |
+
|
1183 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:1486
|
1184 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:184
|
1185 |
+
#: templates/emails/tracking-info.php:218
|
1186 |
+
#: templates/emails/tracking-info.php:248
|
1187 |
+
msgid "Shipment Status"
|
1188 |
+
msgstr "Forsendelsesstatus"
|
1189 |
+
|
1190 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:495
|
1191 |
+
msgid "Shipment status"
|
1192 |
+
msgstr "Forsendelsesstatus"
|
1193 |
+
|
1194 |
+
#: templates/emails/plain/tracking-info.php:35
|
1195 |
#, php-format
|
1196 |
msgid "Shipment status changed to %s"
|
1197 |
msgstr "Forsendelsesstatus ændret til% s"
|
1198 |
|
1199 |
+
#: includes/customizer/class-wcast-customizer.php:81
|
1200 |
+
msgid "Shipment Status Email"
|
1201 |
+
msgstr ""
|
1202 |
+
|
1203 |
+
#: includes/views/admin_status_notifications.php:3
|
1204 |
+
msgid "Shipment Status Email Notifications"
|
1205 |
+
msgstr "Forsendelsesstatus E-mail-meddelelser"
|
1206 |
+
|
1207 |
+
#: includes/customizer/class-wcast-customizer.php:52
|
1208 |
+
msgid "Shipment Status Emails"
|
1209 |
+
msgstr "Sendingsstatus-e-mails"
|
1210 |
+
|
1211 |
+
#: includes/class-wc-advanced-shipment-tracking.php:141
|
1212 |
+
#: includes/class-wc-advanced-shipment-tracking.php:223
|
1213 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:208
|
1214 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:249
|
1215 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:300
|
1216 |
msgid "Shipment Tracking"
|
1217 |
msgstr "Forsendelsessporing"
|
1218 |
|
1219 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:327
|
1220 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:417
|
1221 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:870
|
|
|
|
|
|
|
|
|
|
|
1222 |
msgid "Shipped"
|
1223 |
msgstr "afsendt"
|
1224 |
|
1225 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:344
|
|
|
1226 |
#, php-format
|
1227 |
msgid "Shipped <span class=\"count\">(%s)</span>"
|
1228 |
msgid_plural "Shipped <span class=\"count\">(%s)</span>"
|
1229 |
msgstr[0] "Afsendt <span class = \"count\"> (% s) </span>"
|
1230 |
msgstr[1] "Afsendt <span class = \"count\"> (% s) </span>"
|
1231 |
|
1232 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:152
|
1233 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:701
|
1234 |
msgid "Shipped Date"
|
1235 |
msgstr ""
|
1236 |
"Afsendt dato\n"
|
1237 |
|
1238 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:694
|
1239 |
+
#, fuzzy
|
1240 |
#| msgid "Ship date header text"
|
1241 |
msgid "Shipped date header text"
|
1242 |
+
msgstr ""
|
1243 |
+
"Send datoens overskriftstekst\n"
|
1244 |
|
1245 |
#. 1: shipping date
|
1246 |
+
#: includes/class-wc-advanced-shipment-tracking.php:256
|
1247 |
#, php-format
|
1248 |
msgid "Shipped on %s"
|
1249 |
msgstr "Sendes på% s"
|
1250 |
|
1251 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:160
|
1252 |
msgid "Shipped on {ship_date} via {shipping_provider} - {tracking_number_link}"
|
1253 |
msgstr "Sendt den {ship_date} via {shipping_provider} - {tracking_number_link}"
|
1254 |
|
1255 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1605
|
1256 |
msgid "Shipped Order"
|
1257 |
msgstr "Afsendt ordre"
|
1258 |
|
1259 |
+
#: includes/views/admin_options_shipping_provider.php:65
|
1260 |
+
#: includes/views/admin_options_shipping_provider.php:113
|
1261 |
msgid "Shipping Country"
|
1262 |
msgstr "Forsendelsesland"
|
1263 |
|
1264 |
#: includes/views/admin_options_shipping_provider.php:58
|
1265 |
+
#: includes/views/admin_options_shipping_provider.php:103
|
1266 |
msgid "Shipping Provider"
|
1267 |
msgstr "Forsendelsesudbyder"
|
1268 |
|
1269 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:649
|
1270 |
msgid "Shipping provider header text"
|
1271 |
+
msgstr ""
|
1272 |
|
1273 |
+
#: includes/class-wc-advanced-shipment-tracking.php:337
|
1274 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:440
|
1275 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:442
|
1276 |
msgid "Shipping Provider:"
|
1277 |
msgstr "Forsendelse:"
|
1278 |
|
1279 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:307
|
1280 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:325
|
1281 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:402
|
1282 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:406
|
1283 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1737
|
1284 |
msgid "Shipping Providers"
|
1285 |
msgstr "Forsendelsesudbydere"
|
1286 |
|
1287 |
+
#: includes/views/admin_options_shipping_provider.php:157
|
|
|
|
|
|
|
|
|
1288 |
msgid "Shipping providers database reset successfully."
|
1289 |
msgstr "Forsendelsesdatabase nulstilles med succes."
|
1290 |
|
1291 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:327
|
1292 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:328
|
1293 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:327
|
1294 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:381
|
1295 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:329
|
1296 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:326
|
1297 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:330
|
1298 |
+
msgid "Show billing address"
|
1299 |
+
msgstr ""
|
1300 |
+
"Vis faktureringsadresse\n"
|
1301 |
+
|
1302 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:409
|
1303 |
msgid "Show bottom border"
|
1304 |
msgstr ""
|
1305 |
"Vis nederste kant\n"
|
1306 |
|
1307 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:309
|
1308 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:310
|
1309 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:309
|
1310 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:363
|
1311 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:311
|
1312 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:308
|
1313 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:312
|
1314 |
+
msgid "Show order details"
|
1315 |
+
msgstr ""
|
1316 |
+
"Vis bestilling detaljer\n"
|
1317 |
+
|
1318 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:346
|
1319 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:347
|
1320 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:346
|
1321 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:400
|
1322 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:348
|
1323 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:345
|
1324 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:349
|
1325 |
+
msgid "Show shipping address"
|
1326 |
+
msgstr ""
|
1327 |
+
"Vis forsendelsesadresse\n"
|
1328 |
+
|
1329 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:291
|
1330 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:292
|
1331 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:291
|
1332 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:345
|
1333 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:293
|
1334 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:290
|
1335 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:294
|
1336 |
+
msgid "Show tracking details"
|
1337 |
+
msgstr ""
|
1338 |
+
"Vis sporingsoplysninger\n"
|
1339 |
+
|
1340 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:321
|
1341 |
msgid "Simple Layout Design"
|
1342 |
msgstr ""
|
1343 |
"Simpelt layoutdesign\n"
|
1344 |
|
1345 |
+
#: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:401
|
1346 |
msgid "Special character not allowd in tracking number"
|
1347 |
msgstr "Specialtegn er ikke tilladt i sporingsnummer"
|
1348 |
|
1349 |
+
#: includes/views/admin_options_trackship_integration.php:17
|
1350 |
+
#: includes/views/admin_options_addons.php:141
|
1351 |
+
msgid "Start your free trial"
|
1352 |
+
msgstr "Start din gratis prøveperiode"
|
1353 |
+
|
1354 |
+
#: includes/views/trackship_sidebar.php:24
|
1355 |
+
msgid "Subscription Plan"
|
1356 |
+
msgstr "Abonnementsplan"
|
1357 |
+
|
1358 |
+
#: includes/views/admin_options_shipping_provider.php:146
|
1359 |
+
#: includes/views/admin_options_shipping_provider.php:161
|
1360 |
msgid "Sync Shipping Providers"
|
1361 |
msgstr "Synkroniseringsforsendelser"
|
1362 |
|
1363 |
+
#: includes/views/admin_options_shipping_provider.php:151
|
1364 |
msgid ""
|
1365 |
"Syncing the shipping providers list add or updates the pre-set shipping "
|
1366 |
"providers and will not effect custom shipping providers."
|
1369 |
"forudindstillede leverandører af levering og påvirker ikke brugerdefinerede "
|
1370 |
"forsendelsesleverandører."
|
1371 |
|
1372 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:791
|
1373 |
msgid "Table Content"
|
1374 |
msgstr "Table Content"
|
1375 |
|
1376 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:534
|
1377 |
msgid "Table Design Options"
|
1378 |
+
msgstr ""
|
1379 |
|
1380 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:615
|
1381 |
+
#, fuzzy
|
1382 |
#| msgid "Table Headers"
|
1383 |
msgid "Table Header"
|
1384 |
+
msgstr ""
|
1385 |
+
"Bordoverskrifter\n"
|
1386 |
|
1387 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:304
|
1388 |
msgid "Table Layout"
|
1389 |
msgstr ""
|
1390 |
"Tabellayout\n"
|
1391 |
|
1392 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:446
|
1393 |
msgid "Table Options"
|
1394 |
+
msgstr ""
|
1395 |
|
1396 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:592
|
1397 |
msgid "Text align"
|
1398 |
+
msgstr ""
|
1399 |
|
1400 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1738
|
1401 |
+
#: includes/views/admin_options_shipping_provider.php:100
|
1402 |
msgid ""
|
1403 |
+
"The custom name will display in the tracking info section on the customer "
|
1404 |
+
"order emails, my-account, shipment tracking page and shipment status emails."
|
1405 |
+
msgstr ""
|
1406 |
+
"Det brugerdefinerede navn vises i sporingsinfosektionen på e-mails med "
|
1407 |
+
"kundeordrer, min konto, forsendelsessporingsside og forsendelsesstatus-e-"
|
1408 |
+
"mails."
|
1409 |
+
|
1410 |
+
#: includes/views/admin_status_notifications.php:52
|
1411 |
+
msgid "The shipment is On Hold."
|
1412 |
+
msgstr "Forsendelsen er i venteposition."
|
1413 |
+
|
1414 |
+
#: includes/views/admin_status_notifications.php:82
|
1415 |
+
msgid "The shipment is ready to by picked up."
|
1416 |
+
msgstr "Forsendelsen er klar til afhentning."
|
1417 |
+
|
1418 |
+
#: includes/views/admin_status_notifications.php:37
|
1419 |
+
msgid "The shipment was accepted by the shipping provider and its on the way."
|
1420 |
msgstr ""
|
1421 |
+
"Forsendelsen blev accepteret af forsendelsesudbyderen og dens undervejs."
|
|
|
|
|
1422 |
|
1423 |
+
#: includes/views/admin_status_notifications.php:112
|
1424 |
+
msgid "The shipment was delivered successfully."
|
1425 |
+
msgstr "Forsendelsen blev leveret med succes."
|
1426 |
+
|
1427 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:737
|
1428 |
msgid "There are some issue with sync, Please Retry."
|
1429 |
msgstr "Der er nogle problemer med synkronisering, prøv igen."
|
1430 |
|
1431 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:236
|
1432 |
msgid "This browser does not support HTML5."
|
1433 |
msgstr "Denne browser understøtter ikke HTML5."
|
1434 |
|
1435 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:876
|
1436 |
+
msgid ""
|
1437 |
+
"This means that the 'mark as <span class='shipped_label'>completed</span>' "
|
1438 |
+
"will be selected by default when adding tracking info to orders."
|
1439 |
+
msgstr ""
|
1440 |
+
"Dette betyder, at 'mærket som <span class =' shipped_label '> afsluttet "
|
1441 |
+
"</span>' vælges som standard, når der tilføjes sporingsoplysninger til "
|
1442 |
+
"ordrer."
|
1443 |
+
|
1444 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:872
|
1445 |
+
msgid ""
|
1446 |
+
"This means that the 'mark as <span class='shipped_label'>shipped</span>' "
|
1447 |
+
"will be selected by default when adding tracking info to orders."
|
1448 |
+
msgstr ""
|
1449 |
+
"Dette betyder, at 'mærket som <span class =' shipped_label '> afsendt "
|
1450 |
+
"</span>' vælges som standard, når der tilføjes sporingsoplysninger til "
|
1451 |
+
"ordrer."
|
1452 |
+
|
1453 |
+
#: includes/customizer/class-wc-late-shipments-email-customizer.php:30
|
1454 |
+
#: includes/views/admin_status_notifications.php:210
|
1455 |
+
msgid ""
|
1456 |
+
"This order was shipped {shipment_length} days ago, the shipment status is "
|
1457 |
+
"{shipment_status} and its est. delivery date is {est_delivery_date}."
|
1458 |
+
msgstr ""
|
1459 |
+
"Denne ordre blev afsendt for {shipment_length} dage siden, "
|
1460 |
+
"forsendelsesstatus er {shipment_status}, og dens forventede leveringsdato er "
|
1461 |
+
"{est_delivery_date}."
|
1462 |
+
|
1463 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:365
|
1464 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:366
|
1465 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:365
|
1466 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:419
|
1467 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:367
|
1468 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:364
|
1469 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:368
|
1470 |
+
msgid "This will be appended to URL in the email content"
|
1471 |
+
msgstr "Dette føjes til URL i e-mail-indholdet"
|
1472 |
+
|
1473 |
+
#: includes/customizer/class-wc-email-customizer.php:428
|
1474 |
+
msgid ""
|
1475 |
+
"This will be appended to URL in the email content – e.g. "
|
1476 |
+
"utm_source=ast&utm_medium=email&utm_campaign=delivered"
|
1477 |
+
msgstr ""
|
1478 |
+
"Dette føjes til URL i e-mail-indholdet - f.eks. utm_source = ast & "
|
1479 |
+
"utm_medium = email & utm_campaign = leveret"
|
1480 |
+
|
1481 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:471
|
1482 |
+
msgid ""
|
1483 |
+
"To enable this option, the 'Delivered' order status should be enabled in the "
|
1484 |
+
"AST settings."
|
1485 |
+
msgstr ""
|
1486 |
+
"For at aktivere denne mulighed skal ordren 'Leveret' være aktiveret i AST-"
|
1487 |
+
"indstillingerne."
|
1488 |
+
|
1489 |
+
#: templates/tracking/tracking-form.php:11
|
1490 |
+
msgid ""
|
1491 |
+
"To track your order please enter your Order ID in the box below and press "
|
1492 |
+
"the \"Track\" button. This was given to you on your receipt and in the "
|
1493 |
+
"confirmation email you should have received."
|
1494 |
+
msgstr ""
|
1495 |
+
"For at spore din ordre skal du indtaste dit ordre-id i boksen herunder og "
|
1496 |
+
"trykke på knappen \"Spor\". Dette blev givet til dig på din kvittering og i "
|
1497 |
+
"den bekræftelses e-mail, du skulle have modtaget.\n"
|
1498 |
+
|
1499 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:219
|
1500 |
+
#: includes/views/admin_options_tools.php:13
|
1501 |
+
#: includes/views/trackship_settings.php:15
|
1502 |
+
#: includes/views/trackship_settings.php:16
|
1503 |
+
msgid "Tools"
|
1504 |
+
msgstr "Værktøj"
|
1505 |
+
|
1506 |
+
#: includes/class-wc-advanced-shipment-tracking.php:759
|
1507 |
+
#: includes/class-wc-advanced-shipment-tracking.php:786
|
1508 |
+
#: includes/class-wc-advanced-shipment-tracking.php:802
|
1509 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:153
|
1510 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:944
|
1511 |
+
#: templates/emails/tracking-info.php:308
|
1512 |
+
#: templates/myaccount/tracking-info.php:241
|
1513 |
+
#: templates/tracking/tracking-form.php:16
|
1514 |
msgid "Track"
|
1515 |
msgstr "Spor pakke"
|
1516 |
|
1517 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:903
|
1518 |
msgid "Track Button"
|
1519 |
+
msgstr ""
|
1520 |
|
1521 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:919
|
1522 |
msgid "Track Header"
|
1523 |
+
msgstr ""
|
1524 |
|
1525 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:937
|
1526 |
msgid "Track header text"
|
1527 |
msgstr ""
|
1528 |
"Spor overskriftstekst\n"
|
1529 |
|
1530 |
+
#: includes/class-wc-advanced-shipment-tracking.php:246
|
1531 |
+
#: includes/class-wc-advanced-shipment-tracking.php:419
|
1532 |
msgid "Track Shipment"
|
1533 |
msgstr "Spor forsendelse"
|
1534 |
|
1535 |
+
#: includes/views/trackship_sidebar.php:20
|
1536 |
+
msgid "Trackers Balance"
|
1537 |
+
msgstr "Trackers Balance"
|
1538 |
+
|
1539 |
+
#: includes/views/front/layout1_tracking_details.php:4
|
1540 |
+
msgid "Tracking Details"
|
1541 |
+
msgstr "Sporingsdetaljer"
|
1542 |
+
|
1543 |
+
#: includes/views/front/tracking_page_header.php:33
|
1544 |
+
msgid "Tracking details is not updated yet, Please check after few hour."
|
1545 |
+
msgstr ""
|
1546 |
+
|
1547 |
+
#: includes/views/front/tracking_page_header.php:35
|
1548 |
+
msgid "Tracking details is not updated yet, Please check after few min."
|
1549 |
+
msgstr ""
|
1550 |
+
|
1551 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:186
|
1552 |
+
msgid "Tracking details not found"
|
1553 |
+
msgstr ""
|
1554 |
+
|
1555 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:379
|
1556 |
+
msgid "Tracking details not found in TrackShip"
|
1557 |
+
msgstr "Sporingsdetaljer findes ikke i TrackShip"
|
1558 |
+
|
1559 |
+
#: includes/views/admin_options_settings.php:35
|
1560 |
+
msgid "Tracking Display Customizer"
|
1561 |
+
msgstr ""
|
1562 |
+
|
1563 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:296
|
1564 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:299
|
1565 |
msgid "Tracking display layout"
|
1566 |
msgstr "Sporing af displaylayout"
|
1567 |
|
1568 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1027
|
1569 |
+
msgid "Tracking Display My Account"
|
1570 |
+
msgstr ""
|
1571 |
+
|
1572 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:212
|
1573 |
msgid "Tracking Display Position"
|
1574 |
msgstr "Sporing af skærmposition"
|
1575 |
|
1576 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:251
|
1577 |
msgid "Tracking Header text"
|
1578 |
msgstr ""
|
1579 |
"Sporing af overskriftstekst\n"
|
1580 |
|
1581 |
+
#: includes/customizer/class-wcast-customizer.php:32
|
1582 |
+
#: includes/customizer/class-wcast-customizer.php:65
|
1583 |
msgid "Tracking info display"
|
1584 |
msgstr ""
|
1585 |
"Tracking info display\n"
|
1586 |
|
1587 |
+
#: includes/views/admin_options_tools.php:11
|
1588 |
+
msgid "Tracking info sent to Trackship for all Orders."
|
1589 |
+
msgstr "Sporingsinfo sendt til Trackship for alle ordrer."
|
1590 |
+
|
1591 |
+
#: includes/class-wc-advanced-shipment-tracking.php:721
|
1592 |
#, php-format
|
|
|
|
|
1593 |
msgid ""
|
1594 |
+
"Tracking info was deleted for tracking provider %s with tracking number %s"
|
1595 |
+
msgstr "Sporingsinfo blev slettet for sporingsudbyder% s med sporingsnummer% s"
|
|
|
|
|
|
|
1596 |
|
1597 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:258
|
1598 |
msgid "Tracking Information"
|
1599 |
msgstr "Sporing Oplysninger"
|
1600 |
|
1601 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:1489
|
1602 |
+
msgid "Tracking issues"
|
1603 |
+
msgstr "Sporingsspørgsmål"
|
1604 |
+
|
1605 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:151
|
1606 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:679
|
1607 |
+
#: templates/emails/tracking-info.php:285
|
1608 |
+
#: templates/myaccount/tracking-info.php:221
|
1609 |
msgid "Tracking Number"
|
1610 |
msgstr "Tracking nummer"
|
1611 |
|
1612 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:672
|
1613 |
+
#, fuzzy
|
1614 |
#| msgid "Tracking Number header text"
|
1615 |
msgid "Tracking number header text"
|
1616 |
+
msgstr ""
|
1617 |
+
"Sporing af nummeroverskriftstekst\n"
|
1618 |
|
1619 |
+
#: includes/class-wc-advanced-shipment-tracking.php:332
|
1620 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:436
|
1621 |
msgid "Tracking number:"
|
1622 |
msgstr "Tracking nummer:"
|
1623 |
|
1624 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:217
|
1625 |
+
#: includes/views/admin_tracking_page_settings.php:9
|
1626 |
+
#: includes/views/trackship_settings.php:9
|
1627 |
+
#: includes/views/trackship_settings.php:10
|
1628 |
+
msgid "Tracking Page"
|
1629 |
+
msgstr "Tracking Page"
|
1630 |
+
|
1631 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:369
|
1632 |
+
msgid "Tracking Page Layout"
|
1633 |
+
msgstr ""
|
1634 |
+
"Sporing af sidelayout\n"
|
1635 |
+
|
1636 |
+
#: includes/views/admin_tracking_page_settings.php:92
|
1637 |
+
msgid "Tracking Widget Border Color"
|
1638 |
+
msgstr ""
|
1639 |
+
|
1640 |
+
#: includes/views/admin_tracking_page_settings.php:46
|
1641 |
+
msgid "Tracking Widget Layout"
|
1642 |
+
msgstr ""
|
1643 |
+
|
1644 |
+
#: includes/views/admin_tracking_page_settings.php:65
|
1645 |
+
msgid "Tracking Widget Options"
|
1646 |
+
msgstr ""
|
1647 |
+
|
1648 |
+
#: includes/views/admin_tracking_page_settings.php:116
|
1649 |
+
msgid "Tracking Widget Preview"
|
1650 |
+
msgstr "Eksempel på sporing af widget"
|
1651 |
+
|
1652 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1743
|
1653 |
msgid "TrackShip"
|
1654 |
msgstr "TrackShip"
|
1655 |
|
1656 |
+
#: includes/views/trackship_sidebar.php:12
|
1657 |
+
msgid "TrackShip Connection Status"
|
1658 |
+
msgstr "TrackShip-forbindelsesstatus"
|
1659 |
+
|
1660 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1801
|
1661 |
+
msgid "TrackShip not supported"
|
1662 |
+
msgstr "TrackShip understøttes ikke"
|
1663 |
+
|
1664 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1801
|
1665 |
+
msgid "TrackShip supported"
|
1666 |
+
msgstr "TrackShip understøttet"
|
1667 |
+
|
1668 |
+
#: includes/views/admin_status_notifications.php:225
|
1669 |
+
msgid "Trigger Alert"
|
1670 |
+
msgstr "Trigger Alert"
|
1671 |
+
|
1672 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:761
|
1673 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:858
|
1674 |
+
msgid "Unknown"
|
1675 |
+
msgstr "Ukendt"
|
1676 |
+
|
1677 |
+
#: includes/views/admin_options_shipping_provider.php:135
|
1678 |
msgid "Update"
|
1679 |
msgstr "Opdatering"
|
1680 |
|
1681 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:148
|
1682 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:194
|
1683 |
+
#: includes/customizer/class-wc-email-customizer.php:186
|
1684 |
+
#: includes/views/admin_options_osm.php:101
|
1685 |
msgid "Updated Tracking"
|
1686 |
msgstr "Opdateret sporing"
|
1687 |
|
1688 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:153
|
|
|
1689 |
#, php-format
|
1690 |
msgid "Updated Tracking <span class=\"count\">(%s)</span>"
|
1691 |
msgid_plural "Updated Tracking <span class=\"count\">(%s)</span>"
|
1692 |
msgstr[0] "Opdateret sporing <span class = \"count\"> (% s) </span>"
|
1693 |
msgstr[1] "Opdateret sporing <span class = \"count\"> (% s) </span>"
|
1694 |
|
1695 |
+
#: includes/views/trackship_sidebar.php:28
|
1696 |
+
msgid "Upgrade Now"
|
1697 |
+
msgstr "Opgrader nu"
|
1698 |
+
|
1699 |
+
#: includes/views/admin_options_shipping_provider.php:76
|
1700 |
+
#: includes/views/admin_options_shipping_provider.php:124
|
1701 |
+
msgid "Upload"
|
1702 |
+
msgstr "Upload"
|
1703 |
+
|
1704 |
+
#: includes/views/admin_options_bulk_upload.php:26
|
1705 |
msgid "Upload a CSV file from your computer:"
|
1706 |
msgstr "Upload en CSV-fil fra din computer:"
|
1707 |
|
1708 |
+
#: includes/views/admin_options_bulk_upload.php:109
|
1709 |
msgid "Upload again"
|
1710 |
msgstr "Upload igen"
|
1711 |
|
1712 |
+
#: includes/views/admin_options_settings.php:36
|
1713 |
+
msgid ""
|
1714 |
+
"Use a customizer with a preview to customize the tracking info display on "
|
1715 |
+
"customer order emails and my-account."
|
1716 |
+
msgstr ""
|
1717 |
+
"Brug en customizer med en forhåndsvisning til at tilpasse visningen af "
|
1718 |
+
"sporingsinfo i e-mails med kundeordrer og min-konto."
|
1719 |
+
|
1720 |
+
#: includes/views/admin_options_bulk_upload.php:12
|
1721 |
msgid ""
|
1722 |
"Use our CSV Import Tool to bulk Import tracking info to orders from a CSV "
|
1723 |
"file"
|
1725 |
"Use our CSV Import Tool to bulk Import tracking info to orders from a CSV "
|
1726 |
"file"
|
1727 |
|
1728 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:363
|
1729 |
+
msgid "Use the tracking page in the customer email/my account tracking link"
|
1730 |
+
msgstr "Brug sporingssiden i kundens e-mail / link til min kontosporing"
|
1731 |
+
|
1732 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:516
|
1733 |
msgid "Use tracking number as a link"
|
1734 |
msgstr "Brug sporingsnummer som et link"
|
1735 |
|
1736 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:752
|
1737 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:767
|
1738 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:782
|
1739 |
+
#: includes/views/admin_options_bulk_upload.php:87
|
1740 |
msgid "view details"
|
1741 |
msgstr "view details"
|
1742 |
|
1743 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:1526
|
1744 |
+
msgid "View more on TrackShip"
|
1745 |
+
msgstr "Se mere på TrackShip"
|
1746 |
+
|
1747 |
+
#: includes/views/admin_options_bulk_upload.php:108
|
1748 |
msgid "View Orders"
|
1749 |
msgstr "Se ordrer"
|
1750 |
|
1751 |
+
#: includes/views/admin_options_trackship_integration.php:16
|
1752 |
+
#: includes/views/admin_options_addons.php:137
|
1753 |
+
msgid "Watch Video"
|
1754 |
+
msgstr "Se video"
|
1755 |
+
|
1756 |
+
#: woocommerce-advanced-shipment-tracking.php:487
|
1757 |
+
#, php-format
|
1758 |
+
msgid ""
|
1759 |
+
"We detected %s orders that use the Delivered order status, You can reassign "
|
1760 |
+
"these orders to a different status"
|
1761 |
+
msgstr ""
|
1762 |
+
"Vi registrerede% s ordrer, der bruger leveret ordrestatus. Du kan omfordele "
|
1763 |
+
"disse ordrer til en anden status"
|
1764 |
+
|
1765 |
+
#: woocommerce-advanced-shipment-tracking.php:499
|
1766 |
#, php-format
|
1767 |
msgid ""
|
1768 |
"We detected %s orders that use the Partially Shipped order status, You can "
|
1771 |
"Vi har registreret% s ordrer, der bruger ordren Delvist afsendt. Du kan "
|
1772 |
"tildele disse ordrer til en anden status"
|
1773 |
|
1774 |
+
#: woocommerce-advanced-shipment-tracking.php:511
|
1775 |
+
#, php-format
|
1776 |
+
msgid ""
|
1777 |
+
"We detected %s orders that use the Updated Tracking order status, You can "
|
1778 |
+
"reassign these orders to a different status"
|
1779 |
+
msgstr ""
|
1780 |
+
"Vi registrerede% s ordrer, der bruger status for opdateret sporingsordre. Du "
|
1781 |
+
"kan omfordele disse ordrer til en anden status"
|
1782 |
+
|
1783 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:873
|
1784 |
+
msgid "Wrong Shipping Provider"
|
1785 |
+
msgstr "Forkert forsendelsesudbyder"
|
1786 |
|
1787 |
+
#: includes/class-wc-advanced-shipment-tracking.php:384
|
1788 |
+
#: includes/class-wc-advanced-shipment-tracking.php:387
|
1789 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:467
|
1790 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:467
|
1791 |
msgid "Y-m-d"
|
1792 |
+
msgstr ""
|
1793 |
+
|
1794 |
+
#: includes/views/admin_status_notifications.php:116
|
1795 |
+
msgid ""
|
1796 |
+
"You already have delivered order status email enabled, to enable this email "
|
1797 |
+
"you'll need to disable the delivered order status email in settings."
|
1798 |
+
msgstr ""
|
1799 |
+
|
1800 |
+
#: includes/views/admin_options_tools.php:14
|
1801 |
+
msgid ""
|
1802 |
+
"You can send all your orders from the last 30 days to get shipment status "
|
1803 |
+
"from TrackShip:"
|
1804 |
+
msgstr ""
|
1805 |
+
"Du kan sende alle dine ordrer fra de sidste 30 dage for at få "
|
1806 |
+
"forsendelsesstatus fra TrackShip:"
|
1807 |
|
1808 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:235
|
1809 |
msgid "You can upload only csv file."
|
1810 |
msgstr "Du kan kun uploade csv-fil."
|
1811 |
|
1812 |
+
#: includes/views/admin_options_shipping_provider.php:82
|
1813 |
+
#: includes/views/admin_options_shipping_provider.php:130
|
1814 |
msgid ""
|
1815 |
"You can use the variables %number%, %postal_code% and %country_code% in the "
|
1816 |
"URL, for more info, check our "
|
1818 |
"Du kan bruge variablerne% number%,% postal_code% og% country_code% i URL'en, "
|
1819 |
"for mere info, se vores"
|
1820 |
|
1821 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1903
|
|
|
1822 |
#, php-format
|
1823 |
msgid "You did not create any %s shipping providers yet."
|
1824 |
msgstr "Du har ikke oprettet nogen% s forsendelsesudbydere endnu."
|
1825 |
|
1826 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1906
|
1827 |
+
#: includes/views/admin_options_shipping_provider.php:45
|
1828 |
#, php-format
|
1829 |
msgid "You don't have any %s shipping providers."
|
1830 |
msgstr "Du har ikke% s forsendelsesudbydere."
|
1831 |
|
1832 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:1024
|
1833 |
+
#, php-format
|
1834 |
+
msgid "You got %s %s orders with shipment status “TrackShip connection issue”"
|
1835 |
+
msgstr ""
|
1836 |
+
"Du fik% s% s ordrer med forsendelsesstatus \"TrackShip-forbindelsesproblem\""
|
1837 |
+
|
1838 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:1015
|
1839 |
+
#, php-format
|
1840 |
+
msgid "You got %s %s orders with shipment status “TrackShip balance is 0”"
|
1841 |
+
msgstr "Du fik% s% s ordrer med forsendelsesstatus \"TrackShip-saldoen er 0\""
|
1842 |
+
|
1843 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:1006
|
1844 |
+
#, php-format
|
1845 |
+
msgid ""
|
1846 |
+
"You got %s %s orders with tracking info that were not sent to track on "
|
1847 |
+
"TrackShip"
|
1848 |
+
msgstr ""
|
1849 |
+
"Du fik% s% s ordrer med sporingsoplysninger, der ikke blev sendt til at "
|
1850 |
+
"spore på TrackShip"
|
1851 |
+
|
1852 |
+
#: includes/views/admin_trackship_dashboard.php:13
|
1853 |
+
#, php-format
|
1854 |
+
msgid ""
|
1855 |
+
"You have %s Shipped Orders from the last 30 days that you can bulk send to "
|
1856 |
+
"<a href=\"javascript:void(0);\" class=\"tool_link\">Get Shipment Status</a>"
|
1857 |
+
msgstr ""
|
1858 |
+
"Du har% s afsendt ordrer fra de sidste 30 dage, som du kan sende i bulk til "
|
1859 |
+
"<a href = \"javascript: void (0);\" class = \"tool_link\"> Få "
|
1860 |
+
"forsendelsesstatus </a>"
|
1861 |
+
|
1862 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:341
|
1863 |
+
msgid ""
|
1864 |
+
"You must add the shortcode [wcast-track-order] to the selected page in order "
|
1865 |
+
"for the tracking page to work."
|
1866 |
+
msgstr ""
|
1867 |
+
"Du skal tilføje kortkoden [wcast-track-order] til den valgte side for at "
|
1868 |
+
"sporingssiden skal fungere."
|
1869 |
|
1870 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:126
|
1871 |
+
msgid "Your order #{order_number} has been delivered"
|
1872 |
+
msgstr "Din ordre nr. {Ordre_nummer} er leveret"
|
1873 |
+
|
1874 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:125
|
1875 |
+
msgid "Your order #{order_number} has returned to sender"
|
1876 |
+
msgstr "Din ordre # {order_number} er returneret til afsenderen"
|
1877 |
+
|
1878 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:125
|
1879 |
+
msgid "Your order #{order_number} is available for pickup"
|
1880 |
+
msgstr ""
|
1881 |
+
"Din ordre # {order_number} er tilgængelig til afhentning\n"
|
1882 |
+
|
1883 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:125
|
1884 |
+
msgid "Your order #{order_number} is Failed Attempt"
|
1885 |
+
msgstr "Din ordre # {order_nummer} er mislykket"
|
1886 |
+
|
1887 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:128
|
1888 |
+
msgid "Your order #{order_number} is in transit"
|
1889 |
+
msgstr ""
|
1890 |
+
"Din ordre # {order_number} er i transit\n"
|
1891 |
+
|
1892 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:128
|
1893 |
+
msgid "Your order #{order_number} is on hold"
|
1894 |
+
msgstr "Din ordre # {order_nummer} er på vent"
|
1895 |
+
|
1896 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:127
|
1897 |
+
msgid "Your order #{order_number} is out for delivery"
|
1898 |
+
msgstr "Din ordre # {order_number} er ude for levering"
|
1899 |
+
|
1900 |
+
#: includes/customizer/class-wc-email-customizer.php:120
|
1901 |
+
#: includes/emails/class-shipment-delivered-email.php:94
|
1902 |
+
msgid "Your {site_title} order is now delivered"
|
1903 |
+
msgstr ""
|
1904 |
+
"Din {site_title} ordre er nu leveret\n"
|
1905 |
+
|
1906 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:118
|
1907 |
msgid "Your {site_title} order is now partially shipped"
|
1908 |
msgstr "Din {site_title} ordre er nu delvist sendt"
|
1909 |
|
1910 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:118
|
1911 |
msgid "Your {site_title} order is now updated tracking"
|
1912 |
msgstr ""
|
1913 |
"Din {site_title} ordre er nu opdateret sporing\n"
|
|
|
|
|
|
|
|
lang/woo-advanced-shipment-tracking-de_DE.mo
CHANGED
Binary file
|
lang/woo-advanced-shipment-tracking-de_DE.po
CHANGED
@@ -3,8 +3,8 @@ msgstr ""
|
|
3 |
"Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
"POT-Creation-Date: 2020-11-11 09:34+0000\n"
|
6 |
-
"PO-Revision-Date:
|
7 |
-
"Last-Translator: John
|
8 |
"Language-Team: German\n"
|
9 |
"Language: de_DE\n"
|
10 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
@@ -12,536 +12,636 @@ 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.
|
16 |
|
17 |
-
|
18 |
-
#: includes/views/admin_options_shipping_provider.php:
|
19 |
#, php-format
|
20 |
msgid "<a href=\"%s\" target=\"blank\">documentation</a>"
|
21 |
msgstr "Dokumentation"
|
22 |
|
23 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
msgid "Actions"
|
25 |
msgstr "Aktionen"
|
26 |
|
27 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
28 |
-
msgid "
|
29 |
-
msgstr "
|
30 |
|
31 |
-
#: includes/views/admin_options_shipping_provider.php:
|
32 |
-
msgid ""
|
33 |
-
"Add API name aliases to map Shipping providers names with the provider names "
|
34 |
-
"that are updated in the shipment tracking API by external shipping services"
|
35 |
msgstr ""
|
36 |
-
"Fügen Sie API-Namensaliase hinzu, um die Namen von Versandanbietern den "
|
37 |
-
"Anbieternamen zuzuordnen, die in der Sendungsverfolgungs-API von externen "
|
38 |
-
"Versanddiensten aktualisiert werden"
|
39 |
|
40 |
-
#: includes/class-wc-advanced-shipment-tracking-
|
41 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
42 |
msgid "Add Custom Provider"
|
43 |
msgstr "Benutzerdefinierten Anbieter hinzufügen"
|
44 |
|
45 |
-
|
46 |
-
msgid ""
|
47 |
-
"
|
48 |
-
"customers with an easy way to track their orders. Shipment tracking Info "
|
49 |
-
"will appear in customers accounts (in the order panel) and in WooCommerce "
|
50 |
-
"order complete email."
|
51 |
-
msgstr ""
|
52 |
-
"Fügen Sie Ihren WooCommerce-Bestellungen Informationen zur "
|
53 |
-
"Sendungsverfolgung hinzu und bieten Sie Kunden eine einfache Möglichkeit, "
|
54 |
-
"ihre Bestellungen zu verfolgen. Die Sendungsverfolgungsinformationen werden "
|
55 |
-
"in den Kundenkonten (im Bestellfenster) und in der E-Mail zum Abschluss der "
|
56 |
-
"WooCommerce-Bestellung angezeigt."
|
57 |
-
|
58 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:815
|
59 |
-
msgid "add the [wcast-track-order] shortcode in the selected page."
|
60 |
-
msgstr ""
|
61 |
-
"fügen Sie den Shortcode [wcast-track-order] auf der ausgewählten Seite hinzu."
|
62 |
|
63 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
64 |
msgid "Add Tracking"
|
65 |
msgstr "Add Tracking"
|
66 |
|
67 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:
|
68 |
msgid "Add Tracking - order\t"
|
69 |
msgstr "Tracking hinzufügen - Bestellung"
|
70 |
|
71 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
72 |
-
msgid "Add Tracking
|
73 |
-
msgstr "Tracking-Info hinzufügen"
|
74 |
-
|
75 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:605
|
76 |
-
msgid ""
|
77 |
-
"Add Tracking Information in AST meta fields when you automatically sync "
|
78 |
-
"tracking numbers from aliexpress orders"
|
79 |
-
msgstr ""
|
80 |
-
"Fügen Sie Tracking-Informationen in AST-Metafeldern hinzu, wenn Sie Tracking-"
|
81 |
-
"Nummern von aliexpress-Bestellungen automatisch synchronisieren"
|
82 |
-
|
83 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:615
|
84 |
-
msgid ""
|
85 |
-
"Add tracking information in invoice PDF generate by WooCommerce PDF Invoices "
|
86 |
-
"& Packing Slips plugin By Ewout Fernhout"
|
87 |
-
msgstr ""
|
88 |
-
"Fügen Sie Tracking-Informationen in Rechnungs-PDFs hinzu, die von "
|
89 |
-
"WooCommerce PDF-Plugins für Rechnungen und Lieferscheine generiert werden "
|
90 |
-
"Von Ewout Fernhout"
|
91 |
-
|
92 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:625
|
93 |
-
msgid ""
|
94 |
-
"Add tracking information in invoice PDF generate by WooCommerce PDF Invoices "
|
95 |
-
"plugin By Bas Elbers"
|
96 |
-
msgstr ""
|
97 |
-
"Fügen Sie Tracking-Informationen in Rechnungs-PDF hinzu, das vom WooCommerce "
|
98 |
-
"PDF-Rechnungs-Plugin generiert wird Von Bas Elbers"
|
99 |
-
|
100 |
-
#: includes/views/admin_options_settings.php:16
|
101 |
-
msgid "Add Tracking Options"
|
102 |
-
msgstr "Tracking-Optionen hinzufügen"
|
103 |
-
|
104 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:933
|
105 |
-
msgid "Add Tracking Order action"
|
106 |
-
msgstr "Aktion Tracking-Bestellung hinzufügen"
|
107 |
-
|
108 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:585
|
109 |
-
msgid ""
|
110 |
-
"Adding tracking information to your orders shipped with 3plwinner and "
|
111 |
-
"automate your workflow"
|
112 |
-
msgstr ""
|
113 |
-
"Hinzufügen von Tracking-Informationen zu Ihren mit 3plwinner versandten "
|
114 |
-
"Bestellungen und Automatisierung Ihres Workflows"
|
115 |
-
|
116 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:545
|
117 |
-
msgid ""
|
118 |
-
"Adding tracking information to your orders shipped with CustomCat and "
|
119 |
-
"automate your workflow"
|
120 |
-
msgstr ""
|
121 |
-
"Hinzufügen von Tracking-Informationen zu Ihren mit CustomCat versandten "
|
122 |
-
"Bestellungen und Automatisierung Ihres Workflows"
|
123 |
-
|
124 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:555
|
125 |
-
msgid ""
|
126 |
-
"Adding tracking information to your orders shipped with Dear Systems and "
|
127 |
-
"automate your workflow"
|
128 |
-
msgstr ""
|
129 |
-
"Hinzufügen von Tracking-Informationen zu Ihren mit Dear Systems versandten "
|
130 |
-
"Bestellungen und Automatisierung Ihres Workflows"
|
131 |
-
|
132 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:595
|
133 |
-
msgid ""
|
134 |
-
"Adding tracking information to your orders shipped with Dianxiaomi and "
|
135 |
-
"automate your workflow"
|
136 |
-
msgstr ""
|
137 |
-
"Hinzufügen von Tracking-Informationen zu Ihren mit Dianxiaomi versandten "
|
138 |
-
"Bestellungen und Automatisierung Ihres Workflows"
|
139 |
-
|
140 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:575
|
141 |
-
msgid ""
|
142 |
-
"Adding tracking information to your orders shipped with Picqer and automate "
|
143 |
-
"your workflow"
|
144 |
-
msgstr ""
|
145 |
-
"Hinzufügen von Tracking-Informationen zu Ihren mit Picqer versandten "
|
146 |
-
"Bestellungen und Automatisierung Ihres Workflows"
|
147 |
-
|
148 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:565
|
149 |
-
msgid ""
|
150 |
-
"Adding tracking information to your orders shipped with Printify and "
|
151 |
-
"automate your workflow"
|
152 |
-
msgstr ""
|
153 |
-
"Hinzufügen von Tracking-Informationen zu Ihren mit Printify versandten "
|
154 |
-
"Bestellungen und Automatisierung Ihres Workflows"
|
155 |
-
|
156 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:515
|
157 |
-
msgid ""
|
158 |
-
"Adding tracking information to your orders shipped with QuickBooks Commerce "
|
159 |
-
"and automate your workflow"
|
160 |
-
msgstr ""
|
161 |
-
"Hinzufügen von Tracking-Informationen zu Ihren mit QuickBooks Commerce "
|
162 |
-
"versandten Bestellungen und Automatisierung Ihres Workflows"
|
163 |
-
|
164 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:525
|
165 |
-
msgid ""
|
166 |
-
"Adding tracking information to your orders shipped with ReadyToShip and "
|
167 |
-
"automate your workflow"
|
168 |
-
msgstr ""
|
169 |
-
"Hinzufügen von Tracking-Informationen zu Ihren mit ReadyToShip versandten "
|
170 |
-
"Bestellungen und Automatisierung Ihres Workflows"
|
171 |
-
|
172 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:535
|
173 |
-
msgid ""
|
174 |
-
"Adding tracking information to your orders shipped with Royal Mail Click & "
|
175 |
-
"Drop and automate your workflow"
|
176 |
-
msgstr ""
|
177 |
-
"Hinzufügen von Tracking-Informationen zu Ihren mit Royal Mail Click & Drop "
|
178 |
-
"versandten Bestellungen und Automatisierung Ihres Workflows"
|
179 |
-
|
180 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:475
|
181 |
-
msgid ""
|
182 |
-
"Adding tracking information to your orders shipped with ShipStation and "
|
183 |
-
"automate your workflow"
|
184 |
msgstr ""
|
185 |
-
"Hinzufügen von Tracking-Informationen zu Ihren mit ShipStation versandten "
|
186 |
-
"Bestellungen und Automatisierung Ihres Workflows"
|
187 |
|
188 |
-
#: includes/class-wc-advanced-shipment-tracking
|
189 |
-
msgid ""
|
190 |
-
"
|
191 |
-
"to the Shipment Tracking and automate your workflow"
|
192 |
-
msgstr ""
|
193 |
-
"Hinzufügen von Tracking-Informationen zu Ihren mit WooCommerce Shipping "
|
194 |
-
"versendeten Bestellungen zur Sendungsverfolgung und Automatisierung Ihres "
|
195 |
-
"Workflows"
|
196 |
-
|
197 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:505
|
198 |
-
msgid ""
|
199 |
-
"Adding tracking information to your orders when generating shipping labels "
|
200 |
-
"using the Ordoro"
|
201 |
-
msgstr ""
|
202 |
-
"Hinzufügen von Tracking-Informationen zu Ihren Bestellungen beim Erstellen "
|
203 |
-
"von Versandetiketten mit dem Ordoro"
|
204 |
|
205 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
"
|
212 |
-
|
213 |
-
"Plugin von PluginHive"
|
214 |
|
215 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
216 |
msgid "Additional text after header"
|
217 |
msgstr "Zusätzlicher Text nach Kopfzeile"
|
218 |
|
|
|
|
|
|
|
|
|
219 |
#. Name of the plugin
|
220 |
msgid "Advanced Shipment Tracking for WooCommerce"
|
221 |
-
msgstr "
|
222 |
|
223 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
224 |
msgid "After Order Details"
|
225 |
msgstr "Nach Auftragsdetails"
|
226 |
|
227 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
228 |
-
msgid "API aliases"
|
229 |
-
msgstr "API-Aliasse"
|
230 |
-
|
231 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:1055
|
232 |
msgid "API Date Format"
|
233 |
msgstr "API-Datumsformat"
|
234 |
|
235 |
-
#: includes/
|
|
|
236 |
msgid "API Name"
|
237 |
msgstr "API-Name"
|
238 |
|
239 |
-
#: includes/
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
#: includes/
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
248 |
msgid "Available variables:"
|
249 |
msgstr "Verfügbare Variablen:"
|
250 |
|
251 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
252 |
msgid "Before Order Details"
|
253 |
msgstr "Vor der Bestellung Details"
|
254 |
|
255 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
256 |
msgid "Border color"
|
257 |
msgstr "Randfarbe"
|
258 |
|
259 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
260 |
msgid "Border size"
|
261 |
msgstr ""
|
262 |
"Rahmengrösse\n"
|
263 |
|
264 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
265 |
msgid "Bottom border color"
|
266 |
msgstr ""
|
267 |
"Farbe des unteren Randes\n"
|
268 |
|
269 |
-
#: includes/
|
|
|
|
|
|
|
|
|
270 |
msgid "Button color"
|
271 |
-
msgstr "
|
272 |
|
273 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
274 |
msgid "Button font color"
|
275 |
-
msgstr "
|
276 |
|
277 |
-
#: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:
|
278 |
msgid "Cannot create existing order shipment tracking."
|
279 |
msgstr ""
|
280 |
"Bestehende Sendungsverfolgung für Bestellungen kann nicht erstellt werden.\n"
|
281 |
|
282 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
283 |
msgid "Change order status to"
|
284 |
msgstr "Ändern Sie den Auftragsstatus in"
|
285 |
|
286 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:
|
287 |
msgid "Change status to shipped"
|
288 |
msgstr ""
|
289 |
"Ändern Sie den Status in \"Versand\"\n"
|
290 |
|
291 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
292 |
msgid "Choose for which Order status to display"
|
293 |
-
msgstr "
|
|
|
|
|
|
|
|
|
294 |
|
295 |
-
#: includes/
|
|
|
|
|
|
|
|
|
296 |
msgid "Choose the Shipped Date format"
|
297 |
msgstr "Wählen Sie das Versanddatum-Format"
|
298 |
|
299 |
-
#: includes/class-
|
|
|
|
|
|
|
|
|
|
|
300 |
msgid "Completed"
|
301 |
msgstr "vollendet, fertiggestellt"
|
302 |
|
303 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
304 |
msgid "Content"
|
305 |
msgstr "Inhalt"
|
306 |
|
307 |
#: includes/customizer/class-wc-tracking-info-customizer.php:807
|
308 |
msgid "Content Background color"
|
309 |
-
msgstr "
|
310 |
|
311 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
312 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
313 |
msgid "Content font color"
|
314 |
msgstr ""
|
315 |
"Schriftfarbe des Inhalts\n"
|
316 |
|
317 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
318 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
319 |
msgid "Content font size"
|
320 |
msgstr ""
|
321 |
"Schriftgröße des Inhalts\n"
|
322 |
|
323 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
324 |
msgid "Content font weight"
|
325 |
msgstr ""
|
326 |
"Schriftgröße des Inhalts\n"
|
327 |
|
328 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
329 |
msgid "Content line height"
|
330 |
msgstr "Höhe der Inhaltszeile"
|
331 |
|
332 |
-
#: includes/views/admin_options_bulk_upload.php:
|
333 |
msgid "Continue"
|
334 |
msgstr "Fortsetzen"
|
335 |
|
336 |
-
#: includes/
|
337 |
msgid "Country"
|
338 |
msgstr "Land"
|
339 |
|
340 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
341 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
342 |
-
#: includes/
|
|
|
|
|
|
|
343 |
msgid "CSV Import"
|
344 |
msgstr "CSV-Import"
|
345 |
|
346 |
-
#: includes/views/admin_options_shipping_provider.php:65
|
347 |
-
msgid "Custom API name"
|
348 |
-
msgstr "Benutzerdefinierter API-Name"
|
349 |
-
|
350 |
#: includes/views/admin_options_shipping_provider.php:61
|
|
|
351 |
msgid "Custom display name"
|
352 |
msgstr "Benutzerdefinierter Anzeigename"
|
353 |
|
354 |
-
#: includes/customizer/class-wcast-customizer.php:
|
355 |
msgid "Custom order status email"
|
356 |
-
msgstr "
|
357 |
|
358 |
-
#: includes/
|
359 |
-
|
360 |
-
|
|
|
361 |
|
362 |
-
#: includes/views/
|
363 |
-
msgid "
|
364 |
-
msgstr "
|
365 |
|
366 |
-
#: includes/
|
367 |
-
|
368 |
-
|
369 |
-
msgstr "Anpassen"
|
370 |
|
371 |
-
#: includes/views/admin_options_osm.php:
|
|
|
|
|
372 |
msgid "Dark Font"
|
373 |
msgstr ""
|
374 |
"Dunkle Schrift\n"
|
375 |
|
376 |
-
#: includes/class-wc-advanced-shipment-tracking-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
377 |
msgid "Data saved successfully."
|
378 |
msgstr "Daten erfolgreich gespeichert."
|
379 |
|
380 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
381 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:
|
382 |
msgid "Date shipped:"
|
383 |
msgstr "Lieferdatum:"
|
384 |
|
385 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
386 |
-
|
387 |
-
msgid "
|
388 |
msgstr "Standard"
|
389 |
|
390 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
391 |
msgid "Delivered"
|
392 |
msgstr "Geliefert"
|
393 |
|
394 |
-
#: includes/class-wc-advanced-shipment-tracking-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
395 |
msgid "Display Name"
|
396 |
msgstr "Anzeigename"
|
397 |
|
398 |
-
#: includes/customizer/class-wc-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
399 |
msgid "Display shipping provider image"
|
400 |
msgstr ""
|
401 |
"Bild des Versandanbieters anzeigen\n"
|
402 |
|
403 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
404 |
msgid "Display shipping provider name"
|
405 |
msgstr ""
|
406 |
"Name des Versandanbieters anzeigen\n"
|
407 |
|
408 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
409 |
msgid "Download sample csv"
|
410 |
msgstr "Beispiel-CSV herunterladen"
|
411 |
|
412 |
-
#: includes/
|
413 |
-
msgid "
|
414 |
-
msgstr "
|
415 |
|
416 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
417 |
msgid "Edit Shipping Provider"
|
418 |
msgstr "Versandanbieter bearbeiten"
|
419 |
|
420 |
-
#: includes/customizer/class-wc-
|
421 |
-
#: includes/customizer/class-wc-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
422 |
msgid "Email content"
|
423 |
msgstr "E-Mail-Inhalt"
|
424 |
|
425 |
-
#: includes/customizer/class-wc-
|
426 |
-
|
427 |
-
|
|
|
|
|
|
|
|
|
|
|
428 |
|
429 |
-
#: includes/customizer/class-wc-
|
430 |
-
msgid "
|
431 |
msgstr ""
|
432 |
-
"Teilweise versendete Bestellstatus-E-Mail aktivieren\n"
|
433 |
|
434 |
-
#: includes/
|
435 |
-
msgid "Enable
|
436 |
-
msgstr "Aktivieren Sie
|
437 |
|
438 |
-
#: includes/class-wc-
|
439 |
-
msgid "Enable
|
440 |
-
msgstr "Aktivieren Sie
|
441 |
|
442 |
-
#: includes/
|
443 |
-
msgid "Enable
|
444 |
-
msgstr "
|
445 |
-
|
446 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:554
|
447 |
-
msgid "Enable the Dear Systems integration"
|
448 |
-
msgstr "Aktivieren Sie die Dear Systems-Integration"
|
449 |
-
|
450 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:594
|
451 |
-
msgid "Enable the Dianxiaomi integration"
|
452 |
-
msgstr "Aktivieren Sie die Dianxiaomi-Integration"
|
453 |
|
454 |
-
#: includes/class-wc-
|
455 |
-
msgid "Enable
|
456 |
-
msgstr "Aktivieren Sie die
|
457 |
|
458 |
-
#: includes/class-wc-
|
459 |
-
msgid "Enable
|
460 |
-
msgstr "
|
|
|
461 |
|
462 |
-
#: includes/class-wc-
|
463 |
-
msgid "Enable
|
464 |
-
msgstr "Aktivieren Sie die
|
465 |
|
466 |
-
#: includes/class-wc-
|
467 |
-
msgid "Enable
|
468 |
msgstr ""
|
469 |
-
"Aktivieren Sie
|
470 |
-
|
471 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:524
|
472 |
-
msgid "Enable the ReadyToShip integration"
|
473 |
-
msgstr "Aktivieren Sie die ReadyToShip-Integration"
|
474 |
|
475 |
-
#: includes/class-wc-
|
476 |
-
msgid "Enable
|
477 |
-
msgstr "
|
478 |
|
479 |
-
#: includes/class-wc-
|
480 |
-
msgid "Enable
|
481 |
-
msgstr "
|
482 |
|
483 |
-
#: includes/class-wc-
|
484 |
-
msgid "Enable
|
485 |
-
msgstr "Aktivieren Sie
|
486 |
|
487 |
-
#: includes/class-wc-
|
488 |
-
msgid ""
|
489 |
-
"Enable the WooCommerce UPS Shipping Plugin with Print Label plugin "
|
490 |
-
"integration"
|
491 |
msgstr ""
|
492 |
-
"
|
493 |
-
"Print Label-Plugins"
|
494 |
|
495 |
-
#: includes/class-wc-
|
496 |
-
msgid "Enable
|
497 |
-
msgstr "
|
498 |
|
499 |
-
#: includes/
|
|
|
|
|
|
|
|
|
500 |
msgid "Enable Updated Tracking order status email"
|
501 |
msgstr ""
|
502 |
"Aktivieren Sie die E-Mail mit dem Status der aktualisierten "
|
503 |
"Sendungsverfolgung\n"
|
504 |
|
505 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
506 |
msgid "Filter by shipping provider"
|
507 |
msgstr "Nach Versandanbieter filtern"
|
508 |
|
509 |
-
#:
|
510 |
-
|
511 |
-
|
|
|
|
|
512 |
|
513 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
514 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:429
|
515 |
msgid "General Settings"
|
516 |
msgstr "Allgemeine Einstellungen"
|
517 |
|
518 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
519 |
msgid "Global"
|
520 |
msgstr "Global"
|
521 |
|
522 |
-
#: includes/class-wc-
|
523 |
-
|
524 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
525 |
|
526 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
527 |
msgid "Headers background color"
|
528 |
-
msgstr "
|
529 |
|
530 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
531 |
msgid "Headers font color"
|
532 |
msgstr ""
|
533 |
"Schriftfarbe der Überschriften\n"
|
534 |
|
535 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
536 |
msgid "Headers font size"
|
537 |
msgstr ""
|
538 |
"Schriftgröße der Überschriften\n"
|
539 |
|
540 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
541 |
msgid "Headers font weight"
|
542 |
-
msgstr "
|
543 |
|
544 |
-
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:
|
545 |
msgid ""
|
546 |
"Hi there. we thought you'd like to know that the shipment tracking for your "
|
547 |
"recent order from {site_title} has been updated."
|
@@ -549,7 +649,16 @@ msgstr ""
|
|
549 |
"Hallo. Wir dachten, Sie möchten wissen, dass die Sendungsverfolgung für Ihre "
|
550 |
"letzte Bestellung von {site_title} aktualisiert wurde.\n"
|
551 |
|
552 |
-
#: includes/customizer/class-wc-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
553 |
msgid ""
|
554 |
"Hi there. we thought you'd like to know that your recent order from "
|
555 |
"{site_title} has been partially shipped."
|
@@ -557,58 +666,133 @@ msgstr ""
|
|
557 |
"Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
|
558 |
"{site_title} teilweise versendet wurde.\n"
|
559 |
|
560 |
-
#: includes/class-wc-
|
561 |
-
|
562 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
563 |
msgid "hide details"
|
564 |
msgstr ""
|
565 |
"Details ausblenden\n"
|
566 |
|
567 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
568 |
msgid "Hide Table Headers"
|
569 |
msgstr ""
|
570 |
"Tabellenüberschriften ausblenden\n"
|
571 |
|
572 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
|
|
573 |
#| msgid "Hide the ship date"
|
574 |
msgid "Hide the shipped date"
|
575 |
-
msgstr "
|
|
|
576 |
|
577 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
578 |
msgid "Hide Tracking Header"
|
579 |
msgstr "Tracking-Header ausblenden"
|
580 |
|
581 |
-
#: includes/
|
582 |
-
msgid "How to
|
583 |
-
msgstr "Wie
|
584 |
-
|
585 |
-
#. Author URI of the plugin
|
586 |
-
msgid "https://www.zorem.com"
|
587 |
-
msgstr "https://www.zorem.com"
|
588 |
|
589 |
-
|
590 |
-
msgid "
|
591 |
-
|
|
|
|
|
|
|
|
|
|
|
592 |
|
593 |
-
#: includes/views/admin_options_bulk_upload.php:
|
594 |
msgid "Import in Progress"
|
595 |
msgstr "Import in Bearbeitung"
|
596 |
|
597 |
-
#: includes/
|
598 |
-
|
599 |
-
|
600 |
-
|
601 |
-
#: includes/
|
602 |
-
|
603 |
-
|
604 |
-
|
605 |
|
606 |
-
#: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:
|
607 |
msgid "Invalid order ID."
|
608 |
msgstr ""
|
609 |
"Ungültige Bestellnummer.\n"
|
610 |
|
611 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
612 |
msgid ""
|
613 |
"Keep unchecked for the tracking info to be added to any existing tracking "
|
614 |
"info added to the orders."
|
@@ -617,98 +801,179 @@ msgstr ""
|
|
617 |
"Informationen zu den vorhandenen Tracking-Informationen hinzugefügt werden, "
|
618 |
"die den Bestellungen hinzugefügt wurden."
|
619 |
|
620 |
-
#: includes/class-wc-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
621 |
msgid "License"
|
622 |
msgstr "Lizenz"
|
623 |
|
624 |
-
#: includes/views/admin_options_osm.php:
|
|
|
|
|
625 |
msgid "Light Font"
|
626 |
msgstr ""
|
627 |
"Leichte Schrift\n"
|
628 |
|
629 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
|
|
630 |
msgid "Mark as Completed?"
|
631 |
msgstr "Als erledigt markieren?"
|
632 |
|
633 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
634 |
msgid "Mark as Shipped"
|
635 |
msgstr "Als versandt markieren"
|
636 |
|
637 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
|
|
638 |
msgid "Mark as Shipped?"
|
639 |
msgstr "Als versandt markieren?"
|
640 |
|
641 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
642 |
msgid "Mark order as delivered"
|
643 |
msgstr "Bestellung als geliefert markieren"
|
644 |
|
645 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
|
|
646 |
msgid "Mark order as:"
|
647 |
msgstr "Bestellung markieren als:"
|
648 |
|
649 |
-
#: includes/customizer/class-
|
650 |
msgid "Mockup Order"
|
651 |
-
msgstr "
|
652 |
|
653 |
-
#: includes/class-
|
654 |
-
|
|
|
|
|
|
|
655 |
msgid "more info"
|
656 |
msgstr ""
|
657 |
"Mehr Info\n"
|
658 |
|
659 |
-
#: includes/
|
660 |
-
msgid "
|
661 |
-
|
662 |
-
|
663 |
-
|
664 |
-
|
665 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
666 |
|
667 |
#: includes/class-wc-advanced-shipment-tracking-admin.php:1030
|
668 |
-
msgid "
|
669 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
670 |
|
671 |
#. %s: Order ID.
|
672 |
-
#: templates/emails/wcast-email-order-details.php:
|
673 |
#, php-format
|
674 |
msgid "Order number: %s"
|
675 |
msgstr ""
|
676 |
"Bestellnummer:% s\n"
|
677 |
|
678 |
-
#: includes/class-
|
679 |
-
|
680 |
-
|
681 |
-
msgid "Order Statuses"
|
682 |
-
msgstr "Bestellstatus"
|
683 |
|
684 |
-
|
685 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
686 |
-
#: includes/class-wc-advanced-shipment-tracking.php:1269
|
687 |
#, php-format
|
688 |
-
|
689 |
-
msgid "Order was shipped with %1$s and tracking number is: %2$s"
|
690 |
msgstr ""
|
691 |
-
"Die Bestellung wurde mit
|
692 |
-
|
|
|
|
|
|
|
693 |
|
694 |
-
#: includes/
|
695 |
msgid "Other"
|
696 |
msgstr "Andere"
|
697 |
|
698 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
699 |
msgid "Partial Shipped"
|
700 |
msgstr "Teilweise versandt"
|
701 |
|
702 |
-
#: includes/class-wc-advanced-shipment-tracking-
|
703 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:
|
704 |
-
#: includes/class-wc-
|
705 |
-
#: includes/
|
706 |
msgid "Partially Shipped"
|
707 |
msgstr ""
|
708 |
"zum Teil versandt\n"
|
709 |
|
710 |
-
|
711 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:135
|
712 |
#, php-format
|
713 |
msgid "Partially Shipped <span class=\"count\">(%s)</span>"
|
714 |
msgid_plural "Partially Shipped <span class=\"count\">(%s)</span>"
|
@@ -717,175 +982,289 @@ msgstr[0] ""
|
|
717 |
msgstr[1] ""
|
718 |
"Teilweise versandt <span class=\"count\">(%s)</span>\n"
|
719 |
|
720 |
-
#: includes/class-wc-advanced-shipment-tracking-
|
721 |
-
|
722 |
-
"
|
723 |
-
"
|
724 |
-
msgstr ""
|
725 |
-
"Integration von PDF-Rechnungen für das WooCommerce-Plugin für PDF-Rechnungen "
|
726 |
-
"und Lieferscheine Von Ewout Fernhout"
|
727 |
-
|
728 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:624
|
729 |
-
msgid ""
|
730 |
-
"PDF invoices integration for WooCommerce PDF Invoices plugin By Bas Elbers"
|
731 |
-
msgstr ""
|
732 |
-
"Integration von PDF-Rechnungen für WooCommerce PDF-Rechnungs-Plugin Von Bas "
|
733 |
-
"Elbers"
|
734 |
|
735 |
-
|
736 |
-
#: woocommerce-advanced-shipment-tracking.php:181
|
737 |
#, php-format
|
738 |
msgid ""
|
739 |
-
"Please install and activate %
|
740 |
-
"
|
741 |
-
msgstr ""
|
742 |
-
|
743 |
-
|
744 |
-
|
745 |
-
|
746 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
747 |
msgid "Please select order to preview."
|
748 |
msgstr ""
|
749 |
"Bitte wählen Sie eine Bestellung aus, um eine Vorschau anzuzeigen.\n"
|
750 |
|
751 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
752 |
msgid "Please upload a valid CSV file."
|
753 |
msgstr "Please upload a valid CSV file."
|
754 |
|
755 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
756 |
msgid "Preview:"
|
757 |
msgstr "Vorschau:"
|
758 |
|
759 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
760 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:
|
761 |
msgid "Product Code:"
|
762 |
msgstr "Produktcode:"
|
763 |
|
764 |
-
#: includes/
|
765 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
766 |
-
#:
|
767 |
-
#: templates/
|
|
|
768 |
msgid "Provider"
|
769 |
msgstr "Anbieter"
|
770 |
|
771 |
-
#:
|
772 |
-
#: templates/
|
773 |
-
#: templates/myaccount/tracking-info.php:198
|
774 |
msgid "Provider Name"
|
775 |
msgstr "Anbietername"
|
776 |
|
777 |
-
#: includes/views/admin_options_shipping_provider.php:
|
778 |
msgid "Providers Added"
|
779 |
msgstr "Anbieter hinzugefügt"
|
780 |
|
781 |
-
#: includes/views/admin_options_shipping_provider.php:
|
782 |
msgid "Providers Deleted"
|
783 |
msgstr "Anbieter gelöscht"
|
784 |
|
785 |
-
#: includes/views/admin_options_shipping_provider.php:
|
786 |
msgid "Providers Updated"
|
787 |
msgstr "Anbieter aktualisiert"
|
788 |
|
789 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
790 |
msgid "Really delete this entry? This will not be undo."
|
791 |
msgstr "Diesen Eintrag wirklich löschen? Dies wird nicht rückgängig gemacht."
|
792 |
|
793 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
794 |
msgid "Rename the “Completed” Order status label to “Shipped”"
|
795 |
-
msgstr "
|
796 |
|
797 |
-
#: includes/views/admin_options_bulk_upload.php:
|
798 |
msgid "Replace tracking information?"
|
799 |
msgstr "Tracking-Informationen ersetzen?"
|
800 |
|
801 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
802 |
msgid "Reset"
|
803 |
msgstr "Zurücksetzen"
|
804 |
|
805 |
-
#: includes/views/admin_options_shipping_provider.php:
|
806 |
msgid ""
|
807 |
"Reset providers database, it will reset all your shipping provider database"
|
808 |
msgstr ""
|
809 |
"Anbieter-Datenbank zurücksetzen, setzt Ihre gesamte Versandanbieter-"
|
810 |
"Datenbank zurück"
|
811 |
|
812 |
-
#: includes/
|
813 |
-
#: includes/
|
814 |
-
#: includes/
|
815 |
-
#: includes/
|
816 |
-
|
817 |
-
|
|
|
|
|
|
|
818 |
|
819 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
820 |
msgid "Save Tracking"
|
821 |
msgstr "Tracking speichern"
|
822 |
|
823 |
-
#: includes/views/admin_options_shipping_provider.php:
|
824 |
msgid "Search by provider / country"
|
825 |
msgstr ""
|
826 |
"Suche nach Anbieter / Land\n"
|
827 |
|
828 |
-
#: includes/customizer/class-wc-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
829 |
msgid "Select email type"
|
830 |
-
msgstr "
|
831 |
|
832 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
833 |
msgid "Select Provider"
|
834 |
msgstr "Wählen Sie Provider aus"
|
835 |
|
836 |
-
#: includes/customizer/class-wc-
|
|
|
|
|
|
|
|
|
837 |
msgid "Select Template"
|
838 |
msgstr ""
|
839 |
"Vorlage auswählen\n"
|
840 |
|
841 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
842 |
msgid "Send Email"
|
843 |
msgstr ""
|
844 |
"E-Mail senden\n"
|
845 |
|
846 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
847 |
msgid ""
|
848 |
"Set the \"mark as shipped\" option checked when adding tracking info to "
|
849 |
"orders"
|
850 |
msgstr ""
|
851 |
-
"Setzen Sie die Option \"als versandt markieren\", wenn Sie Tracking-"
|
852 |
-
"Informationen zu Bestellungen hinzufügen"
|
853 |
|
854 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
855 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
856 |
-
#: includes/views/admin_options_settings.php:
|
857 |
msgid "Settings"
|
858 |
-
msgstr "
|
859 |
|
860 |
-
#: includes/views/admin_options_bulk_upload.php:
|
861 |
msgid "Settings Saved."
|
862 |
msgstr "Einstellungen gespeichert."
|
863 |
|
864 |
-
|
865 |
-
#:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
866 |
#, php-format
|
867 |
msgid "Shipment status changed to %s"
|
868 |
msgstr "Der Sendungsstatus wurde in% s geändert"
|
869 |
|
870 |
-
#: includes/class-
|
871 |
-
|
872 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
873 |
msgid "Shipment Tracking"
|
874 |
msgstr "Sendungsverfolgung"
|
875 |
|
876 |
-
#: includes/
|
877 |
-
|
878 |
-
|
879 |
-
|
880 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:849
|
881 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:945
|
882 |
-
#: includes/class-wc-advanced-shipment-tracking.php:467
|
883 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:263
|
884 |
msgid "Shipped"
|
885 |
msgstr "Versendet"
|
886 |
|
887 |
-
|
888 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:283
|
889 |
#, php-format
|
890 |
msgid "Shipped <span class=\"count\">(%s)</span>"
|
891 |
msgid_plural "Shipped <span class=\"count\">(%s)</span>"
|
@@ -894,86 +1273,140 @@ msgstr[0] ""
|
|
894 |
msgstr[1] ""
|
895 |
"Versand <span class=\"count\">(%s)</span>\n"
|
896 |
|
897 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
898 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
899 |
msgid "Shipped Date"
|
900 |
msgstr "Versanddatum"
|
901 |
|
902 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
|
|
903 |
#| msgid "Ship date header text"
|
904 |
msgid "Shipped date header text"
|
905 |
-
msgstr "
|
|
|
906 |
|
907 |
#. 1: shipping date
|
908 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
909 |
#, php-format
|
910 |
msgid "Shipped on %s"
|
911 |
msgstr "Versand auf% s"
|
912 |
|
913 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
914 |
msgid "Shipped on {ship_date} via {shipping_provider} - {tracking_number_link}"
|
915 |
msgstr ""
|
916 |
"Versand am {Schiffsdatum} über {Versandanbieter} - {Tracking-Nummer_Link}"
|
917 |
|
918 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
919 |
msgid "Shipped Order"
|
920 |
msgstr "Versandbestellung"
|
921 |
|
922 |
-
#: includes/views/admin_options_shipping_provider.php:
|
|
|
923 |
msgid "Shipping Country"
|
924 |
msgstr ""
|
925 |
"Lieferungsland\n"
|
926 |
|
927 |
#: includes/views/admin_options_shipping_provider.php:58
|
|
|
928 |
msgid "Shipping Provider"
|
929 |
msgstr "Versandanbieter"
|
930 |
|
931 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
932 |
msgid "Shipping provider header text"
|
933 |
-
msgstr "
|
934 |
|
935 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
936 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:
|
937 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:
|
938 |
msgid "Shipping Provider:"
|
939 |
msgstr "Versandanbieter:"
|
940 |
|
941 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
942 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
943 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
|
|
|
|
944 |
msgid "Shipping Providers"
|
945 |
msgstr "Versandanbieter"
|
946 |
|
947 |
-
#: includes/views/admin_options_shipping_provider.php:
|
948 |
-
msgid "Shipping Providers & Carriers"
|
949 |
-
msgstr "Versanddienstleister & Spediteure"
|
950 |
-
|
951 |
-
#: includes/views/admin_options_shipping_provider.php:120
|
952 |
msgid "Shipping providers database reset successfully."
|
953 |
msgstr "Datenbank der Versandanbieter erfolgreich zurückgesetzt."
|
954 |
|
955 |
-
#: includes/customizer/class-wc-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
956 |
msgid "Show bottom border"
|
957 |
msgstr ""
|
958 |
"Zeige unteren Rand\n"
|
959 |
|
960 |
-
#: includes/customizer/class-wc-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
961 |
msgid "Simple Layout Design"
|
962 |
msgstr ""
|
963 |
"Einfaches Layout Design\n"
|
964 |
|
965 |
-
#: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:
|
966 |
msgid "Special character not allowd in tracking number"
|
967 |
msgstr ""
|
968 |
"Sonderzeichen in Tracking-Nummer nicht zulässig\n"
|
969 |
|
970 |
-
#: includes/views/
|
971 |
-
#: includes/views/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
972 |
msgid "Sync Shipping Providers"
|
973 |
msgstr ""
|
974 |
"Versandanbieter synchronisieren\n"
|
975 |
|
976 |
-
#: includes/views/admin_options_shipping_provider.php:
|
977 |
msgid ""
|
978 |
"Syncing the shipping providers list add or updates the pre-set shipping "
|
979 |
"providers and will not effect custom shipping providers."
|
@@ -982,154 +1415,331 @@ msgstr ""
|
|
982 |
"voreingestellten Versandanbieter hinzugefügt oder aktualisiert. "
|
983 |
"Benutzerdefinierte Versandanbieter werden davon nicht betroffen.\n"
|
984 |
|
985 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
986 |
msgid "Table Content"
|
987 |
msgstr ""
|
988 |
"Tabelleninhalt\n"
|
989 |
|
990 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
991 |
msgid "Table Design Options"
|
992 |
-
msgstr "
|
993 |
|
994 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
|
|
995 |
#| msgid "Table Headers"
|
996 |
msgid "Table Header"
|
997 |
-
msgstr "
|
|
|
998 |
|
999 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1000 |
msgid "Table Layout"
|
1001 |
msgstr ""
|
1002 |
"Tabellenlayout\n"
|
1003 |
|
1004 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1005 |
msgid "Table Options"
|
1006 |
-
msgstr "
|
1007 |
|
1008 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1009 |
msgid "Text align"
|
1010 |
-
msgstr "
|
1011 |
|
1012 |
-
#: includes/
|
|
|
1013 |
msgid ""
|
1014 |
-
"The custom
|
1015 |
-
"
|
1016 |
-
"notifications"
|
1017 |
msgstr ""
|
1018 |
-
"Der benutzerdefinierte
|
1019 |
-
"
|
1020 |
-
"
|
1021 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1022 |
|
1023 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1024 |
msgid "There are some issue with sync, Please Retry."
|
1025 |
msgstr ""
|
1026 |
"Es gibt ein Problem mit der Synchronisierung. Bitte versuchen Sie es erneut."
|
1027 |
"\n"
|
1028 |
|
1029 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
1030 |
msgid "This browser does not support HTML5."
|
1031 |
msgstr "Dieser Browser unterstützt HTML5 nicht."
|
1032 |
|
1033 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
1034 |
-
|
1035 |
-
|
1036 |
-
|
1037 |
-
|
1038 |
-
|
1039 |
-
|
1040 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1041 |
msgid "Track"
|
1042 |
msgstr "Verfolgen"
|
1043 |
|
1044 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1045 |
msgid "Track Button"
|
1046 |
-
msgstr "
|
1047 |
|
1048 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1049 |
msgid "Track Header"
|
1050 |
-
msgstr "
|
1051 |
|
1052 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1053 |
msgid "Track header text"
|
1054 |
msgstr ""
|
1055 |
"Verfolgen Sie den Header-Text\n"
|
1056 |
|
1057 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
1058 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
1059 |
msgid "Track Shipment"
|
1060 |
msgstr ""
|
1061 |
"Sendung verfolgen\n"
|
1062 |
|
1063 |
-
#: includes/
|
1064 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1065 |
msgid "Tracking display layout"
|
1066 |
msgstr "Tracking-Display-Layout"
|
1067 |
|
1068 |
-
#: includes/
|
|
|
|
|
|
|
|
|
1069 |
msgid "Tracking Display Position"
|
1070 |
msgstr "Verfolgung der Anzeigeposition"
|
1071 |
|
1072 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1073 |
msgid "Tracking Header text"
|
1074 |
msgstr ""
|
1075 |
"Tracking-Header-Text\n"
|
1076 |
|
1077 |
-
#: includes/customizer/class-wcast-customizer.php:
|
|
|
1078 |
msgid "Tracking info display"
|
1079 |
msgstr ""
|
1080 |
"Tracking-Info-Anzeige\n"
|
1081 |
|
1082 |
-
|
1083 |
-
|
|
|
|
|
|
|
1084 |
#, php-format
|
1085 |
-
#| msgid ""
|
1086 |
-
#| "Tracking info was deleted for tracking provider %s with tracking number %s"
|
1087 |
msgid ""
|
1088 |
-
"Tracking info was deleted for tracking provider %
|
1089 |
-
"%2$s"
|
1090 |
msgstr ""
|
1091 |
-
"Tracking-Informationen für Tracking-Anbieter
|
1092 |
-
"
|
1093 |
|
1094 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1095 |
msgid "Tracking Information"
|
1096 |
msgstr "Tracking-Informationen"
|
1097 |
|
1098 |
-
#: includes/
|
1099 |
-
|
1100 |
-
|
1101 |
-
|
|
|
|
|
|
|
|
|
|
|
1102 |
msgid "Tracking Number"
|
1103 |
msgstr "Auftragsnummer, Frachtnummer, Sendungscode"
|
1104 |
|
1105 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
|
|
1106 |
#| msgid "Tracking Number header text"
|
1107 |
msgid "Tracking number header text"
|
1108 |
-
msgstr "
|
|
|
1109 |
|
1110 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
1111 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:
|
1112 |
msgid "Tracking number:"
|
1113 |
msgstr "Auftragsnummer, Frachtnummer, Sendungscode:"
|
1114 |
|
1115 |
-
#: includes/class-wc-advanced-shipment-tracking-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1116 |
msgid "TrackShip"
|
1117 |
msgstr "TrackShip"
|
1118 |
|
1119 |
-
#: includes/views/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1120 |
msgid "Update"
|
1121 |
msgstr "Aktualisieren"
|
1122 |
|
1123 |
-
#: includes/class-wc-advanced-shipment-tracking-
|
1124 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:
|
1125 |
-
#: includes/class-wc-
|
1126 |
-
#: includes/
|
1127 |
msgid "Updated Tracking"
|
1128 |
msgstr ""
|
1129 |
"Aktualisiertes Tracking\n"
|
1130 |
|
1131 |
-
|
1132 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:120
|
1133 |
#, php-format
|
1134 |
msgid "Updated Tracking <span class=\"count\">(%s)</span>"
|
1135 |
msgid_plural "Updated Tracking <span class=\"count\">(%s)</span>"
|
@@ -1138,15 +1748,33 @@ msgstr[0] ""
|
|
1138 |
msgstr[1] ""
|
1139 |
"Aktualisiertes Tracking <span class=\"count\">(%s)</span>\n"
|
1140 |
|
1141 |
-
#: includes/views/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1142 |
msgid "Upload a CSV file from your computer:"
|
1143 |
msgstr "Laden Sie eine CSV-Datei von Ihrem Computer hoch:"
|
1144 |
|
1145 |
-
#: includes/views/admin_options_bulk_upload.php:
|
1146 |
msgid "Upload again"
|
1147 |
msgstr "Erneut hochladen"
|
1148 |
|
1149 |
-
#: includes/views/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1150 |
msgid ""
|
1151 |
"Use our CSV Import Tool to bulk Import tracking info to orders from a CSV "
|
1152 |
"file"
|
@@ -1154,25 +1782,49 @@ msgstr ""
|
|
1154 |
"Verwenden Sie unser CSV-Import-Tool, um Tracking-Informationen in "
|
1155 |
"Bestellungen aus einer CSV-Datei zu importieren"
|
1156 |
|
1157 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
1158 |
msgid "Use tracking number as a link"
|
1159 |
msgstr ""
|
1160 |
"Verwenden Sie die Tracking-Nummer als Link\n"
|
1161 |
|
1162 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:
|
1163 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:
|
1164 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:
|
1165 |
-
#: includes/views/admin_options_bulk_upload.php:
|
1166 |
msgid "view details"
|
1167 |
msgstr ""
|
1168 |
"Details anzeigen\n"
|
1169 |
|
1170 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
1171 |
msgid "View Orders"
|
1172 |
msgstr "Bestellungen anzeigen"
|
1173 |
|
1174 |
-
|
1175 |
-
#:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1176 |
#, php-format
|
1177 |
msgid ""
|
1178 |
"We detected %s orders that use the Partially Shipped order status, You can "
|
@@ -1181,23 +1833,47 @@ msgstr ""
|
|
1181 |
"Wir haben% s Bestellungen festgestellt, die den Status \"Teilversand\" "
|
1182 |
"verwenden. Sie können diese Bestellungen einem anderen Status zuweisen"
|
1183 |
|
1184 |
-
#:
|
1185 |
-
|
1186 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1187 |
|
1188 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
1189 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
1190 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:
|
1191 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:
|
1192 |
msgid "Y-m-d"
|
1193 |
-
msgstr "
|
1194 |
|
1195 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1196 |
msgid "You can upload only csv file."
|
1197 |
msgstr "Sie können nur CSV-Dateien hochladen."
|
1198 |
|
1199 |
-
|
1200 |
-
#: includes/views/admin_options_shipping_provider.php:
|
1201 |
msgid ""
|
1202 |
"You can use the variables %number%, %postal_code% and %country_code% in the "
|
1203 |
"URL, for more info, check our "
|
@@ -1205,32 +1881,102 @@ msgstr ""
|
|
1205 |
"You can use the variables %number%, %postal_code% and %country_code% in the "
|
1206 |
"URL, for more info, check our "
|
1207 |
|
1208 |
-
|
1209 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:1990
|
1210 |
#, php-format
|
1211 |
msgid "You did not create any %s shipping providers yet."
|
1212 |
msgstr "Sie haben noch keine% s Versandanbieter erstellt."
|
1213 |
|
1214 |
-
|
1215 |
-
#: includes/
|
1216 |
#, php-format
|
1217 |
msgid "You don't have any %s shipping providers."
|
1218 |
msgstr "Sie haben keine% s Versandanbieter."
|
1219 |
|
1220 |
-
#: includes/
|
1221 |
-
|
1222 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1223 |
|
1224 |
-
#: includes/customizer/class-wc-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1225 |
msgid "Your {site_title} order is now partially shipped"
|
1226 |
msgstr ""
|
1227 |
"Ihre {site_title} Bestellung wird jetzt teilweise versendet\n"
|
1228 |
|
1229 |
-
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:
|
1230 |
msgid "Your {site_title} order is now updated tracking"
|
1231 |
msgstr ""
|
1232 |
"Ihre {site_title} Bestellung wird jetzt nachverfolgt\n"
|
1233 |
-
|
1234 |
-
#. Author of the plugin
|
1235 |
-
msgid "zorem"
|
1236 |
-
msgstr "zorem"
|
3 |
"Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
"POT-Creation-Date: 2020-11-11 09:34+0000\n"
|
6 |
+
"PO-Revision-Date: 2020-12-07 09:40+0000\n"
|
7 |
+
"Last-Translator: John\n"
|
8 |
"Language-Team: German\n"
|
9 |
"Language: de_DE\n"
|
10 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
12 |
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
"Content-Transfer-Encoding: 8bit\n"
|
14 |
"X-Generator: Loco https://localise.biz/\n"
|
15 |
+
"X-Loco-Version: 2.4.4; wp-5.5.3"
|
16 |
|
17 |
+
#: includes/views/admin_options_shipping_provider.php:82
|
18 |
+
#: includes/views/admin_options_shipping_provider.php:130
|
19 |
#, php-format
|
20 |
msgid "<a href=\"%s\" target=\"blank\">documentation</a>"
|
21 |
msgstr "Dokumentation"
|
22 |
|
23 |
+
#: includes/views/admin_options_addons.php:139
|
24 |
+
#: includes/views/trackship_sidebar.php:14
|
25 |
+
msgid "Account Dashboard"
|
26 |
+
msgstr "Benutzerkonto Übersicht"
|
27 |
+
|
28 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1744
|
29 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1823
|
30 |
msgid "Actions"
|
31 |
msgstr "Aktionen"
|
32 |
|
33 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1745
|
34 |
+
msgid "Active"
|
35 |
+
msgstr "Aktiv"
|
36 |
|
37 |
+
#: includes/views/admin_options_shipping_provider.php:22
|
38 |
+
msgid "Active Providers"
|
|
|
|
|
39 |
msgstr ""
|
|
|
|
|
|
|
40 |
|
41 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:386
|
42 |
+
#: includes/views/admin_tracking_page_settings.php:71
|
43 |
+
msgid "Add a link to the Shipping provider page"
|
44 |
+
msgstr "Fügen Sie einen Link zur Seite Versandanbieter hinzu"
|
45 |
+
|
46 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1728
|
47 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1904
|
48 |
msgid "Add Custom Provider"
|
49 |
msgstr "Benutzerdefinierten Anbieter hinzufügen"
|
50 |
|
51 |
+
#: includes/views/admin_options_shipping_provider.php:51
|
52 |
+
msgid "Add Custom Shipping Provider"
|
53 |
+
msgstr "Fügen Sie einen benutzerdefinierten Versandanbieter hinzu"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
|
55 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1647
|
56 |
msgid "Add Tracking"
|
57 |
msgstr "Add Tracking"
|
58 |
|
59 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:429
|
60 |
msgid "Add Tracking - order\t"
|
61 |
msgstr "Tracking hinzufügen - Bestellung"
|
62 |
|
63 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1019
|
64 |
+
msgid "Add Tracking action "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
65 |
msgstr ""
|
|
|
|
|
66 |
|
67 |
+
#: includes/class-wc-advanced-shipment-tracking.php:328
|
68 |
+
msgid "Add Tracking Info"
|
69 |
+
msgstr "Tracking-Info hinzufügen"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
70 |
|
71 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:312
|
72 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:334
|
73 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:429
|
74 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:433
|
75 |
+
#: includes/views/admin_options_addons.php:115
|
76 |
+
#: includes/views/admin_options_addons.php:121
|
77 |
+
msgid "Add-ons"
|
78 |
+
msgstr "Add-ons"
|
|
|
79 |
|
80 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:274
|
81 |
msgid "Additional text after header"
|
82 |
msgstr "Zusätzlicher Text nach Kopfzeile"
|
83 |
|
84 |
+
#: includes/views/admin_status_notifications.php:141
|
85 |
+
msgid "Admin Notifications"
|
86 |
+
msgstr "Admin-Benachrichtigungen"
|
87 |
+
|
88 |
#. Name of the plugin
|
89 |
msgid "Advanced Shipment Tracking for WooCommerce"
|
90 |
+
msgstr ""
|
91 |
|
92 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:217
|
93 |
msgid "After Order Details"
|
94 |
msgstr "Nach Auftragsdetails"
|
95 |
|
96 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1044
|
|
|
|
|
|
|
|
|
97 |
msgid "API Date Format"
|
98 |
msgstr "API-Datumsformat"
|
99 |
|
100 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1739
|
101 |
+
#: includes/views/admin_options_shipping_provider.php:109
|
102 |
msgid "API Name"
|
103 |
msgstr "API-Name"
|
104 |
|
105 |
+
#: includes/views/admin_status_notifications.php:230
|
106 |
+
msgid "As it Happens"
|
107 |
+
msgstr "Wie es passiert"
|
108 |
+
|
109 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:470
|
110 |
+
msgid ""
|
111 |
+
"Automatically set the Order Status to Delivered when the shipment is "
|
112 |
+
"delivered "
|
113 |
+
msgstr ""
|
114 |
+
"Setzen Sie den Bestellstatus automatisch auf \"Geliefert\", wenn die Sendung "
|
115 |
+
"geliefert wird"
|
116 |
+
|
117 |
+
#: includes/views/admin_trackship_dashboard.php:33
|
118 |
+
msgid "Automation"
|
119 |
+
msgstr "Automatisierung"
|
120 |
+
|
121 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:764
|
122 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:846
|
123 |
+
#: includes/customizer/class-wcast-customizer.php:104
|
124 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:126
|
125 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:195
|
126 |
+
#: includes/views/admin_status_notifications.php:82
|
127 |
+
msgid "Available For Pickup"
|
128 |
+
msgstr ""
|
129 |
+
"Zur Abholung bereit\n"
|
130 |
+
|
131 |
+
#. %s: list of placeholders
|
132 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:205
|
133 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:229
|
134 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:274
|
135 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:205
|
136 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:229
|
137 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:274
|
138 |
+
#: includes/customizer/class-wc-email-customizer.php:246
|
139 |
+
#: includes/customizer/class-wc-email-customizer.php:270
|
140 |
+
#: includes/customizer/class-wc-email-customizer.php:315
|
141 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:204
|
142 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:228
|
143 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:273
|
144 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:258
|
145 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:282
|
146 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:327
|
147 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:206
|
148 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:230
|
149 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:275
|
150 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:204
|
151 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:228
|
152 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:272
|
153 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:357
|
154 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:202
|
155 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:226
|
156 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:251
|
157 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:271
|
158 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:204
|
159 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:228
|
160 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:253
|
161 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:273
|
162 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:207
|
163 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:231
|
164 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:276
|
165 |
+
#: includes/emails/class-shipment-delivered-email.php:274
|
166 |
+
#: includes/emails/class-shipment-delivered-email.php:283
|
167 |
+
#: includes/views/admin_status_notifications.php:212
|
168 |
msgid "Available variables:"
|
169 |
msgstr "Verfügbare Variablen:"
|
170 |
|
171 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:216
|
172 |
msgid "Before Order Details"
|
173 |
msgstr "Vor der Bestellung Details"
|
174 |
|
175 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:550
|
176 |
msgid "Border color"
|
177 |
msgstr "Randfarbe"
|
178 |
|
179 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:567
|
180 |
msgid "Border size"
|
181 |
msgstr ""
|
182 |
"Rahmengrösse\n"
|
183 |
|
184 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:427
|
185 |
msgid "Bottom border color"
|
186 |
msgstr ""
|
187 |
"Farbe des unteren Randes\n"
|
188 |
|
189 |
+
#: includes/views/admin_options_shipping_provider.php:23
|
190 |
+
msgid "Browse Providers"
|
191 |
+
msgstr ""
|
192 |
+
|
193 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:960
|
194 |
msgid "Button color"
|
195 |
+
msgstr ""
|
196 |
|
197 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:977
|
198 |
msgid "Button font color"
|
199 |
+
msgstr ""
|
200 |
|
201 |
+
#: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:388
|
202 |
msgid "Cannot create existing order shipment tracking."
|
203 |
msgstr ""
|
204 |
"Bestehende Sendungsverfolgung für Bestellungen kann nicht erstellt werden.\n"
|
205 |
|
206 |
+
#: includes/views/admin_status_notifications.php:130
|
207 |
+
msgid "Carrier attempted to deliver the package but failed."
|
208 |
+
msgstr ""
|
209 |
+
"Der Spediteur hat versucht, das Paket zu liefern, ist jedoch fehlgeschlagen."
|
210 |
+
|
211 |
+
#: includes/views/admin_status_notifications.php:97
|
212 |
+
msgid "Carrier is about to deliver the shipment."
|
213 |
+
msgstr "Der Spediteur ist im Begriff, die Sendung zu liefern."
|
214 |
+
|
215 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:769
|
216 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:867
|
217 |
+
msgid "Carrier Unsupported"
|
218 |
+
msgstr "Träger nicht unterstützt"
|
219 |
+
|
220 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1683
|
221 |
msgid "Change order status to"
|
222 |
msgstr "Ändern Sie den Auftragsstatus in"
|
223 |
|
224 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:358
|
225 |
msgid "Change status to shipped"
|
226 |
msgstr ""
|
227 |
"Ändern Sie den Status in \"Versand\"\n"
|
228 |
|
229 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1045
|
230 |
msgid "Choose for which Order status to display"
|
231 |
+
msgstr ""
|
232 |
+
|
233 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1020
|
234 |
+
msgid "Choose for which Order status to display Add Tracking action button"
|
235 |
+
msgstr ""
|
236 |
|
237 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1012
|
238 |
+
msgid "Choose on which order emails to include the shipment tracking info"
|
239 |
+
msgstr ""
|
240 |
+
|
241 |
+
#: includes/views/admin_options_bulk_upload.php:34
|
242 |
msgid "Choose the Shipped Date format"
|
243 |
msgstr "Wählen Sie das Versanddatum-Format"
|
244 |
|
245 |
+
#: includes/emails/class-shipment-delivered-email.php:298
|
246 |
+
msgid "Click Here"
|
247 |
+
msgstr ""
|
248 |
+
"Klick hier\n"
|
249 |
+
|
250 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:420
|
251 |
msgid "Completed"
|
252 |
msgstr "vollendet, fertiggestellt"
|
253 |
|
254 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:599
|
255 |
+
#: includes/views/trackship_sidebar.php:13
|
256 |
+
msgid "Connected"
|
257 |
+
msgstr ""
|
258 |
+
"In Verbindung gebracht\n"
|
259 |
+
|
260 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:337
|
261 |
msgid "Content"
|
262 |
msgstr "Inhalt"
|
263 |
|
264 |
#: includes/customizer/class-wc-tracking-info-customizer.php:807
|
265 |
msgid "Content Background color"
|
266 |
+
msgstr ""
|
267 |
|
268 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:392
|
269 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:824
|
270 |
msgid "Content font color"
|
271 |
msgstr ""
|
272 |
"Schriftfarbe des Inhalts\n"
|
273 |
|
274 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:374
|
275 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:841
|
276 |
msgid "Content font size"
|
277 |
msgstr ""
|
278 |
"Schriftgröße des Inhalts\n"
|
279 |
|
280 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:881
|
281 |
msgid "Content font weight"
|
282 |
msgstr ""
|
283 |
"Schriftgröße des Inhalts\n"
|
284 |
|
285 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:859
|
286 |
msgid "Content line height"
|
287 |
msgstr "Höhe der Inhaltszeile"
|
288 |
|
289 |
+
#: includes/views/admin_options_bulk_upload.php:57
|
290 |
msgid "Continue"
|
291 |
msgstr "Fortsetzen"
|
292 |
|
293 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1741
|
294 |
msgid "Country"
|
295 |
msgstr "Land"
|
296 |
|
297 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:308
|
298 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:310
|
299 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:327
|
300 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:411
|
301 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:415
|
302 |
+
#: includes/views/admin_options_bulk_upload.php:11
|
303 |
msgid "CSV Import"
|
304 |
msgstr "CSV-Import"
|
305 |
|
|
|
|
|
|
|
|
|
306 |
#: includes/views/admin_options_shipping_provider.php:61
|
307 |
+
#: includes/views/admin_options_shipping_provider.php:106
|
308 |
msgid "Custom display name"
|
309 |
msgstr "Benutzerdefinierter Anzeigename"
|
310 |
|
311 |
+
#: includes/customizer/class-wcast-customizer.php:73
|
312 |
msgid "Custom order status email"
|
313 |
+
msgstr ""
|
314 |
|
315 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:706
|
316 |
+
#: includes/views/admin_options_settings.php:46
|
317 |
+
msgid "Custom Order Statuses"
|
318 |
+
msgstr "Status der benutzerdefinierten Bestellung"
|
319 |
|
320 |
+
#: includes/views/admin_options_shipping_provider.php:24
|
321 |
+
msgid "Custom Providers"
|
322 |
+
msgstr ""
|
323 |
|
324 |
+
#: includes/views/admin_status_notifications.php:234
|
325 |
+
msgid "Daily Digest on"
|
326 |
+
msgstr "Daily Digest on"
|
|
|
327 |
|
328 |
+
#: includes/views/admin_options_osm.php:37
|
329 |
+
#: includes/views/admin_options_osm.php:80
|
330 |
+
#: includes/views/admin_options_osm.php:120
|
331 |
msgid "Dark Font"
|
332 |
msgstr ""
|
333 |
"Dunkle Schrift\n"
|
334 |
|
335 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:1495
|
336 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:1503
|
337 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:1520
|
338 |
+
msgid "data not available."
|
339 |
+
msgstr ""
|
340 |
+
"keine Daten verfügbar.\n"
|
341 |
+
|
342 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:159
|
343 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:229
|
344 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:233
|
345 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:353
|
346 |
msgid "Data saved successfully."
|
347 |
msgstr "Daten erfolgreich gespeichert."
|
348 |
|
349 |
+
#: includes/class-wc-advanced-shipment-tracking.php:383
|
350 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:466
|
351 |
msgid "Date shipped:"
|
352 |
msgstr "Lieferdatum:"
|
353 |
|
354 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1742
|
355 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1822
|
356 |
+
msgid "Default"
|
357 |
msgstr "Standard"
|
358 |
|
359 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:875
|
360 |
+
msgid "Default \"mark as <span class=\"shipped_label\">completed</span>\""
|
361 |
+
msgstr ""
|
362 |
+
"Standard \"als <span class =\" shipped_label \"> abgeschlossen </ span> "
|
363 |
+
"markieren\""
|
364 |
+
|
365 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:871
|
366 |
+
msgid "Default \"mark as <span class=\"shipped_label\">shipped</span>\""
|
367 |
+
msgstr "Default \"mark as <span class=\"shipped_label\">shipped</span>\""
|
368 |
+
|
369 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:134
|
370 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:179
|
371 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:766
|
372 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:840
|
373 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1671
|
374 |
+
#: includes/customizer/class-wcast-customizer.php:119
|
375 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:127
|
376 |
+
#: includes/customizer/class-wc-email-customizer.php:184
|
377 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:197
|
378 |
+
#: includes/views/admin_status_notifications.php:112
|
379 |
+
#: includes/views/admin_options_osm.php:17
|
380 |
msgid "Delivered"
|
381 |
msgstr "Geliefert"
|
382 |
|
383 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:139
|
384 |
+
#, php-format
|
385 |
+
msgid "Delivered <span class=\"count\">(%s)</span>"
|
386 |
+
msgid_plural "Delivered <span class=\"count\">(%s)</span>"
|
387 |
+
msgstr[0] ""
|
388 |
+
"Geliefert <span class=\"count\">(%s)</span>\n"
|
389 |
+
msgstr[1] ""
|
390 |
+
"Geliefert <span class=\"count\">(%s)</span>\n"
|
391 |
+
|
392 |
+
#: includes/emails/class-shipment-delivered-email.php:32
|
393 |
+
msgid "Delivered order"
|
394 |
+
msgstr ""
|
395 |
+
"Gelieferte Bestellung\n"
|
396 |
+
|
397 |
+
#: includes/views/front/layout1_tracking_details.php:8
|
398 |
+
msgid "Destination Details"
|
399 |
+
msgstr "Zieldetails"
|
400 |
+
|
401 |
+
#: includes/customizer/class-wc-email-customizer.php:389
|
402 |
+
msgid "Display Billing Address"
|
403 |
+
msgstr ""
|
404 |
+
"Rechnungsadresse anzeigen\n"
|
405 |
+
|
406 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1738
|
407 |
msgid "Display Name"
|
408 |
msgstr "Anzeigename"
|
409 |
|
410 |
+
#: includes/customizer/class-wc-email-customizer.php:351
|
411 |
+
msgid "Display order details"
|
412 |
+
msgstr ""
|
413 |
+
"Bestelldetails anzeigen\n"
|
414 |
+
|
415 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:437
|
416 |
+
msgid "Display Shipment Status Filter on Orders admin"
|
417 |
+
msgstr "Sendungsstatusfilter im Auftragsadministrator anzeigen"
|
418 |
+
|
419 |
+
#: includes/customizer/class-wc-email-customizer.php:370
|
420 |
+
msgid "Display Shipping Address"
|
421 |
+
msgstr ""
|
422 |
+
"Lieferadresse anzeigen\n"
|
423 |
+
|
424 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:480
|
425 |
msgid "Display shipping provider image"
|
426 |
msgstr ""
|
427 |
"Bild des Versandanbieters anzeigen\n"
|
428 |
|
429 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:462
|
430 |
msgid "Display shipping provider name"
|
431 |
msgstr ""
|
432 |
"Name des Versandanbieters anzeigen\n"
|
433 |
|
434 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1029
|
435 |
+
msgid "Display Track button on the Orders history list in my-account"
|
436 |
+
msgstr ""
|
437 |
+
|
438 |
+
#: includes/customizer/class-wc-email-customizer.php:333
|
439 |
+
msgid "Display tracking details"
|
440 |
+
msgstr ""
|
441 |
+
"Tracking-Details anzeigen\n"
|
442 |
+
|
443 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:220
|
444 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:339
|
445 |
+
#: includes/views/zorem_admin_bulk_upload_sidebar.php:14
|
446 |
+
msgid "Documentation"
|
447 |
+
msgstr "Dokumentation"
|
448 |
+
|
449 |
+
#: includes/views/zorem_admin_bulk_upload_sidebar.php:13
|
450 |
msgid "Download sample csv"
|
451 |
msgstr "Beispiel-CSV herunterladen"
|
452 |
|
453 |
+
#: includes/views/admin_status_notifications.php:190
|
454 |
+
msgid "E.g. {admin_email}, admin@example.org"
|
455 |
+
msgstr "Z.B. {admin_email}, admin@example.org"
|
456 |
|
457 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:187
|
458 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:187
|
459 |
+
#: includes/customizer/class-wc-email-customizer.php:228
|
460 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:186
|
461 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:240
|
462 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:188
|
463 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:186
|
464 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:189
|
465 |
+
msgid "E.g. {customer.email}, admin@example.org"
|
466 |
+
msgstr "Z.B. {customer.email}, admin@example.org"
|
467 |
+
|
468 |
+
#: includes/emails/class-shipment-delivered-email.php:299
|
469 |
+
msgid "Edit in customizer"
|
470 |
+
msgstr ""
|
471 |
+
"Bearbeiten Sie im Customizer\n"
|
472 |
+
|
473 |
+
#: includes/views/admin_options_shipping_provider.php:95
|
474 |
msgid "Edit Shipping Provider"
|
475 |
msgstr "Versandanbieter bearbeiten"
|
476 |
|
477 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:252
|
478 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:252
|
479 |
+
#: includes/customizer/class-wc-email-customizer.php:294
|
480 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:251
|
481 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:305
|
482 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:253
|
483 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:251
|
484 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:250
|
485 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:252
|
486 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:254
|
487 |
+
#: includes/views/admin_status_notifications.php:206
|
488 |
msgid "Email content"
|
489 |
msgstr "E-Mail-Inhalt"
|
490 |
|
491 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:204
|
492 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:204
|
493 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:203
|
494 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:257
|
495 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:205
|
496 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:206
|
497 |
+
msgid "Email Subject"
|
498 |
+
msgstr "E-Mail Betreff"
|
499 |
|
500 |
+
#: includes/customizer/class-wc-email-customizer.php:176
|
501 |
+
msgid "Email Type"
|
502 |
msgstr ""
|
|
|
503 |
|
504 |
+
#: includes/views/admin_tracking_page_settings.php:10
|
505 |
+
msgid "Enable a tracking page on your store"
|
506 |
+
msgstr "Aktivieren Sie eine Tracking-Seite in Ihrem Shop"
|
507 |
|
508 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:161
|
509 |
+
msgid "Enable Available For Pickup email"
|
510 |
+
msgstr "Aktivieren Sie Verfügbar für Abhol-E-Mail"
|
511 |
|
512 |
+
#: includes/views/admin_options_settings.php:47
|
513 |
+
msgid "Enable custom order statuses to streamline your fulfillment workflow"
|
514 |
+
msgstr ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
515 |
|
516 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:161
|
517 |
+
msgid "Enable Delivered email"
|
518 |
+
msgstr "Aktivieren Sie die zugestellte E-Mail"
|
519 |
|
520 |
+
#: includes/customizer/class-wc-email-customizer.php:202
|
521 |
+
msgid "Enable Delivered order status email"
|
522 |
+
msgstr ""
|
523 |
+
"Aktivieren Sie die Status-E-Mail für die gelieferte Bestellung\n"
|
524 |
|
525 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:160
|
526 |
+
msgid "Enable Failed Attempt email"
|
527 |
+
msgstr "Aktivieren Sie die E-Mail \"Fehlgeschlagener Versuch\""
|
528 |
|
529 |
+
#: includes/customizer/class-wc-email-customizer.php:408
|
530 |
+
msgid "Enable Google Analytics tracking"
|
531 |
msgstr ""
|
532 |
+
"Aktivieren Sie das Google Analytics-Tracking\n"
|
|
|
|
|
|
|
|
|
533 |
|
534 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:214
|
535 |
+
msgid "Enable In Transit email"
|
536 |
+
msgstr "In Transit-E-Mail aktivieren"
|
537 |
|
538 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:163
|
539 |
+
msgid "Enable On Hold email"
|
540 |
+
msgstr "E-Mail aktivieren"
|
541 |
|
542 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:162
|
543 |
+
msgid "Enable Out For Delivery email"
|
544 |
+
msgstr "Aktivieren Sie Out for Delivery E-Mail"
|
545 |
|
546 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:161
|
547 |
+
msgid "Enable Partially Shipped order status email"
|
|
|
|
|
548 |
msgstr ""
|
549 |
+
"Teilweise versendete Bestellstatus-E-Mail aktivieren\n"
|
|
|
550 |
|
551 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:160
|
552 |
+
msgid "Enable Return To Sender email"
|
553 |
+
msgstr "Aktivieren Sie Return To Sender E-Mail"
|
554 |
|
555 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:431
|
556 |
+
msgid "Enable TrackShip"
|
557 |
+
msgstr "TrackShip aktivieren"
|
558 |
+
|
559 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:162
|
560 |
msgid "Enable Updated Tracking order status email"
|
561 |
msgstr ""
|
562 |
"Aktivieren Sie die E-Mail mit dem Status der aktualisierten "
|
563 |
"Sendungsverfolgung\n"
|
564 |
|
565 |
+
#: includes/views/front/tracking_page_header.php:22
|
566 |
+
msgid "Est. Delivery Date"
|
567 |
+
msgstr ""
|
568 |
+
"Europäische Sommerzeit. Lieferdatum\n"
|
569 |
+
|
570 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:855
|
571 |
+
msgid "Exception"
|
572 |
+
msgstr ""
|
573 |
+
|
574 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:767
|
575 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:852
|
576 |
+
#: includes/customizer/class-wcast-customizer.php:127
|
577 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:126
|
578 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:198
|
579 |
+
#: includes/views/admin_status_notifications.php:130
|
580 |
+
msgid "Failed Attempt"
|
581 |
+
msgstr "Misslungener Versuch"
|
582 |
+
|
583 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:776
|
584 |
+
msgid "Filter by shipment status"
|
585 |
+
msgstr "Filtern nach Sendungsstatus"
|
586 |
+
|
587 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2145
|
588 |
msgid "Filter by shipping provider"
|
589 |
msgstr "Nach Versandanbieter filtern"
|
590 |
|
591 |
+
#: templates/tracking/tracking-form.php:12
|
592 |
+
#: templates/tracking/tracking-form.php:13
|
593 |
+
msgid "Found in your order confirmation email."
|
594 |
+
msgstr ""
|
595 |
+
"Gefunden in Ihrer Auftragsbestätigungs-E-Mail.\n"
|
596 |
|
597 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1001
|
|
|
598 |
msgid "General Settings"
|
599 |
msgstr "Allgemeine Einstellungen"
|
600 |
|
601 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:738
|
602 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:1007
|
603 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:1016
|
604 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:1025
|
605 |
+
msgid "Get Shipment Status"
|
606 |
+
msgstr ""
|
607 |
+
"Sendungsstatus abrufen\n"
|
608 |
+
|
609 |
+
#: includes/views/admin_options_shipping_provider.php:66
|
610 |
+
#: includes/views/admin_options_shipping_provider.php:114
|
611 |
msgid "Global"
|
612 |
msgstr "Global"
|
613 |
|
614 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:364
|
615 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:365
|
616 |
+
#: includes/customizer/class-wc-email-customizer.php:427
|
617 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:364
|
618 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:418
|
619 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:366
|
620 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:363
|
621 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:367
|
622 |
+
msgid "Google Analytics link tracking"
|
623 |
+
msgstr ""
|
624 |
+
"Google Analytics-Linkverfolgung\n"
|
625 |
|
626 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:735
|
627 |
msgid "Headers background color"
|
628 |
+
msgstr ""
|
629 |
|
630 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:752
|
631 |
msgid "Headers font color"
|
632 |
msgstr ""
|
633 |
"Schriftfarbe der Überschriften\n"
|
634 |
|
635 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:717
|
636 |
msgid "Headers font size"
|
637 |
msgstr ""
|
638 |
"Schriftgröße der Überschriften\n"
|
639 |
|
640 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:769
|
641 |
msgid "Headers font weight"
|
642 |
+
msgstr ""
|
643 |
|
644 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:120
|
645 |
msgid ""
|
646 |
"Hi there. we thought you'd like to know that the shipment tracking for your "
|
647 |
"recent order from {site_title} has been updated."
|
649 |
"Hallo. Wir dachten, Sie möchten wissen, dass die Sendungsverfolgung für Ihre "
|
650 |
"letzte Bestellung von {site_title} aktualisiert wurde.\n"
|
651 |
|
652 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:128
|
653 |
+
#: includes/customizer/class-wc-email-customizer.php:122
|
654 |
+
msgid ""
|
655 |
+
"Hi there. we thought you'd like to know that your recent order from "
|
656 |
+
"{site_title} has been Delivered."
|
657 |
+
msgstr ""
|
658 |
+
"Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
|
659 |
+
"{site_title} geliefert wurde.\n"
|
660 |
+
|
661 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:120
|
662 |
msgid ""
|
663 |
"Hi there. we thought you'd like to know that your recent order from "
|
664 |
"{site_title} has been partially shipped."
|
666 |
"Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
|
667 |
"{site_title} teilweise versendet wurde.\n"
|
668 |
|
669 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:127
|
670 |
+
msgid ""
|
671 |
+
"Hi there. we thought you'd like to know that your recent order from "
|
672 |
+
"{site_title} has been returned to sender."
|
673 |
+
msgstr ""
|
674 |
+
"Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
|
675 |
+
"{site_title} an den Absender zurückgeschickt wurde.\n"
|
676 |
+
|
677 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:127
|
678 |
+
msgid ""
|
679 |
+
"Hi there. we thought you'd like to know that your recent order from "
|
680 |
+
"{site_title} is available for pickup."
|
681 |
+
msgstr ""
|
682 |
+
"Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
|
683 |
+
"{site_title} zur Abholung verfügbar ist."
|
684 |
+
|
685 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:127
|
686 |
+
msgid ""
|
687 |
+
"Hi there. we thought you'd like to know that your recent order from "
|
688 |
+
"{site_title} is Failed Attempt"
|
689 |
+
msgstr ""
|
690 |
+
"Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung bei "
|
691 |
+
"{site_title} fehlgeschlagen ist"
|
692 |
+
|
693 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:130
|
694 |
+
msgid ""
|
695 |
+
"Hi there. we thought you'd like to know that your recent order from "
|
696 |
+
"{site_title} is in transit"
|
697 |
+
msgstr ""
|
698 |
+
"Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
|
699 |
+
"{site_title} unterwegs ist\n"
|
700 |
+
|
701 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:130
|
702 |
+
msgid ""
|
703 |
+
"Hi there. we thought you'd like to know that your recent order from "
|
704 |
+
"{site_title} is on hold"
|
705 |
+
msgstr ""
|
706 |
+
"Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
|
707 |
+
"{site_title} zurückgestellt wurde"
|
708 |
+
|
709 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:129
|
710 |
+
msgid ""
|
711 |
+
"Hi there. we thought you'd like to know that your recent order from "
|
712 |
+
"{site_title} is out for delivery."
|
713 |
+
msgstr ""
|
714 |
+
"Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
|
715 |
+
"{site_title} nicht lieferbar ist.\n"
|
716 |
+
|
717 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:753
|
718 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:768
|
719 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:783
|
720 |
msgid "hide details"
|
721 |
msgstr ""
|
722 |
"Details ausblenden\n"
|
723 |
|
724 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:392
|
725 |
+
#: includes/views/admin_tracking_page_settings.php:76
|
726 |
+
msgid "Hide Shipping Provider Image"
|
727 |
+
msgstr ""
|
728 |
+
"Bild des Versandanbieters ausblenden\n"
|
729 |
+
|
730 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:631
|
731 |
msgid "Hide Table Headers"
|
732 |
msgstr ""
|
733 |
"Tabellenüberschriften ausblenden\n"
|
734 |
|
735 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:498
|
736 |
+
#, fuzzy
|
737 |
#| msgid "Hide the ship date"
|
738 |
msgid "Hide the shipped date"
|
739 |
+
msgstr ""
|
740 |
+
"Verstecken Sie das Versanddatum\n"
|
741 |
|
742 |
+
#: includes/views/admin_tracking_page_settings.php:81
|
743 |
+
msgid "Hide tracking event details"
|
744 |
+
msgstr ""
|
745 |
+
"Tracking-Ereignisdetails ausblenden\n"
|
746 |
+
|
747 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:398
|
748 |
+
msgid "Hide tracking events details"
|
749 |
+
msgstr "Details zu Tracking-Ereignissen ausblenden"
|
750 |
+
|
751 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:233
|
752 |
msgid "Hide Tracking Header"
|
753 |
msgstr "Tracking-Header ausblenden"
|
754 |
|
755 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:340
|
756 |
+
msgid "How to Video"
|
757 |
+
msgstr "Wie man ein Video macht"
|
|
|
|
|
|
|
|
|
758 |
|
759 |
+
#: includes/views/admin_status_notifications.php:155
|
760 |
+
msgid ""
|
761 |
+
"If a shipment reached the number of days that you define, and the shipment "
|
762 |
+
"is not \"delivered\" or \"Returned to Sender\" than email will trigger."
|
763 |
+
msgstr ""
|
764 |
+
"Wenn eine Sendung die von Ihnen festgelegte Anzahl von Tagen erreicht hat "
|
765 |
+
"und die Sendung nicht \"geliefert\" oder \"an den Absender zurückgesandt\" "
|
766 |
+
"ist, wird eine E-Mail ausgelöst."
|
767 |
|
768 |
+
#: includes/views/admin_options_bulk_upload.php:76
|
769 |
msgid "Import in Progress"
|
770 |
msgstr "Import in Bearbeitung"
|
771 |
|
772 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:763
|
773 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:831
|
774 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:129
|
775 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:192
|
776 |
+
#: includes/views/admin_status_notifications.php:37
|
777 |
+
msgid "In Transit"
|
778 |
+
msgstr ""
|
779 |
+
"Im Transit\n"
|
780 |
|
781 |
+
#: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:397
|
782 |
msgid "Invalid order ID."
|
783 |
msgstr ""
|
784 |
"Ungültige Bestellnummer.\n"
|
785 |
|
786 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:771
|
787 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:864
|
788 |
+
msgid "Invalid Tracking Number"
|
789 |
+
msgstr "Ungültige Tracking-Nummer"
|
790 |
+
|
791 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:870
|
792 |
+
msgid "Invalid User Key"
|
793 |
+
msgstr "Ungültiger Benutzerschlüssel"
|
794 |
+
|
795 |
+
#: includes/views/admin_options_bulk_upload.php:48
|
796 |
msgid ""
|
797 |
"Keep unchecked for the tracking info to be added to any existing tracking "
|
798 |
"info added to the orders."
|
801 |
"Informationen zu den vorhandenen Tracking-Informationen hinzugefügt werden, "
|
802 |
"die den Bestellungen hinzugefügt wurden."
|
803 |
|
804 |
+
#: includes/customizer/class-wc-late-shipments-email-customizer.php:29
|
805 |
+
msgid "Late shipment"
|
806 |
+
msgstr "Verspäteter Versand"
|
807 |
+
|
808 |
+
#: includes/views/admin_status_notifications.php:176
|
809 |
+
msgid "Late Shipment Days"
|
810 |
+
msgstr "Späte Versandtage"
|
811 |
+
|
812 |
+
#: includes/customizer/class-wc-late-shipments-email-customizer.php:28
|
813 |
+
#: includes/views/admin_status_notifications.php:200
|
814 |
+
msgid "Late shipment for order #{order_number}"
|
815 |
+
msgstr "Verspäteter Versand für Bestellnummer {Bestellnummer}"
|
816 |
+
|
817 |
+
#: includes/customizer/class-wcast-customizer.php:135
|
818 |
+
#: includes/views/admin_status_notifications.php:155
|
819 |
+
msgid "Late Shipments"
|
820 |
+
msgstr "Verspätete Lieferungen"
|
821 |
+
|
822 |
+
#: includes/views/admin_options_settings.php:39
|
823 |
+
msgid "Launch Customizer"
|
824 |
+
msgstr ""
|
825 |
+
"Starten Sie den Customizer\n"
|
826 |
+
|
827 |
+
#: includes/views/admin_options_addons.php:118
|
828 |
msgid "License"
|
829 |
msgstr "Lizenz"
|
830 |
|
831 |
+
#: includes/views/admin_options_osm.php:36
|
832 |
+
#: includes/views/admin_options_osm.php:79
|
833 |
+
#: includes/views/admin_options_osm.php:119
|
834 |
msgid "Light Font"
|
835 |
msgstr ""
|
836 |
"Leichte Schrift\n"
|
837 |
|
838 |
+
#: includes/class-wc-advanced-shipment-tracking.php:316
|
839 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:419
|
840 |
msgid "Mark as Completed?"
|
841 |
msgstr "Als erledigt markieren?"
|
842 |
|
843 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1656
|
844 |
msgid "Mark as Shipped"
|
845 |
msgstr "Als versandt markieren"
|
846 |
|
847 |
+
#: includes/class-wc-advanced-shipment-tracking.php:313
|
848 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:416
|
849 |
msgid "Mark as Shipped?"
|
850 |
msgstr "Als versandt markieren?"
|
851 |
|
852 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1629
|
853 |
msgid "Mark order as delivered"
|
854 |
msgstr "Bestellung als geliefert markieren"
|
855 |
|
856 |
+
#: includes/class-wc-advanced-shipment-tracking.php:397
|
857 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:476
|
858 |
msgid "Mark order as:"
|
859 |
msgstr "Bestellung markieren als:"
|
860 |
|
861 |
+
#: includes/customizer/class-wc-email-customizer.php:158
|
862 |
msgid "Mockup Order"
|
863 |
+
msgstr ""
|
864 |
|
865 |
+
#: includes/customizer/class-wcast-customizer.php:459
|
866 |
+
msgid "Mockup order"
|
867 |
+
msgstr ""
|
868 |
+
|
869 |
+
#: includes/views/admin_tracking_page_settings.php:41
|
870 |
msgid "more info"
|
871 |
msgstr ""
|
872 |
"Mehr Info\n"
|
873 |
|
874 |
+
#: includes/views/admin_tracking_page_settings.php:41
|
875 |
+
msgid ""
|
876 |
+
"Note - If you select a different page than the Shipment Tracking page, add "
|
877 |
+
"the [wcast-track-order] shortcode to the selected page content."
|
878 |
+
msgstr ""
|
879 |
+
"Hinweis - Wenn Sie eine andere Seite als die Seite \"Sendungsverfolgung\" "
|
880 |
+
"auswählen, fügen Sie dem ausgewählten Seiteninhalt den Shortcode [wcast-"
|
881 |
+
"track-order] hinzu.\n"
|
882 |
+
|
883 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:218
|
884 |
+
#: includes/views/trackship_settings.php:12
|
885 |
+
#: includes/views/trackship_settings.php:13
|
886 |
+
msgid "Notifications"
|
887 |
+
msgstr "Benachrichtigungen"
|
888 |
+
|
889 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:834
|
890 |
+
#: includes/customizer/class-wcast-customizer.php:89
|
891 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:193
|
892 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:129
|
893 |
+
#: includes/views/admin_status_notifications.php:52
|
894 |
+
msgid "On Hold"
|
895 |
+
msgstr "In Wartestellung"
|
896 |
|
897 |
#: includes/class-wc-advanced-shipment-tracking-admin.php:1030
|
898 |
+
msgid "Open the track link in a new tab"
|
899 |
+
msgstr ""
|
900 |
+
|
901 |
+
#: includes/emails/class-shipment-delivered-email.php:33
|
902 |
+
msgid ""
|
903 |
+
"Order delivered emails are sent to customers when their orders are marked "
|
904 |
+
"delivered and usually indicate that their orders have been shipped."
|
905 |
+
msgstr ""
|
906 |
+
"Von der Bestellung zugestellte E-Mails werden an Kunden gesendet, wenn ihre "
|
907 |
+
"Bestellungen als zugestellt markiert sind und in der Regel angeben, dass "
|
908 |
+
"ihre Bestellungen versandt wurden.\n"
|
909 |
+
|
910 |
+
#: templates/tracking/tracking-form.php:13
|
911 |
+
msgid "Order Email"
|
912 |
+
msgstr ""
|
913 |
+
"E-Mail bestellen\n"
|
914 |
+
|
915 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1011
|
916 |
+
msgid "Order Email Display"
|
917 |
+
msgstr ""
|
918 |
+
|
919 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:161
|
920 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:171
|
921 |
+
msgid "Order not found."
|
922 |
+
msgstr ""
|
923 |
|
924 |
#. %s: Order ID.
|
925 |
+
#: templates/emails/wcast-email-order-details.php:48
|
926 |
#, php-format
|
927 |
msgid "Order number: %s"
|
928 |
msgstr ""
|
929 |
"Bestellnummer:% s\n"
|
930 |
|
931 |
+
#: includes/customizer/class-wcast-customizer.php:42
|
932 |
+
msgid "Order Status Emails"
|
933 |
+
msgstr "Bestellstatus-E-Mails"
|
|
|
|
|
934 |
|
935 |
+
#: includes/class-wc-advanced-shipment-tracking.php:1181
|
936 |
+
#: includes/class-wc-advanced-shipment-tracking.php:1272
|
|
|
937 |
#, php-format
|
938 |
+
msgid "Order was shipped with %s and tracking number is: %s"
|
|
|
939 |
msgstr ""
|
940 |
+
"Die Bestellung wurde mit% s verschickt und die Sendungsnummer lautet:% s"
|
941 |
+
|
942 |
+
#: includes/views/front/layout1_tracking_details.php:25
|
943 |
+
msgid "Origin Details"
|
944 |
+
msgstr "Origin Details"
|
945 |
|
946 |
+
#: includes/views/admin_tracking_page_settings.php:36
|
947 |
msgid "Other"
|
948 |
msgstr "Andere"
|
949 |
|
950 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:765
|
951 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:843
|
952 |
+
#: includes/customizer/class-wcast-customizer.php:111
|
953 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:196
|
954 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:128
|
955 |
+
msgid "Out For Delivery"
|
956 |
+
msgstr ""
|
957 |
+
"Raus zur Lieferung\n"
|
958 |
+
|
959 |
+
#: includes/views/admin_status_notifications.php:97
|
960 |
+
msgid "Out For delivery"
|
961 |
+
msgstr "Raus zur Lieferung"
|
962 |
+
|
963 |
+
#: includes/class-wc-advanced-shipment-tracking.php:400
|
964 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:479
|
965 |
msgid "Partial Shipped"
|
966 |
msgstr "Teilweise versandt"
|
967 |
|
968 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:162
|
969 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:208
|
970 |
+
#: includes/customizer/class-wc-email-customizer.php:185
|
971 |
+
#: includes/views/admin_options_osm.php:59
|
972 |
msgid "Partially Shipped"
|
973 |
msgstr ""
|
974 |
"zum Teil versandt\n"
|
975 |
|
976 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:167
|
|
|
977 |
#, php-format
|
978 |
msgid "Partially Shipped <span class=\"count\">(%s)</span>"
|
979 |
msgid_plural "Partially Shipped <span class=\"count\">(%s)</span>"
|
982 |
msgstr[1] ""
|
983 |
"Teilweise versandt <span class=\"count\">(%s)</span>\n"
|
984 |
|
985 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:760
|
986 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:861
|
987 |
+
msgid "Pending TrackShip"
|
988 |
+
msgstr "Ausstehendes TrackShip"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
989 |
|
990 |
+
#: woocommerce-advanced-shipment-tracking.php:122
|
|
|
991 |
#, php-format
|
992 |
msgid ""
|
993 |
+
"Please install and activate %sWooCommerce%s for Advanced Shipment Tracking "
|
994 |
+
"for WooCommerce!"
|
995 |
+
msgstr ""
|
996 |
+
|
997 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:194
|
998 |
+
msgid "Please select a order..."
|
999 |
+
msgstr ""
|
1000 |
+
"Bitte wählen Sie eine Bestellung aus ...\n"
|
1001 |
+
|
1002 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:433
|
1003 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:440
|
1004 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:434
|
1005 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:441
|
1006 |
+
#: includes/customizer/class-wc-email-customizer.php:475
|
1007 |
+
#: includes/customizer/class-wc-email-customizer.php:483
|
1008 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:433
|
1009 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:441
|
1010 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:486
|
1011 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:494
|
1012 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:435
|
1013 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:443
|
1014 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:431
|
1015 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:439
|
1016 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:313
|
1017 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:321
|
1018 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:314
|
1019 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:322
|
1020 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:435
|
1021 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:443
|
1022 |
msgid "Please select order to preview."
|
1023 |
msgstr ""
|
1024 |
"Bitte wählen Sie eine Bestellung aus, um eine Vorschau anzuzeigen.\n"
|
1025 |
|
1026 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:237
|
1027 |
msgid "Please upload a valid CSV file."
|
1028 |
msgstr "Please upload a valid CSV file."
|
1029 |
|
1030 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:762
|
1031 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:837
|
1032 |
+
msgid "Pre Transit"
|
1033 |
+
msgstr ""
|
1034 |
+
"Pre Transit\n"
|
1035 |
+
|
1036 |
+
#: includes/views/admin_tracking_page_settings.php:105
|
1037 |
+
msgid "Preview"
|
1038 |
+
msgstr "Vorschau"
|
1039 |
+
|
1040 |
+
#: includes/customizer/class-wc-email-customizer.php:154
|
1041 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:162
|
1042 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:190
|
1043 |
+
msgid "Preview order"
|
1044 |
+
msgstr "Vorschau der Bestellung"
|
1045 |
+
|
1046 |
+
#: includes/class-wc-advanced-shipment-tracking.php:419
|
1047 |
msgid "Preview:"
|
1048 |
msgstr "Vorschau:"
|
1049 |
|
1050 |
+
#: includes/class-wc-advanced-shipment-tracking.php:375
|
1051 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:462
|
1052 |
msgid "Product Code:"
|
1053 |
msgstr "Produktcode:"
|
1054 |
|
1055 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1821
|
1056 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:150
|
1057 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:656
|
1058 |
+
#: templates/emails/tracking-info.php:273
|
1059 |
+
#: templates/myaccount/tracking-info.php:211
|
1060 |
msgid "Provider"
|
1061 |
msgstr "Anbieter"
|
1062 |
|
1063 |
+
#: templates/emails/tracking-info.php:278
|
1064 |
+
#: templates/myaccount/tracking-info.php:216
|
|
|
1065 |
msgid "Provider Name"
|
1066 |
msgstr "Anbietername"
|
1067 |
|
1068 |
+
#: includes/views/admin_options_shipping_provider.php:153
|
1069 |
msgid "Providers Added"
|
1070 |
msgstr "Anbieter hinzugefügt"
|
1071 |
|
1072 |
+
#: includes/views/admin_options_shipping_provider.php:155
|
1073 |
msgid "Providers Deleted"
|
1074 |
msgstr "Anbieter gelöscht"
|
1075 |
|
1076 |
+
#: includes/views/admin_options_shipping_provider.php:154
|
1077 |
msgid "Providers Updated"
|
1078 |
msgstr "Anbieter aktualisiert"
|
1079 |
|
1080 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:234
|
1081 |
msgid "Really delete this entry? This will not be undo."
|
1082 |
msgstr "Diesen Eintrag wirklich löschen? Dies wird nicht rückgängig gemacht."
|
1083 |
|
1084 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:404
|
1085 |
+
#: includes/views/admin_tracking_page_settings.php:86
|
1086 |
+
msgid "Remove TrackShip branding"
|
1087 |
+
msgstr ""
|
1088 |
+
"Entfernen Sie das TrackShip-Branding\n"
|
1089 |
+
|
1090 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1003
|
1091 |
msgid "Rename the “Completed” Order status label to “Shipped”"
|
1092 |
+
msgstr ""
|
1093 |
|
1094 |
+
#: includes/views/admin_options_bulk_upload.php:48
|
1095 |
msgid "Replace tracking information?"
|
1096 |
msgstr "Tracking-Informationen ersetzen?"
|
1097 |
|
1098 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:507
|
1099 |
+
msgid "Resend delivered order notification"
|
1100 |
+
msgstr ""
|
1101 |
+
"Senden Sie die gelieferte Bestellbenachrichtigung erneut\n"
|
1102 |
+
|
1103 |
+
#: includes/views/admin_options_shipping_provider.php:136
|
1104 |
msgid "Reset"
|
1105 |
msgstr "Zurücksetzen"
|
1106 |
|
1107 |
+
#: includes/views/admin_options_shipping_provider.php:159
|
1108 |
msgid ""
|
1109 |
"Reset providers database, it will reset all your shipping provider database"
|
1110 |
msgstr ""
|
1111 |
"Anbieter-Datenbank zurücksetzen, setzt Ihre gesamte Versandanbieter-"
|
1112 |
"Datenbank zurück"
|
1113 |
|
1114 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:770
|
1115 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:849
|
1116 |
+
#: includes/customizer/class-wcast-customizer.php:97
|
1117 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:194
|
1118 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:126
|
1119 |
+
#: includes/views/admin_status_notifications.php:67
|
1120 |
+
msgid "Return To Sender"
|
1121 |
+
msgstr ""
|
1122 |
+
"Zurück an den Absender\n"
|
1123 |
|
1124 |
+
#: includes/views/admin_options_settings.php:23
|
1125 |
+
#: includes/views/admin_trackship_dashboard.php:45
|
1126 |
+
#: includes/views/admin_tracking_page_settings.php:104
|
1127 |
+
#: includes/views/admin_status_notifications.php:245
|
1128 |
+
msgid "Save Changes"
|
1129 |
+
msgstr ""
|
1130 |
+
"Änderungen speichern\n"
|
1131 |
+
|
1132 |
+
#: includes/class-wc-advanced-shipment-tracking.php:416
|
1133 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:491
|
1134 |
msgid "Save Tracking"
|
1135 |
msgstr "Tracking speichern"
|
1136 |
|
1137 |
+
#: includes/views/admin_options_shipping_provider.php:29
|
1138 |
msgid "Search by provider / country"
|
1139 |
msgstr ""
|
1140 |
"Suche nach Anbieter / Land\n"
|
1141 |
|
1142 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:191
|
1143 |
+
msgid "Select an order to preview and design the tracking info display."
|
1144 |
+
msgstr ""
|
1145 |
+
"Wählen Sie eine Bestellung aus, um eine Vorschau anzuzeigen und die Anzeige "
|
1146 |
+
"der Tracking-Informationen zu gestalten.\n"
|
1147 |
+
|
1148 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:380
|
1149 |
+
msgid "Select content border color for tracking page"
|
1150 |
+
msgstr "Wählen Sie die Farbe des Inhaltsrahmens für die Tracking-Seite aus"
|
1151 |
+
|
1152 |
+
#: includes/customizer/class-wc-email-customizer.php:180
|
1153 |
msgid "Select email type"
|
1154 |
+
msgstr ""
|
1155 |
|
1156 |
+
#: includes/class-wc-advanced-shipment-tracking.php:338
|
1157 |
msgid "Select Provider"
|
1158 |
msgstr "Wählen Sie Provider aus"
|
1159 |
|
1160 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:188
|
1161 |
+
msgid "Select shipment status"
|
1162 |
+
msgstr ""
|
1163 |
+
|
1164 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:303
|
1165 |
msgid "Select Template"
|
1166 |
msgstr ""
|
1167 |
"Vorlage auswählen\n"
|
1168 |
|
1169 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:349
|
1170 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:357
|
1171 |
+
#: includes/views/admin_tracking_page_settings.php:27
|
1172 |
+
msgid "Select Tracking Page"
|
1173 |
+
msgstr ""
|
1174 |
+
"Wählen Sie Tracking-Seite\n"
|
1175 |
+
|
1176 |
+
#: includes/views/admin_options_osm.php:41
|
1177 |
+
#: includes/views/admin_options_osm.php:84
|
1178 |
+
#: includes/views/admin_options_osm.php:124
|
1179 |
msgid "Send Email"
|
1180 |
msgstr ""
|
1181 |
"E-Mail senden\n"
|
1182 |
|
1183 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1004
|
1184 |
msgid ""
|
1185 |
"Set the \"mark as shipped\" option checked when adding tracking info to "
|
1186 |
"orders"
|
1187 |
msgstr ""
|
|
|
|
|
1188 |
|
1189 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:393
|
1190 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:397
|
1191 |
+
#: includes/views/admin_options_settings.php:15
|
1192 |
msgid "Settings"
|
1193 |
+
msgstr ""
|
1194 |
|
1195 |
+
#: includes/views/admin_options_bulk_upload.php:59
|
1196 |
msgid "Settings Saved."
|
1197 |
msgstr "Einstellungen gespeichert."
|
1198 |
|
1199 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:327
|
1200 |
+
#: includes/views/front/preview_tracking_page.php:25
|
1201 |
+
msgid "Shipment"
|
1202 |
+
msgstr ""
|
1203 |
+
|
1204 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:355
|
1205 |
+
#, php-format
|
1206 |
+
msgid "Shipment - %s (out of %s)"
|
1207 |
+
msgstr ""
|
1208 |
+
"Versand -% s (von% s)\n"
|
1209 |
+
|
1210 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:324
|
1211 |
+
#, php-format
|
1212 |
+
msgid "Shipment : %s (out of %s)"
|
1213 |
+
msgstr ""
|
1214 |
+
|
1215 |
+
#: includes/views/admin_status_notifications.php:67
|
1216 |
+
msgid "Shipment is returned to sender."
|
1217 |
+
msgstr "Shipment is returned to sender."
|
1218 |
+
|
1219 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:1483
|
1220 |
+
msgid "Shipment Providers"
|
1221 |
+
msgstr ""
|
1222 |
+
"Versandanbieter\n"
|
1223 |
+
|
1224 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:1486
|
1225 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:184
|
1226 |
+
#: templates/emails/tracking-info.php:218
|
1227 |
+
#: templates/emails/tracking-info.php:248
|
1228 |
+
msgid "Shipment Status"
|
1229 |
+
msgstr ""
|
1230 |
+
"Versandstatus\n"
|
1231 |
+
|
1232 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:495
|
1233 |
+
msgid "Shipment status"
|
1234 |
+
msgstr "Shipment status"
|
1235 |
+
|
1236 |
+
#: templates/emails/plain/tracking-info.php:35
|
1237 |
#, php-format
|
1238 |
msgid "Shipment status changed to %s"
|
1239 |
msgstr "Der Sendungsstatus wurde in% s geändert"
|
1240 |
|
1241 |
+
#: includes/customizer/class-wcast-customizer.php:81
|
1242 |
+
msgid "Shipment Status Email"
|
1243 |
+
msgstr ""
|
1244 |
+
|
1245 |
+
#: includes/views/admin_status_notifications.php:3
|
1246 |
+
msgid "Shipment Status Email Notifications"
|
1247 |
+
msgstr "Versandstatus E-Mail-Benachrichtigungen"
|
1248 |
+
|
1249 |
+
#: includes/customizer/class-wcast-customizer.php:52
|
1250 |
+
msgid "Shipment Status Emails"
|
1251 |
+
msgstr "Sendungsstatus-E-Mails"
|
1252 |
+
|
1253 |
+
#: includes/class-wc-advanced-shipment-tracking.php:141
|
1254 |
+
#: includes/class-wc-advanced-shipment-tracking.php:223
|
1255 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:208
|
1256 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:249
|
1257 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:300
|
1258 |
msgid "Shipment Tracking"
|
1259 |
msgstr "Sendungsverfolgung"
|
1260 |
|
1261 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:327
|
1262 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:417
|
1263 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:870
|
|
|
|
|
|
|
|
|
|
|
1264 |
msgid "Shipped"
|
1265 |
msgstr "Versendet"
|
1266 |
|
1267 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:344
|
|
|
1268 |
#, php-format
|
1269 |
msgid "Shipped <span class=\"count\">(%s)</span>"
|
1270 |
msgid_plural "Shipped <span class=\"count\">(%s)</span>"
|
1273 |
msgstr[1] ""
|
1274 |
"Versand <span class=\"count\">(%s)</span>\n"
|
1275 |
|
1276 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:152
|
1277 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:701
|
1278 |
msgid "Shipped Date"
|
1279 |
msgstr "Versanddatum"
|
1280 |
|
1281 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:694
|
1282 |
+
#, fuzzy
|
1283 |
#| msgid "Ship date header text"
|
1284 |
msgid "Shipped date header text"
|
1285 |
+
msgstr ""
|
1286 |
+
"Versanddatum Kopfzeilentext\n"
|
1287 |
|
1288 |
#. 1: shipping date
|
1289 |
+
#: includes/class-wc-advanced-shipment-tracking.php:256
|
1290 |
#, php-format
|
1291 |
msgid "Shipped on %s"
|
1292 |
msgstr "Versand auf% s"
|
1293 |
|
1294 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:160
|
1295 |
msgid "Shipped on {ship_date} via {shipping_provider} - {tracking_number_link}"
|
1296 |
msgstr ""
|
1297 |
"Versand am {Schiffsdatum} über {Versandanbieter} - {Tracking-Nummer_Link}"
|
1298 |
|
1299 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1605
|
1300 |
msgid "Shipped Order"
|
1301 |
msgstr "Versandbestellung"
|
1302 |
|
1303 |
+
#: includes/views/admin_options_shipping_provider.php:65
|
1304 |
+
#: includes/views/admin_options_shipping_provider.php:113
|
1305 |
msgid "Shipping Country"
|
1306 |
msgstr ""
|
1307 |
"Lieferungsland\n"
|
1308 |
|
1309 |
#: includes/views/admin_options_shipping_provider.php:58
|
1310 |
+
#: includes/views/admin_options_shipping_provider.php:103
|
1311 |
msgid "Shipping Provider"
|
1312 |
msgstr "Versandanbieter"
|
1313 |
|
1314 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:649
|
1315 |
msgid "Shipping provider header text"
|
1316 |
+
msgstr ""
|
1317 |
|
1318 |
+
#: includes/class-wc-advanced-shipment-tracking.php:337
|
1319 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:440
|
1320 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:442
|
1321 |
msgid "Shipping Provider:"
|
1322 |
msgstr "Versandanbieter:"
|
1323 |
|
1324 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:307
|
1325 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:325
|
1326 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:402
|
1327 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:406
|
1328 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1737
|
1329 |
msgid "Shipping Providers"
|
1330 |
msgstr "Versandanbieter"
|
1331 |
|
1332 |
+
#: includes/views/admin_options_shipping_provider.php:157
|
|
|
|
|
|
|
|
|
1333 |
msgid "Shipping providers database reset successfully."
|
1334 |
msgstr "Datenbank der Versandanbieter erfolgreich zurückgesetzt."
|
1335 |
|
1336 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:327
|
1337 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:328
|
1338 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:327
|
1339 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:381
|
1340 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:329
|
1341 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:326
|
1342 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:330
|
1343 |
+
msgid "Show billing address"
|
1344 |
+
msgstr ""
|
1345 |
+
"Rechnungsadresse anzeigen\n"
|
1346 |
+
|
1347 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:409
|
1348 |
msgid "Show bottom border"
|
1349 |
msgstr ""
|
1350 |
"Zeige unteren Rand\n"
|
1351 |
|
1352 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:309
|
1353 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:310
|
1354 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:309
|
1355 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:363
|
1356 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:311
|
1357 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:308
|
1358 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:312
|
1359 |
+
msgid "Show order details"
|
1360 |
+
msgstr ""
|
1361 |
+
"Bestelldetails anzeigen\n"
|
1362 |
+
|
1363 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:346
|
1364 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:347
|
1365 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:346
|
1366 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:400
|
1367 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:348
|
1368 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:345
|
1369 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:349
|
1370 |
+
msgid "Show shipping address"
|
1371 |
+
msgstr ""
|
1372 |
+
"Lieferadresse anzeigen\n"
|
1373 |
+
|
1374 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:291
|
1375 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:292
|
1376 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:291
|
1377 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:345
|
1378 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:293
|
1379 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:290
|
1380 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:294
|
1381 |
+
msgid "Show tracking details"
|
1382 |
+
msgstr "Tracking-Details anzeigen"
|
1383 |
+
|
1384 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:321
|
1385 |
msgid "Simple Layout Design"
|
1386 |
msgstr ""
|
1387 |
"Einfaches Layout Design\n"
|
1388 |
|
1389 |
+
#: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:401
|
1390 |
msgid "Special character not allowd in tracking number"
|
1391 |
msgstr ""
|
1392 |
"Sonderzeichen in Tracking-Nummer nicht zulässig\n"
|
1393 |
|
1394 |
+
#: includes/views/admin_options_trackship_integration.php:17
|
1395 |
+
#: includes/views/admin_options_addons.php:141
|
1396 |
+
msgid "Start your free trial"
|
1397 |
+
msgstr "Starten Sie Ihre kostenlose Testversion"
|
1398 |
+
|
1399 |
+
#: includes/views/trackship_sidebar.php:24
|
1400 |
+
msgid "Subscription Plan"
|
1401 |
+
msgstr "Abonnementplan"
|
1402 |
+
|
1403 |
+
#: includes/views/admin_options_shipping_provider.php:146
|
1404 |
+
#: includes/views/admin_options_shipping_provider.php:161
|
1405 |
msgid "Sync Shipping Providers"
|
1406 |
msgstr ""
|
1407 |
"Versandanbieter synchronisieren\n"
|
1408 |
|
1409 |
+
#: includes/views/admin_options_shipping_provider.php:151
|
1410 |
msgid ""
|
1411 |
"Syncing the shipping providers list add or updates the pre-set shipping "
|
1412 |
"providers and will not effect custom shipping providers."
|
1415 |
"voreingestellten Versandanbieter hinzugefügt oder aktualisiert. "
|
1416 |
"Benutzerdefinierte Versandanbieter werden davon nicht betroffen.\n"
|
1417 |
|
1418 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:791
|
1419 |
msgid "Table Content"
|
1420 |
msgstr ""
|
1421 |
"Tabelleninhalt\n"
|
1422 |
|
1423 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:534
|
1424 |
msgid "Table Design Options"
|
1425 |
+
msgstr ""
|
1426 |
|
1427 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:615
|
1428 |
+
#, fuzzy
|
1429 |
#| msgid "Table Headers"
|
1430 |
msgid "Table Header"
|
1431 |
+
msgstr ""
|
1432 |
+
"Tabellenüberschriften\n"
|
1433 |
|
1434 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:304
|
1435 |
msgid "Table Layout"
|
1436 |
msgstr ""
|
1437 |
"Tabellenlayout\n"
|
1438 |
|
1439 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:446
|
1440 |
msgid "Table Options"
|
1441 |
+
msgstr ""
|
1442 |
|
1443 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:592
|
1444 |
msgid "Text align"
|
1445 |
+
msgstr ""
|
1446 |
|
1447 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1738
|
1448 |
+
#: includes/views/admin_options_shipping_provider.php:100
|
1449 |
msgid ""
|
1450 |
+
"The custom name will display in the tracking info section on the customer "
|
1451 |
+
"order emails, my-account, shipment tracking page and shipment status emails."
|
|
|
1452 |
msgstr ""
|
1453 |
+
"Der benutzerdefinierte Name wird im Abschnitt \"Tracking-Informationen\" in "
|
1454 |
+
"den E-Mails mit Kundenbestellungen, meinem Konto, der "
|
1455 |
+
"Sendungsverfolgungsseite und den Sendungsstatus-E-Mails angezeigt."
|
1456 |
+
|
1457 |
+
#: includes/views/admin_status_notifications.php:52
|
1458 |
+
msgid "The shipment is On Hold."
|
1459 |
+
msgstr "The shipment is On Hold."
|
1460 |
+
|
1461 |
+
#: includes/views/admin_status_notifications.php:82
|
1462 |
+
msgid "The shipment is ready to by picked up."
|
1463 |
+
msgstr "Die Sendung ist abholbereit."
|
1464 |
|
1465 |
+
#: includes/views/admin_status_notifications.php:37
|
1466 |
+
msgid "The shipment was accepted by the shipping provider and its on the way."
|
1467 |
+
msgstr "Die Sendung wurde vom Versandanbieter angenommen und ist unterwegs."
|
1468 |
+
|
1469 |
+
#: includes/views/admin_status_notifications.php:112
|
1470 |
+
msgid "The shipment was delivered successfully."
|
1471 |
+
msgstr "Die Sendung wurde erfolgreich geliefert."
|
1472 |
+
|
1473 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:737
|
1474 |
msgid "There are some issue with sync, Please Retry."
|
1475 |
msgstr ""
|
1476 |
"Es gibt ein Problem mit der Synchronisierung. Bitte versuchen Sie es erneut."
|
1477 |
"\n"
|
1478 |
|
1479 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:236
|
1480 |
msgid "This browser does not support HTML5."
|
1481 |
msgstr "Dieser Browser unterstützt HTML5 nicht."
|
1482 |
|
1483 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:876
|
1484 |
+
msgid ""
|
1485 |
+
"This means that the 'mark as <span class='shipped_label'>completed</span>' "
|
1486 |
+
"will be selected by default when adding tracking info to orders."
|
1487 |
+
msgstr ""
|
1488 |
+
"Dies bedeutet, dass beim Hinzufügen von Tracking-Informationen zu "
|
1489 |
+
"Bestellungen standardmäßig die Option 'Markieren als <span class =' "
|
1490 |
+
"shipped_label '> erledigt </ span>' ausgewählt wird."
|
1491 |
+
|
1492 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:872
|
1493 |
+
msgid ""
|
1494 |
+
"This means that the 'mark as <span class='shipped_label'>shipped</span>' "
|
1495 |
+
"will be selected by default when adding tracking info to orders."
|
1496 |
+
msgstr ""
|
1497 |
+
"Dies bedeutet, dass beim Hinzufügen von Tracking-Informationen zu "
|
1498 |
+
"Bestellungen standardmäßig die Option 'Als <span class =' shipped_label '> "
|
1499 |
+
"versendet </ span>' markiert ist."
|
1500 |
+
|
1501 |
+
#: includes/customizer/class-wc-late-shipments-email-customizer.php:30
|
1502 |
+
#: includes/views/admin_status_notifications.php:210
|
1503 |
+
msgid ""
|
1504 |
+
"This order was shipped {shipment_length} days ago, the shipment status is "
|
1505 |
+
"{shipment_status} and its est. delivery date is {est_delivery_date}."
|
1506 |
+
msgstr ""
|
1507 |
+
"Diese Bestellung wurde vor {Versandlänge} Tagen versandt, der Versandstatus "
|
1508 |
+
"ist {Versandstatus} und das voraussichtliche Lieferdatum ist {Versanddatum}."
|
1509 |
+
|
1510 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:365
|
1511 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:366
|
1512 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:365
|
1513 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:419
|
1514 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:367
|
1515 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:364
|
1516 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:368
|
1517 |
+
msgid "This will be appended to URL in the email content"
|
1518 |
+
msgstr ""
|
1519 |
+
"Dies wird an die URL im E-Mail-Inhalt angehängt\n"
|
1520 |
+
|
1521 |
+
#: includes/customizer/class-wc-email-customizer.php:428
|
1522 |
+
msgid ""
|
1523 |
+
"This will be appended to URL in the email content – e.g. "
|
1524 |
+
"utm_source=ast&utm_medium=email&utm_campaign=delivered"
|
1525 |
+
msgstr ""
|
1526 |
+
"Dies wird an die URL im E-Mail-Inhalt angehängt - z. utm_source = ast & "
|
1527 |
+
"utm_medium = email & utm_campaign = geliefert\n"
|
1528 |
+
|
1529 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:471
|
1530 |
+
msgid ""
|
1531 |
+
"To enable this option, the 'Delivered' order status should be enabled in the "
|
1532 |
+
"AST settings."
|
1533 |
+
msgstr ""
|
1534 |
+
"Um diese Option zu aktivieren, sollte der Auftragsstatus \"Geliefert\" in "
|
1535 |
+
"den AST-Einstellungen aktiviert sein."
|
1536 |
+
|
1537 |
+
#: templates/tracking/tracking-form.php:11
|
1538 |
+
msgid ""
|
1539 |
+
"To track your order please enter your Order ID in the box below and press "
|
1540 |
+
"the \"Track\" button. This was given to you on your receipt and in the "
|
1541 |
+
"confirmation email you should have received."
|
1542 |
+
msgstr ""
|
1543 |
+
"Um Ihre Bestellung zu verfolgen, geben Sie bitte Ihre Bestellnummer in das "
|
1544 |
+
"unten stehende Feld ein und klicken Sie auf \"Verfolgen\". Dies wurde Ihnen "
|
1545 |
+
"auf Ihrer Quittung und in der Bestätigungs-E-Mail, die Sie hätten erhalten "
|
1546 |
+
"sollen, mitgeteilt.\n"
|
1547 |
+
|
1548 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:219
|
1549 |
+
#: includes/views/admin_options_tools.php:13
|
1550 |
+
#: includes/views/trackship_settings.php:15
|
1551 |
+
#: includes/views/trackship_settings.php:16
|
1552 |
+
msgid "Tools"
|
1553 |
+
msgstr "Werkzeuge"
|
1554 |
+
|
1555 |
+
#: includes/class-wc-advanced-shipment-tracking.php:759
|
1556 |
+
#: includes/class-wc-advanced-shipment-tracking.php:786
|
1557 |
+
#: includes/class-wc-advanced-shipment-tracking.php:802
|
1558 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:153
|
1559 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:944
|
1560 |
+
#: templates/emails/tracking-info.php:308
|
1561 |
+
#: templates/myaccount/tracking-info.php:241
|
1562 |
+
#: templates/tracking/tracking-form.php:16
|
1563 |
msgid "Track"
|
1564 |
msgstr "Verfolgen"
|
1565 |
|
1566 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:903
|
1567 |
msgid "Track Button"
|
1568 |
+
msgstr ""
|
1569 |
|
1570 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:919
|
1571 |
msgid "Track Header"
|
1572 |
+
msgstr ""
|
1573 |
|
1574 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:937
|
1575 |
msgid "Track header text"
|
1576 |
msgstr ""
|
1577 |
"Verfolgen Sie den Header-Text\n"
|
1578 |
|
1579 |
+
#: includes/class-wc-advanced-shipment-tracking.php:246
|
1580 |
+
#: includes/class-wc-advanced-shipment-tracking.php:419
|
1581 |
msgid "Track Shipment"
|
1582 |
msgstr ""
|
1583 |
"Sendung verfolgen\n"
|
1584 |
|
1585 |
+
#: includes/views/trackship_sidebar.php:20
|
1586 |
+
msgid "Trackers Balance"
|
1587 |
+
msgstr "Tracker Balance"
|
1588 |
+
|
1589 |
+
#: includes/views/front/layout1_tracking_details.php:4
|
1590 |
+
msgid "Tracking Details"
|
1591 |
+
msgstr "Verfolgungsdetails"
|
1592 |
+
|
1593 |
+
#: includes/views/front/tracking_page_header.php:33
|
1594 |
+
msgid "Tracking details is not updated yet, Please check after few hour."
|
1595 |
+
msgstr ""
|
1596 |
+
|
1597 |
+
#: includes/views/front/tracking_page_header.php:35
|
1598 |
+
msgid "Tracking details is not updated yet, Please check after few min."
|
1599 |
+
msgstr ""
|
1600 |
+
|
1601 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:186
|
1602 |
+
msgid "Tracking details not found"
|
1603 |
+
msgstr ""
|
1604 |
+
|
1605 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:379
|
1606 |
+
msgid "Tracking details not found in TrackShip"
|
1607 |
+
msgstr "Tracking-Details wurden in TrackShip nicht gefunden"
|
1608 |
+
|
1609 |
+
#: includes/views/admin_options_settings.php:35
|
1610 |
+
msgid "Tracking Display Customizer"
|
1611 |
+
msgstr ""
|
1612 |
+
|
1613 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:296
|
1614 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:299
|
1615 |
msgid "Tracking display layout"
|
1616 |
msgstr "Tracking-Display-Layout"
|
1617 |
|
1618 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1027
|
1619 |
+
msgid "Tracking Display My Account"
|
1620 |
+
msgstr ""
|
1621 |
+
|
1622 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:212
|
1623 |
msgid "Tracking Display Position"
|
1624 |
msgstr "Verfolgung der Anzeigeposition"
|
1625 |
|
1626 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:251
|
1627 |
msgid "Tracking Header text"
|
1628 |
msgstr ""
|
1629 |
"Tracking-Header-Text\n"
|
1630 |
|
1631 |
+
#: includes/customizer/class-wcast-customizer.php:32
|
1632 |
+
#: includes/customizer/class-wcast-customizer.php:65
|
1633 |
msgid "Tracking info display"
|
1634 |
msgstr ""
|
1635 |
"Tracking-Info-Anzeige\n"
|
1636 |
|
1637 |
+
#: includes/views/admin_options_tools.php:11
|
1638 |
+
msgid "Tracking info sent to Trackship for all Orders."
|
1639 |
+
msgstr "Tracking-Informationen für alle Bestellungen an Trackhip gesendet."
|
1640 |
+
|
1641 |
+
#: includes/class-wc-advanced-shipment-tracking.php:721
|
1642 |
#, php-format
|
|
|
|
|
1643 |
msgid ""
|
1644 |
+
"Tracking info was deleted for tracking provider %s with tracking number %s"
|
|
|
1645 |
msgstr ""
|
1646 |
+
"Die Tracking-Informationen wurden für den Tracking-Anbieter% s mit der "
|
1647 |
+
"Tracking-Nummer% s gelöscht"
|
1648 |
|
1649 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:258
|
1650 |
msgid "Tracking Information"
|
1651 |
msgstr "Tracking-Informationen"
|
1652 |
|
1653 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:1489
|
1654 |
+
msgid "Tracking issues"
|
1655 |
+
msgstr ""
|
1656 |
+
"Verfolgung von Problemen\n"
|
1657 |
+
|
1658 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:151
|
1659 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:679
|
1660 |
+
#: templates/emails/tracking-info.php:285
|
1661 |
+
#: templates/myaccount/tracking-info.php:221
|
1662 |
msgid "Tracking Number"
|
1663 |
msgstr "Auftragsnummer, Frachtnummer, Sendungscode"
|
1664 |
|
1665 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:672
|
1666 |
+
#, fuzzy
|
1667 |
#| msgid "Tracking Number header text"
|
1668 |
msgid "Tracking number header text"
|
1669 |
+
msgstr ""
|
1670 |
+
"Tracking-Nummer-Header-Text\n"
|
1671 |
|
1672 |
+
#: includes/class-wc-advanced-shipment-tracking.php:332
|
1673 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:436
|
1674 |
msgid "Tracking number:"
|
1675 |
msgstr "Auftragsnummer, Frachtnummer, Sendungscode:"
|
1676 |
|
1677 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:217
|
1678 |
+
#: includes/views/admin_tracking_page_settings.php:9
|
1679 |
+
#: includes/views/trackship_settings.php:9
|
1680 |
+
#: includes/views/trackship_settings.php:10
|
1681 |
+
msgid "Tracking Page"
|
1682 |
+
msgstr "Tracking-Seite"
|
1683 |
+
|
1684 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:369
|
1685 |
+
msgid "Tracking Page Layout"
|
1686 |
+
msgstr ""
|
1687 |
+
"Seitenlayout verfolgen\n"
|
1688 |
+
|
1689 |
+
#: includes/views/admin_tracking_page_settings.php:92
|
1690 |
+
msgid "Tracking Widget Border Color"
|
1691 |
+
msgstr ""
|
1692 |
+
|
1693 |
+
#: includes/views/admin_tracking_page_settings.php:46
|
1694 |
+
msgid "Tracking Widget Layout"
|
1695 |
+
msgstr ""
|
1696 |
+
|
1697 |
+
#: includes/views/admin_tracking_page_settings.php:65
|
1698 |
+
msgid "Tracking Widget Options"
|
1699 |
+
msgstr ""
|
1700 |
+
|
1701 |
+
#: includes/views/admin_tracking_page_settings.php:116
|
1702 |
+
msgid "Tracking Widget Preview"
|
1703 |
+
msgstr "Vorschau des Tracking-Widgets"
|
1704 |
+
|
1705 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1743
|
1706 |
msgid "TrackShip"
|
1707 |
msgstr "TrackShip"
|
1708 |
|
1709 |
+
#: includes/views/trackship_sidebar.php:12
|
1710 |
+
msgid "TrackShip Connection Status"
|
1711 |
+
msgstr "TrackShip-Verbindungsstatus"
|
1712 |
+
|
1713 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1801
|
1714 |
+
msgid "TrackShip not supported"
|
1715 |
+
msgstr "TrackShip wird nicht unterstützt"
|
1716 |
+
|
1717 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1801
|
1718 |
+
msgid "TrackShip supported"
|
1719 |
+
msgstr "TrackShip wird unterstützt"
|
1720 |
+
|
1721 |
+
#: includes/views/admin_status_notifications.php:225
|
1722 |
+
msgid "Trigger Alert"
|
1723 |
+
msgstr "Alarm auslösen"
|
1724 |
+
|
1725 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:761
|
1726 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:858
|
1727 |
+
msgid "Unknown"
|
1728 |
+
msgstr "Unknown"
|
1729 |
+
|
1730 |
+
#: includes/views/admin_options_shipping_provider.php:135
|
1731 |
msgid "Update"
|
1732 |
msgstr "Aktualisieren"
|
1733 |
|
1734 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:148
|
1735 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:194
|
1736 |
+
#: includes/customizer/class-wc-email-customizer.php:186
|
1737 |
+
#: includes/views/admin_options_osm.php:101
|
1738 |
msgid "Updated Tracking"
|
1739 |
msgstr ""
|
1740 |
"Aktualisiertes Tracking\n"
|
1741 |
|
1742 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:153
|
|
|
1743 |
#, php-format
|
1744 |
msgid "Updated Tracking <span class=\"count\">(%s)</span>"
|
1745 |
msgid_plural "Updated Tracking <span class=\"count\">(%s)</span>"
|
1748 |
msgstr[1] ""
|
1749 |
"Aktualisiertes Tracking <span class=\"count\">(%s)</span>\n"
|
1750 |
|
1751 |
+
#: includes/views/trackship_sidebar.php:28
|
1752 |
+
msgid "Upgrade Now"
|
1753 |
+
msgstr "Jetzt upgraden"
|
1754 |
+
|
1755 |
+
#: includes/views/admin_options_shipping_provider.php:76
|
1756 |
+
#: includes/views/admin_options_shipping_provider.php:124
|
1757 |
+
msgid "Upload"
|
1758 |
+
msgstr "Hochladen"
|
1759 |
+
|
1760 |
+
#: includes/views/admin_options_bulk_upload.php:26
|
1761 |
msgid "Upload a CSV file from your computer:"
|
1762 |
msgstr "Laden Sie eine CSV-Datei von Ihrem Computer hoch:"
|
1763 |
|
1764 |
+
#: includes/views/admin_options_bulk_upload.php:109
|
1765 |
msgid "Upload again"
|
1766 |
msgstr "Erneut hochladen"
|
1767 |
|
1768 |
+
#: includes/views/admin_options_settings.php:36
|
1769 |
+
msgid ""
|
1770 |
+
"Use a customizer with a preview to customize the tracking info display on "
|
1771 |
+
"customer order emails and my-account."
|
1772 |
+
msgstr ""
|
1773 |
+
"Verwenden Sie einen Customizer mit einer Vorschau, um die Anzeige der "
|
1774 |
+
"Tracking-Informationen in Kundenbestellungs-E-Mails und in meinem Konto "
|
1775 |
+
"anzupassen."
|
1776 |
+
|
1777 |
+
#: includes/views/admin_options_bulk_upload.php:12
|
1778 |
msgid ""
|
1779 |
"Use our CSV Import Tool to bulk Import tracking info to orders from a CSV "
|
1780 |
"file"
|
1782 |
"Verwenden Sie unser CSV-Import-Tool, um Tracking-Informationen in "
|
1783 |
"Bestellungen aus einer CSV-Datei zu importieren"
|
1784 |
|
1785 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:363
|
1786 |
+
msgid "Use the tracking page in the customer email/my account tracking link"
|
1787 |
+
msgstr ""
|
1788 |
+
"Verwenden Sie die Tracking-Seite im Kunden-E-Mail- / Mein Account-Tracking-"
|
1789 |
+
"Link"
|
1790 |
+
|
1791 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:516
|
1792 |
msgid "Use tracking number as a link"
|
1793 |
msgstr ""
|
1794 |
"Verwenden Sie die Tracking-Nummer als Link\n"
|
1795 |
|
1796 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:752
|
1797 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:767
|
1798 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:782
|
1799 |
+
#: includes/views/admin_options_bulk_upload.php:87
|
1800 |
msgid "view details"
|
1801 |
msgstr ""
|
1802 |
"Details anzeigen\n"
|
1803 |
|
1804 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:1526
|
1805 |
+
msgid "View more on TrackShip"
|
1806 |
+
msgstr ""
|
1807 |
+
"Erfahren Sie mehr über TrackShip\n"
|
1808 |
+
|
1809 |
+
#: includes/views/admin_options_bulk_upload.php:108
|
1810 |
msgid "View Orders"
|
1811 |
msgstr "Bestellungen anzeigen"
|
1812 |
|
1813 |
+
#: includes/views/admin_options_trackship_integration.php:16
|
1814 |
+
#: includes/views/admin_options_addons.php:137
|
1815 |
+
msgid "Watch Video"
|
1816 |
+
msgstr "Schau Video"
|
1817 |
+
|
1818 |
+
#: woocommerce-advanced-shipment-tracking.php:487
|
1819 |
+
#, php-format
|
1820 |
+
msgid ""
|
1821 |
+
"We detected %s orders that use the Delivered order status, You can reassign "
|
1822 |
+
"these orders to a different status"
|
1823 |
+
msgstr ""
|
1824 |
+
"Wir haben% s Bestellungen erkannt, die den Status \"Gelieferte Bestellung\" "
|
1825 |
+
"verwenden. Sie können diese Bestellungen einem anderen Status zuweisen"
|
1826 |
+
|
1827 |
+
#: woocommerce-advanced-shipment-tracking.php:499
|
1828 |
#, php-format
|
1829 |
msgid ""
|
1830 |
"We detected %s orders that use the Partially Shipped order status, You can "
|
1833 |
"Wir haben% s Bestellungen festgestellt, die den Status \"Teilversand\" "
|
1834 |
"verwenden. Sie können diese Bestellungen einem anderen Status zuweisen"
|
1835 |
|
1836 |
+
#: woocommerce-advanced-shipment-tracking.php:511
|
1837 |
+
#, php-format
|
1838 |
+
msgid ""
|
1839 |
+
"We detected %s orders that use the Updated Tracking order status, You can "
|
1840 |
+
"reassign these orders to a different status"
|
1841 |
+
msgstr ""
|
1842 |
+
"Wir haben% s Bestellungen festgestellt, die den Status \"Aktualisierte "
|
1843 |
+
"Nachverfolgungsbestellung\" verwenden. Sie können diese Bestellungen einem "
|
1844 |
+
"anderen Status zuweisen"
|
1845 |
+
|
1846 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:873
|
1847 |
+
msgid "Wrong Shipping Provider"
|
1848 |
+
msgstr "Falscher Versandanbieter"
|
1849 |
|
1850 |
+
#: includes/class-wc-advanced-shipment-tracking.php:384
|
1851 |
+
#: includes/class-wc-advanced-shipment-tracking.php:387
|
1852 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:467
|
1853 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:467
|
1854 |
msgid "Y-m-d"
|
1855 |
+
msgstr ""
|
1856 |
|
1857 |
+
#: includes/views/admin_status_notifications.php:116
|
1858 |
+
msgid ""
|
1859 |
+
"You already have delivered order status email enabled, to enable this email "
|
1860 |
+
"you'll need to disable the delivered order status email in settings."
|
1861 |
+
msgstr ""
|
1862 |
+
|
1863 |
+
#: includes/views/admin_options_tools.php:14
|
1864 |
+
msgid ""
|
1865 |
+
"You can send all your orders from the last 30 days to get shipment status "
|
1866 |
+
"from TrackShip:"
|
1867 |
+
msgstr ""
|
1868 |
+
"Sie können alle Ihre Bestellungen der letzten 30 Tage senden, um den "
|
1869 |
+
"Sendungsstatus von TrackShip zu erhalten:\n"
|
1870 |
+
|
1871 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:235
|
1872 |
msgid "You can upload only csv file."
|
1873 |
msgstr "Sie können nur CSV-Dateien hochladen."
|
1874 |
|
1875 |
+
#: includes/views/admin_options_shipping_provider.php:82
|
1876 |
+
#: includes/views/admin_options_shipping_provider.php:130
|
1877 |
msgid ""
|
1878 |
"You can use the variables %number%, %postal_code% and %country_code% in the "
|
1879 |
"URL, for more info, check our "
|
1881 |
"You can use the variables %number%, %postal_code% and %country_code% in the "
|
1882 |
"URL, for more info, check our "
|
1883 |
|
1884 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1903
|
|
|
1885 |
#, php-format
|
1886 |
msgid "You did not create any %s shipping providers yet."
|
1887 |
msgstr "Sie haben noch keine% s Versandanbieter erstellt."
|
1888 |
|
1889 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1906
|
1890 |
+
#: includes/views/admin_options_shipping_provider.php:45
|
1891 |
#, php-format
|
1892 |
msgid "You don't have any %s shipping providers."
|
1893 |
msgstr "Sie haben keine% s Versandanbieter."
|
1894 |
|
1895 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:1024
|
1896 |
+
#, php-format
|
1897 |
+
msgid "You got %s %s orders with shipment status “TrackShip connection issue”"
|
1898 |
+
msgstr ""
|
1899 |
+
"Sie haben% s% s Bestellungen mit dem Sendungsstatus \"TrackShip-"
|
1900 |
+
"Verbindungsproblem\" erhalten."
|
1901 |
+
|
1902 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:1015
|
1903 |
+
#, php-format
|
1904 |
+
msgid "You got %s %s orders with shipment status “TrackShip balance is 0”"
|
1905 |
+
msgstr ""
|
1906 |
+
"Sie haben% s% s Bestellungen mit dem Sendungsstatus \"TrackShip-Guthaben ist "
|
1907 |
+
"0\" erhalten."
|
1908 |
+
|
1909 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:1006
|
1910 |
+
#, php-format
|
1911 |
+
msgid ""
|
1912 |
+
"You got %s %s orders with tracking info that were not sent to track on "
|
1913 |
+
"TrackShip"
|
1914 |
+
msgstr ""
|
1915 |
+
"Sie haben% s% s Bestellungen mit Tracking-Informationen erhalten, die nicht "
|
1916 |
+
"an TrackShip gesendet wurden"
|
1917 |
+
|
1918 |
+
#: includes/views/admin_trackship_dashboard.php:13
|
1919 |
+
#, php-format
|
1920 |
+
msgid ""
|
1921 |
+
"You have %s Shipped Orders from the last 30 days that you can bulk send to "
|
1922 |
+
"<a href=\"javascript:void(0);\" class=\"tool_link\">Get Shipment Status</a>"
|
1923 |
+
msgstr ""
|
1924 |
+
"Sie haben% s Versandaufträge aus den letzten 30 Tagen, die Sie per "
|
1925 |
+
"Massenversand an <a href = \"javascript: void (0);\" senden können. class = "
|
1926 |
+
"\"tool_link\"> Sendungsstatus abrufen </a>"
|
1927 |
+
|
1928 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:341
|
1929 |
+
msgid ""
|
1930 |
+
"You must add the shortcode [wcast-track-order] to the selected page in order "
|
1931 |
+
"for the tracking page to work."
|
1932 |
+
msgstr ""
|
1933 |
+
"Sie müssen der ausgewählten Seite den Shortcode [wcast-track-order] "
|
1934 |
+
"hinzufügen, damit die Tracking-Seite funktioniert."
|
1935 |
+
|
1936 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:126
|
1937 |
+
msgid "Your order #{order_number} has been delivered"
|
1938 |
+
msgstr ""
|
1939 |
+
"Ihre Bestellung Nr. {Order_number} wurde geliefert\n"
|
1940 |
+
|
1941 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:125
|
1942 |
+
msgid "Your order #{order_number} has returned to sender"
|
1943 |
+
msgstr ""
|
1944 |
+
"Ihre Bestellung Nr. {Order_number} wurde an den Absender zurückgeschickt\n"
|
1945 |
+
|
1946 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:125
|
1947 |
+
msgid "Your order #{order_number} is available for pickup"
|
1948 |
+
msgstr "Ihre Bestellnummer {order_number} steht zur Abholung bereit"
|
1949 |
+
|
1950 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:125
|
1951 |
+
msgid "Your order #{order_number} is Failed Attempt"
|
1952 |
+
msgstr "Ihre Bestellung Nr. {Order_number} ist fehlgeschlagen"
|
1953 |
+
|
1954 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:128
|
1955 |
+
msgid "Your order #{order_number} is in transit"
|
1956 |
+
msgstr ""
|
1957 |
+
"Ihre Bestellung Nr. {Order_number} ist in Bearbeitung\n"
|
1958 |
|
1959 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:128
|
1960 |
+
msgid "Your order #{order_number} is on hold"
|
1961 |
+
msgstr "Ihre Bestellnummer {Bestellnummer} wird gehalten"
|
1962 |
+
|
1963 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:127
|
1964 |
+
msgid "Your order #{order_number} is out for delivery"
|
1965 |
+
msgstr ""
|
1966 |
+
"Ihre Bestellung Nr. {Order_number} ist nicht lieferbar\n"
|
1967 |
+
|
1968 |
+
#: includes/customizer/class-wc-email-customizer.php:120
|
1969 |
+
#: includes/emails/class-shipment-delivered-email.php:94
|
1970 |
+
msgid "Your {site_title} order is now delivered"
|
1971 |
+
msgstr ""
|
1972 |
+
"Ihre {site_title} Bestellung wird jetzt geliefert\n"
|
1973 |
+
|
1974 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:118
|
1975 |
msgid "Your {site_title} order is now partially shipped"
|
1976 |
msgstr ""
|
1977 |
"Ihre {site_title} Bestellung wird jetzt teilweise versendet\n"
|
1978 |
|
1979 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:118
|
1980 |
msgid "Your {site_title} order is now updated tracking"
|
1981 |
msgstr ""
|
1982 |
"Ihre {site_title} Bestellung wird jetzt nachverfolgt\n"
|
|
|
|
|
|
|
|
lang/woo-advanced-shipment-tracking-el.mo
CHANGED
Binary file
|
lang/woo-advanced-shipment-tracking-el.po
CHANGED
@@ -3,8 +3,8 @@ msgstr ""
|
|
3 |
"Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
"POT-Creation-Date: 2020-11-11 09:34+0000\n"
|
6 |
-
"PO-Revision-Date:
|
7 |
-
"Last-Translator: John
|
8 |
"Language-Team: Greek\n"
|
9 |
"Language: el\n"
|
10 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
@@ -12,531 +12,619 @@ 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.
|
16 |
|
17 |
-
|
18 |
-
#: includes/views/admin_options_shipping_provider.php:
|
19 |
#, php-format
|
20 |
msgid "<a href=\"%s\" target=\"blank\">documentation</a>"
|
21 |
msgstr "τεκμηρίωση"
|
22 |
|
23 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
msgid "Actions"
|
25 |
msgstr "Actions"
|
26 |
|
27 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
28 |
-
msgid "
|
29 |
-
msgstr "
|
30 |
|
31 |
-
#: includes/views/admin_options_shipping_provider.php:
|
32 |
-
msgid ""
|
33 |
-
"Add API name aliases to map Shipping providers names with the provider names "
|
34 |
-
"that are updated in the shipment tracking API by external shipping services"
|
35 |
msgstr ""
|
36 |
-
"Προσθέστε ψευδώνυμα ονόματος API στο χάρτη Ονόματα παρόχων αποστολής με "
|
37 |
-
"ονόματα παρόχων που ενημερώνονται στο API παρακολούθησης αποστολών από "
|
38 |
-
"εξωτερικές υπηρεσίες αποστολής"
|
39 |
|
40 |
-
#: includes/class-wc-advanced-shipment-tracking-
|
41 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
42 |
msgid "Add Custom Provider"
|
43 |
msgstr "Προσθήκη προσαρμοσμένου παροχέα"
|
44 |
|
45 |
-
|
46 |
-
msgid ""
|
47 |
-
"
|
48 |
-
"customers with an easy way to track their orders. Shipment tracking Info "
|
49 |
-
"will appear in customers accounts (in the order panel) and in WooCommerce "
|
50 |
-
"order complete email."
|
51 |
-
msgstr ""
|
52 |
-
"Προσθέστε πληροφορίες παρακολούθησης αποστολών στις παραγγελίες σας στο "
|
53 |
-
"WooCommerce και παρέχετε στους πελάτες έναν εύκολο τρόπο παρακολούθησης των "
|
54 |
-
"παραγγελιών τους. Οι πληροφορίες παρακολούθησης αποστολής θα εμφανίζονται "
|
55 |
-
"στους λογαριασμούς πελατών (στον πίνακα παραγγελιών) και στο πλήρες email "
|
56 |
-
"της παραγγελίας WooCommerce."
|
57 |
-
|
58 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:815
|
59 |
-
msgid "add the [wcast-track-order] shortcode in the selected page."
|
60 |
-
msgstr ""
|
61 |
-
"προσθέστε τον σύντομο κωδικό [wcast-track-order] στην επιλεγμένη σελίδα."
|
62 |
|
63 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
64 |
msgid "Add Tracking"
|
65 |
msgstr "Add Tracking"
|
66 |
|
67 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:
|
68 |
msgid "Add Tracking - order\t"
|
69 |
msgstr "Add Tracking - order\t"
|
70 |
|
71 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
72 |
-
msgid "Add Tracking
|
73 |
-
msgstr "Προσθήκη Παρακολούθησης"
|
74 |
-
|
75 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:605
|
76 |
-
msgid ""
|
77 |
-
"Add Tracking Information in AST meta fields when you automatically sync "
|
78 |
-
"tracking numbers from aliexpress orders"
|
79 |
-
msgstr ""
|
80 |
-
"Προσθέστε πληροφορίες παρακολούθησης στα μετα -πεδία AST όταν συγχρονίζετε "
|
81 |
-
"αυτόματα τους αριθμούς παρακολούθησης από παραγγελίες aliexpress"
|
82 |
-
|
83 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:615
|
84 |
-
msgid ""
|
85 |
-
"Add tracking information in invoice PDF generate by WooCommerce PDF Invoices "
|
86 |
-
"& Packing Slips plugin By Ewout Fernhout"
|
87 |
-
msgstr ""
|
88 |
-
"Προσθέστε πληροφορίες παρακολούθησης στο τιμολόγιο PDF που δημιουργούνται "
|
89 |
-
"από την προσθήκη WooCommerce PDF Invoices & Packing Slips By Ewout Fernhout"
|
90 |
-
|
91 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:625
|
92 |
-
msgid ""
|
93 |
-
"Add tracking information in invoice PDF generate by WooCommerce PDF Invoices "
|
94 |
-
"plugin By Bas Elbers"
|
95 |
-
msgstr ""
|
96 |
-
"Προσθέστε πληροφορίες παρακολούθησης στο τιμολόγιο PDF που δημιουργείται από "
|
97 |
-
"την προσθήκη WooCommerce PDF Invoices By Bas Elbers"
|
98 |
-
|
99 |
-
#: includes/views/admin_options_settings.php:16
|
100 |
-
msgid "Add Tracking Options"
|
101 |
-
msgstr "Προσθήκη επιλογών παρακολούθησης"
|
102 |
-
|
103 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:933
|
104 |
-
msgid "Add Tracking Order action"
|
105 |
-
msgstr "Προσθέστε ενέργεια εντολής παρακολούθησης"
|
106 |
-
|
107 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:585
|
108 |
-
msgid ""
|
109 |
-
"Adding tracking information to your orders shipped with 3plwinner and "
|
110 |
-
"automate your workflow"
|
111 |
-
msgstr ""
|
112 |
-
"Προσθέτοντας πληροφορίες παρακολούθησης στις παραγγελίες σας που "
|
113 |
-
"αποστέλλονται με 3plwinner και αυτοματοποιήστε τη ροή εργασίας σας"
|
114 |
-
|
115 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:545
|
116 |
-
msgid ""
|
117 |
-
"Adding tracking information to your orders shipped with CustomCat and "
|
118 |
-
"automate your workflow"
|
119 |
-
msgstr ""
|
120 |
-
"Προσθέτοντας πληροφορίες παρακολούθησης στις παραγγελίες σας που "
|
121 |
-
"αποστέλλονται με CustomCat και αυτοματοποιήστε τη ροή εργασίας σας"
|
122 |
-
|
123 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:555
|
124 |
-
msgid ""
|
125 |
-
"Adding tracking information to your orders shipped with Dear Systems and "
|
126 |
-
"automate your workflow"
|
127 |
-
msgstr ""
|
128 |
-
"Προσθέτοντας πληροφορίες παρακολούθησης στις παραγγελίες σας που "
|
129 |
-
"αποστέλλονται με Dear Systems και αυτοματοποιήστε τη ροή εργασίας σας"
|
130 |
-
|
131 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:595
|
132 |
-
msgid ""
|
133 |
-
"Adding tracking information to your orders shipped with Dianxiaomi and "
|
134 |
-
"automate your workflow"
|
135 |
-
msgstr ""
|
136 |
-
"Προσθέτοντας πληροφορίες παρακολούθησης στις παραγγελίες σας που "
|
137 |
-
"αποστέλλονται με Dianxiaomi και αυτοματοποιήστε τη ροή εργασίας σας"
|
138 |
-
|
139 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:575
|
140 |
-
msgid ""
|
141 |
-
"Adding tracking information to your orders shipped with Picqer and automate "
|
142 |
-
"your workflow"
|
143 |
-
msgstr ""
|
144 |
-
"Προσθέτοντας πληροφορίες παρακολούθησης στις παραγγελίες σας που "
|
145 |
-
"αποστέλλονται με Picqer και αυτοματοποιήστε τη ροή εργασίας σας"
|
146 |
-
|
147 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:565
|
148 |
-
msgid ""
|
149 |
-
"Adding tracking information to your orders shipped with Printify and "
|
150 |
-
"automate your workflow"
|
151 |
-
msgstr ""
|
152 |
-
"Προσθέτοντας πληροφορίες παρακολούθησης στις παραγγελίες σας που "
|
153 |
-
"αποστέλλονται με Printify και αυτοματοποιήστε τη ροή εργασίας σας"
|
154 |
-
|
155 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:515
|
156 |
-
msgid ""
|
157 |
-
"Adding tracking information to your orders shipped with QuickBooks Commerce "
|
158 |
-
"and automate your workflow"
|
159 |
-
msgstr ""
|
160 |
-
"Προσθέτοντας πληροφορίες παρακολούθησης στις παραγγελίες σας που "
|
161 |
-
"αποστέλλονται με το QuickBooks Commerce και αυτοματοποιήστε τη ροή εργασίας "
|
162 |
-
"σας"
|
163 |
-
|
164 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:525
|
165 |
-
msgid ""
|
166 |
-
"Adding tracking information to your orders shipped with ReadyToShip and "
|
167 |
-
"automate your workflow"
|
168 |
-
msgstr ""
|
169 |
-
"Προσθέτοντας πληροφορίες παρακολούθησης στις παραγγελίες σας που "
|
170 |
-
"αποστέλλονται με το ReadyToShip και αυτοματοποιήστε τη ροή εργασίας σας"
|
171 |
-
|
172 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:535
|
173 |
-
msgid ""
|
174 |
-
"Adding tracking information to your orders shipped with Royal Mail Click & "
|
175 |
-
"Drop and automate your workflow"
|
176 |
-
msgstr ""
|
177 |
-
"Προσθέτοντας πληροφορίες παρακολούθησης στις παραγγελίες σας που "
|
178 |
-
"αποστέλλονται με Royal Mail Click & Drop και αυτοματοποιήστε τη ροή εργασίας "
|
179 |
-
"σας"
|
180 |
-
|
181 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:475
|
182 |
-
msgid ""
|
183 |
-
"Adding tracking information to your orders shipped with ShipStation and "
|
184 |
-
"automate your workflow"
|
185 |
msgstr ""
|
186 |
-
"Προσθέτοντας πληροφορίες παρακολούθησης στις παραγγελίες σας που "
|
187 |
-
"αποστέλλονται με ShipStation και αυτοματοποιήστε τη ροή εργασίας σας"
|
188 |
|
189 |
-
#: includes/class-wc-advanced-shipment-tracking
|
190 |
-
msgid ""
|
191 |
-
"
|
192 |
-
"to the Shipment Tracking and automate your workflow"
|
193 |
-
msgstr ""
|
194 |
-
"Προσθήκη πληροφοριών παρακολούθησης στις παραγγελίες σας που αποστέλλονται "
|
195 |
-
"με WooCommerce Shipping στην παρακολούθηση αποστολών και αυτοματοποιήστε τη "
|
196 |
-
"ροή εργασίας σας"
|
197 |
-
|
198 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:505
|
199 |
-
msgid ""
|
200 |
-
"Adding tracking information to your orders when generating shipping labels "
|
201 |
-
"using the Ordoro"
|
202 |
-
msgstr ""
|
203 |
-
"Προσθήκη πληροφοριών παρακολούθησης στις παραγγελίες σας κατά τη δημιουργία "
|
204 |
-
"ετικετών αποστολής χρησιμοποιώντας το Ordoro"
|
205 |
|
206 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
"Shipping με προσθήκη ετικέτας Print από την PluginHive"
|
215 |
|
216 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
217 |
msgid "Additional text after header"
|
218 |
msgstr "Πρόσθετο κείμενο μετά την κεφαλίδα"
|
219 |
|
|
|
|
|
|
|
|
|
220 |
#. Name of the plugin
|
221 |
msgid "Advanced Shipment Tracking for WooCommerce"
|
222 |
-
msgstr "
|
223 |
|
224 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
225 |
msgid "After Order Details"
|
226 |
msgstr "Μετά από Λεπτομέρειες Παραγγελίας"
|
227 |
|
228 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
229 |
-
msgid "API aliases"
|
230 |
-
msgstr "Ψευδώνυμα API"
|
231 |
-
|
232 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:1055
|
233 |
msgid "API Date Format"
|
234 |
-
msgstr "
|
235 |
|
236 |
-
#: includes/
|
|
|
237 |
msgid "API Name"
|
238 |
msgstr "Όνομα API"
|
239 |
|
240 |
-
#: includes/
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
#: includes/
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
249 |
msgid "Available variables:"
|
250 |
msgstr "Διαθέσιμες μεταβλητές:"
|
251 |
|
252 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
253 |
msgid "Before Order Details"
|
254 |
msgstr "Πριν από τις λεπτομέρειες της παραγγελίας"
|
255 |
|
256 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
257 |
msgid "Border color"
|
258 |
msgstr ""
|
259 |
"Χρώμα πλαισίου\n"
|
260 |
|
261 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
262 |
msgid "Border size"
|
263 |
msgstr ""
|
264 |
"Μέγεθος περιθωρίου\n"
|
265 |
|
266 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
267 |
msgid "Bottom border color"
|
268 |
msgstr "Το χρώμα του κάτω ορίου"
|
269 |
|
270 |
-
#: includes/
|
|
|
|
|
|
|
|
|
271 |
msgid "Button color"
|
272 |
-
msgstr "
|
273 |
|
274 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
275 |
msgid "Button font color"
|
276 |
-
msgstr "
|
277 |
|
278 |
-
#: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:
|
279 |
msgid "Cannot create existing order shipment tracking."
|
280 |
msgstr ""
|
281 |
"Δεν είναι δυνατή η δημιουργία της υπάρχουσας παρακολούθησης αποστολής "
|
282 |
"παραγγελιών."
|
283 |
|
284 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
285 |
msgid "Change order status to"
|
286 |
msgstr "Change order status to"
|
287 |
|
288 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:
|
289 |
msgid "Change status to shipped"
|
290 |
msgstr "Αλλάξτε την κατάσταση αποστολής"
|
291 |
|
292 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
293 |
msgid "Choose for which Order status to display"
|
294 |
-
msgstr "
|
295 |
|
296 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
297 |
msgid "Choose the Shipped Date format"
|
298 |
msgstr "Επιλέξτε τη μορφή αποστολής ημερομηνίας"
|
299 |
|
300 |
-
#: includes/class-
|
|
|
|
|
|
|
|
|
301 |
msgid "Completed"
|
302 |
msgstr "Ολοκληρώθηκε το"
|
303 |
|
304 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
305 |
msgid "Content"
|
306 |
msgstr "Περιεχόμενο"
|
307 |
|
308 |
#: includes/customizer/class-wc-tracking-info-customizer.php:807
|
309 |
msgid "Content Background color"
|
310 |
-
msgstr "
|
311 |
|
312 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
313 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
314 |
msgid "Content font color"
|
315 |
msgstr "Το χρώμα γραμματοσειράς περιεχομένου"
|
316 |
|
317 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
318 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
319 |
msgid "Content font size"
|
320 |
msgstr "Μέγεθος γραμματοσειράς περιεχομένου"
|
321 |
|
322 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
323 |
msgid "Content font weight"
|
324 |
msgstr ""
|
325 |
"Βάρος γραμματοσειράς περιεχομένου\n"
|
326 |
|
327 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
328 |
msgid "Content line height"
|
329 |
msgstr ""
|
330 |
"Το ύψος της γραμμής περιεχομένου\n"
|
331 |
|
332 |
-
#: includes/views/admin_options_bulk_upload.php:
|
333 |
msgid "Continue"
|
334 |
msgstr "Να συνεχίσει"
|
335 |
|
336 |
-
#: includes/
|
337 |
msgid "Country"
|
338 |
msgstr "Country"
|
339 |
|
340 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
341 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
342 |
-
#: includes/
|
|
|
|
|
|
|
343 |
msgid "CSV Import"
|
344 |
msgstr "Εισαγωγή CSV"
|
345 |
|
346 |
-
#: includes/views/admin_options_shipping_provider.php:65
|
347 |
-
msgid "Custom API name"
|
348 |
-
msgstr "Προσαρμοσμένο όνομα API"
|
349 |
-
|
350 |
#: includes/views/admin_options_shipping_provider.php:61
|
|
|
351 |
msgid "Custom display name"
|
352 |
msgstr "Προσαρμοσμένο εμφανιζόμενο όνομα"
|
353 |
|
354 |
-
#: includes/customizer/class-wcast-customizer.php:
|
355 |
msgid "Custom order status email"
|
356 |
-
msgstr "
|
357 |
|
358 |
-
#: includes/
|
359 |
-
|
360 |
-
|
|
|
361 |
|
362 |
-
#: includes/views/
|
363 |
-
msgid "
|
364 |
-
msgstr "
|
365 |
|
366 |
-
#: includes/
|
367 |
-
|
368 |
-
|
369 |
-
msgstr "Προσαρμόστε"
|
370 |
|
371 |
-
#: includes/views/admin_options_osm.php:
|
|
|
|
|
372 |
msgid "Dark Font"
|
373 |
msgstr ""
|
374 |
"Σκούρα γραμματοσειρά\n"
|
375 |
|
376 |
-
#: includes/class-wc-advanced-shipment-tracking-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
377 |
msgid "Data saved successfully."
|
378 |
msgstr "Τα δεδομένα αποθηκεύτηκαν με επιτυχία."
|
379 |
|
380 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
381 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:
|
382 |
msgid "Date shipped:"
|
383 |
msgstr "Ημερομηνία αποστολής:"
|
384 |
|
385 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
386 |
-
|
387 |
-
msgid "
|
388 |
msgstr "Προκαθορισμένο"
|
389 |
|
390 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
391 |
msgid "Delivered"
|
392 |
msgstr "Παραδόθηκε"
|
393 |
|
394 |
-
#: includes/class-wc-advanced-shipment-tracking-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
395 |
msgid "Display Name"
|
396 |
msgstr "Εμφανιζόμενο όνομα"
|
397 |
|
398 |
-
#: includes/customizer/class-wc-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
399 |
msgid "Display shipping provider image"
|
400 |
msgstr "Εμφανίστε την εικόνα του προμηθευτή αποστολής"
|
401 |
|
402 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
403 |
msgid "Display shipping provider name"
|
404 |
msgstr "Εμφάνιση ονόματος παρόχου αποστολής"
|
405 |
|
406 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
407 |
msgid "Download sample csv"
|
408 |
msgstr "Λήψη δείγματος csv"
|
409 |
|
410 |
-
#: includes/
|
411 |
-
msgid "
|
412 |
-
msgstr "
|
413 |
-
|
414 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
415 |
msgid "Edit Shipping Provider"
|
416 |
msgstr "Επεξεργασία παρόχου αποστολής"
|
417 |
|
418 |
-
#: includes/customizer/class-wc-
|
419 |
-
#: includes/customizer/class-wc-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
420 |
msgid "Email content"
|
421 |
msgstr "Περιεχόμενο email"
|
422 |
|
423 |
-
#: includes/customizer/class-wc-
|
424 |
-
|
425 |
-
|
|
|
|
|
|
|
|
|
|
|
426 |
|
427 |
-
#: includes/customizer/class-wc-
|
428 |
-
msgid "
|
429 |
-
msgstr "
|
430 |
|
431 |
-
#: includes/
|
432 |
-
msgid "Enable
|
433 |
-
msgstr "Ενεργοποιήστε
|
434 |
|
435 |
-
#: includes/class-wc-
|
436 |
-
msgid "Enable
|
437 |
-
msgstr "
|
438 |
|
439 |
-
#: includes/
|
440 |
-
msgid "Enable
|
441 |
-
msgstr "
|
442 |
|
443 |
-
#: includes/class-wc-
|
444 |
-
msgid "Enable
|
445 |
-
msgstr "
|
446 |
|
447 |
-
#: includes/class-wc-
|
448 |
-
msgid "Enable
|
449 |
-
msgstr "
|
|
|
450 |
|
451 |
-
#: includes/class-wc-
|
452 |
-
msgid "Enable
|
453 |
-
msgstr "
|
454 |
|
455 |
-
#: includes/class-wc-
|
456 |
-
msgid "Enable
|
457 |
-
msgstr "Ενεργοποιήστε την
|
458 |
|
459 |
-
#: includes/class-wc-
|
460 |
-
msgid "Enable
|
461 |
-
msgstr "
|
462 |
|
463 |
-
#: includes/class-wc-
|
464 |
-
msgid "Enable
|
465 |
-
msgstr "
|
466 |
|
467 |
-
#: includes/class-wc-
|
468 |
-
msgid "Enable
|
469 |
-
msgstr "
|
470 |
|
471 |
-
#: includes/class-wc-
|
472 |
-
msgid "Enable
|
473 |
-
msgstr "
|
474 |
|
475 |
-
#: includes/class-wc-
|
476 |
-
msgid "Enable
|
477 |
-
msgstr "
|
478 |
|
479 |
-
#: includes/class-wc-advanced-shipment-tracking-
|
480 |
-
msgid "Enable
|
481 |
-
msgstr "
|
482 |
|
483 |
-
#: includes/class-wc-
|
484 |
-
msgid ""
|
485 |
-
"Enable the WooCommerce UPS Shipping Plugin with Print Label plugin "
|
486 |
-
"integration"
|
487 |
msgstr ""
|
488 |
-
"Ενεργοποιήστε το
|
489 |
-
"Print Label"
|
490 |
|
491 |
-
#: includes/
|
492 |
-
msgid "
|
493 |
msgstr ""
|
494 |
-
"
|
495 |
|
496 |
-
#: includes/
|
497 |
-
msgid "
|
498 |
msgstr ""
|
499 |
-
"Ενεργοποιήστε το ενημερωμένο email κατάστασης εντολής παρακολούθησης\n"
|
500 |
|
501 |
-
#: includes/class-wc-advanced-shipment-tracking-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
502 |
msgid "Filter by shipping provider"
|
503 |
msgstr "Φιλτράρισμα ανά πάροχο αποστολής"
|
504 |
|
505 |
-
#:
|
506 |
-
|
507 |
-
|
|
|
|
|
508 |
|
509 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
510 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:429
|
511 |
msgid "General Settings"
|
512 |
msgstr "Γενικές Ρυθμίσεις"
|
513 |
|
514 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
515 |
msgid "Global"
|
516 |
msgstr "Παγκόσμια"
|
517 |
|
518 |
-
#: includes/class-wc-
|
519 |
-
|
520 |
-
|
521 |
-
|
522 |
-
#: includes/customizer/class-wc-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
523 |
msgid "Headers background color"
|
524 |
-
msgstr "
|
525 |
|
526 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
527 |
msgid "Headers font color"
|
528 |
msgstr ""
|
529 |
"Χρώμα γραμματοσειράς κεφαλίδων\n"
|
530 |
|
531 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
532 |
msgid "Headers font size"
|
533 |
msgstr "Κεφάλαιο μέγεθος γραμματοσειράς"
|
534 |
|
535 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
536 |
msgid "Headers font weight"
|
537 |
-
msgstr "
|
538 |
|
539 |
-
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:
|
540 |
msgid ""
|
541 |
"Hi there. we thought you'd like to know that the shipment tracking for your "
|
542 |
"recent order from {site_title} has been updated."
|
@@ -544,7 +632,16 @@ msgstr ""
|
|
544 |
"Γεια σου. σκεφτήκαμε ότι θα θέλατε να μάθετε ότι η παρακολούθηση αποστολής "
|
545 |
"για την πρόσφατη παραγγελία σας από {site_title} έχει ενημερωθεί.\n"
|
546 |
|
547 |
-
#: includes/customizer/class-wc-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
548 |
msgid ""
|
549 |
"Hi there. we thought you'd like to know that your recent order from "
|
550 |
"{site_title} has been partially shipped."
|
@@ -552,55 +649,130 @@ msgstr ""
|
|
552 |
"Γεια σου. σκεφτήκαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
|
553 |
"από {site_title} έχει αποσταλεί εν μέρει.\n"
|
554 |
|
555 |
-
#: includes/class-wc-
|
556 |
-
|
557 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
558 |
msgid "hide details"
|
559 |
msgstr "Κρύψε τις λεπτομέρειες"
|
560 |
|
561 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
562 |
msgid "Hide Table Headers"
|
563 |
msgstr "Απόκρυψη κεφαλίδων πίνακα"
|
564 |
|
565 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
|
|
566 |
#| msgid "Hide the ship date"
|
567 |
msgid "Hide the shipped date"
|
568 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
569 |
|
570 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
571 |
msgid "Hide Tracking Header"
|
572 |
msgstr "Απόκρυψη κεφαλίδας παρακολούθησης"
|
573 |
|
574 |
-
#: includes/
|
575 |
-
msgid "How to
|
576 |
-
msgstr "Πώς να
|
577 |
-
|
578 |
-
#. Author URI of the plugin
|
579 |
-
msgid "https://www.zorem.com"
|
580 |
-
msgstr "https://www.zorem.com"
|
581 |
|
582 |
-
|
583 |
-
msgid "
|
584 |
-
|
|
|
|
|
|
|
|
|
|
|
585 |
|
586 |
-
#: includes/views/admin_options_bulk_upload.php:
|
587 |
msgid "Import in Progress"
|
588 |
msgstr "Εισαγωγή σε εξέλιξη"
|
589 |
|
590 |
-
#: includes/
|
591 |
-
|
592 |
-
|
593 |
-
|
594 |
-
#: includes/
|
595 |
-
|
596 |
-
|
597 |
-
|
598 |
|
599 |
-
#: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:
|
600 |
msgid "Invalid order ID."
|
601 |
msgstr "Μη έγκυρο αναγνωριστικό παραγγελίας."
|
602 |
|
603 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
604 |
msgid ""
|
605 |
"Keep unchecked for the tracking info to be added to any existing tracking "
|
606 |
"info added to the orders."
|
@@ -609,356 +781,598 @@ msgstr ""
|
|
609 |
"σε τυχόν υπάρχουσες πληροφορίες παρακολούθησης που έχουν προστεθεί στις "
|
610 |
"παραγγελίες."
|
611 |
|
612 |
-
#: includes/class-wc-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
613 |
msgid "License"
|
614 |
msgstr "Αδεια"
|
615 |
|
616 |
-
#: includes/views/admin_options_osm.php:
|
|
|
|
|
617 |
msgid "Light Font"
|
618 |
msgstr "Φως γραμματοσειράς"
|
619 |
|
620 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
|
|
621 |
msgid "Mark as Completed?"
|
622 |
msgstr "Σημειώστε ως ολοκληρωμένο;"
|
623 |
|
624 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
625 |
msgid "Mark as Shipped"
|
626 |
msgstr "Επισήμανση ως αποσταλεί"
|
627 |
|
628 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
|
|
629 |
msgid "Mark as Shipped?"
|
630 |
msgstr "Ορίστε ως αποστολέα;"
|
631 |
|
632 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
633 |
msgid "Mark order as delivered"
|
634 |
msgstr "Επισήμανση παραγγελίας ως παραδοθείσας"
|
635 |
|
636 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
|
|
637 |
msgid "Mark order as:"
|
638 |
msgstr "Σημειώστε την τάξη ως:"
|
639 |
|
640 |
-
#: includes/customizer/class-
|
641 |
msgid "Mockup Order"
|
642 |
-
msgstr "
|
643 |
|
644 |
-
#: includes/class-
|
645 |
-
|
|
|
|
|
|
|
646 |
msgid "more info"
|
647 |
msgstr ""
|
648 |
"περισσότερες πληροφορίες\n"
|
649 |
|
650 |
-
#: includes/
|
651 |
-
msgid "
|
|
|
|
|
652 |
msgstr ""
|
653 |
-
"
|
654 |
-
|
655 |
-
|
656 |
-
|
657 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
658 |
|
659 |
#: includes/class-wc-advanced-shipment-tracking-admin.php:1030
|
660 |
-
msgid "
|
661 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
662 |
|
663 |
#. %s: Order ID.
|
664 |
-
#: templates/emails/wcast-email-order-details.php:
|
665 |
#, php-format
|
666 |
msgid "Order number: %s"
|
667 |
msgstr ""
|
668 |
"Αριθμός παραγγελίας:% s\n"
|
669 |
|
670 |
-
#: includes/class-
|
671 |
-
|
672 |
-
|
673 |
-
msgid "Order Statuses"
|
674 |
-
msgstr "Καταστάσεις παραγγελίας"
|
675 |
|
676 |
-
|
677 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
678 |
-
#: includes/class-wc-advanced-shipment-tracking.php:1269
|
679 |
#, php-format
|
680 |
-
|
681 |
-
|
682 |
-
msgstr ""
|
683 |
-
"Η παραγγελία στάλθηκε με %1 $ s και ο αριθμός παρακολούθησης είναι: %2 $ s"
|
684 |
|
685 |
-
#: includes/
|
|
|
|
|
|
|
|
|
686 |
msgid "Other"
|
687 |
msgstr "Αλλα"
|
688 |
|
689 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
690 |
msgid "Partial Shipped"
|
691 |
msgstr "Μερική αποστολή"
|
692 |
|
693 |
-
#: includes/class-wc-advanced-shipment-tracking-
|
694 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:
|
695 |
-
#: includes/class-wc-
|
696 |
-
#: includes/
|
697 |
msgid "Partially Shipped"
|
698 |
msgstr "Μερικώς αποστέλλονται"
|
699 |
|
700 |
-
|
701 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:135
|
702 |
#, php-format
|
703 |
msgid "Partially Shipped <span class=\"count\">(%s)</span>"
|
704 |
msgid_plural "Partially Shipped <span class=\"count\">(%s)</span>"
|
705 |
msgstr[0] "Μερική αποστολή <span class = \"count\"> (% s) </ span>"
|
706 |
msgstr[1] "Μερική αποστολή <span class = \"count\"> (% s) </ span>"
|
707 |
|
708 |
-
#: includes/class-wc-advanced-shipment-tracking-
|
709 |
-
|
710 |
-
"
|
711 |
-
"
|
712 |
-
msgstr ""
|
713 |
-
"Ενσωμάτωση τιμολογίων PDF για την προσθήκη WooCommerce PDF Invoices & "
|
714 |
-
"Packing Slips By Ewout Fernhout"
|
715 |
-
|
716 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:624
|
717 |
-
msgid ""
|
718 |
-
"PDF invoices integration for WooCommerce PDF Invoices plugin By Bas Elbers"
|
719 |
-
msgstr ""
|
720 |
-
"Ενσωμάτωση τιμολογίων PDF για την προσθήκη WooCommerce PDF Invoices By Bas "
|
721 |
-
"Elbers"
|
722 |
|
723 |
-
|
724 |
-
#: woocommerce-advanced-shipment-tracking.php:181
|
725 |
#, php-format
|
726 |
msgid ""
|
727 |
-
"Please install and activate %
|
728 |
-
"
|
729 |
msgstr ""
|
730 |
-
"Εγκαταστήστε και ενεργοποιήστε το% 1 $ sWooCommerce% 2 $ s για το Advanced "
|
731 |
-
"Shipment Tracking για το WooCommerce!"
|
732 |
|
733 |
-
#: includes/customizer/class-wc-
|
734 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
735 |
msgid "Please select order to preview."
|
736 |
msgstr "Επιλέξτε παραγγελία για προεπισκόπηση."
|
737 |
|
738 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
739 |
msgid "Please upload a valid CSV file."
|
740 |
msgstr "Ανεβάστε ένα έγκυρο αρχείο CSV."
|
741 |
|
742 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
743 |
msgid "Preview:"
|
744 |
msgstr "Επισκόπηση:"
|
745 |
|
746 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
747 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:
|
748 |
msgid "Product Code:"
|
749 |
msgstr "Κωδικός προϊόντος:"
|
750 |
|
751 |
-
#: includes/
|
752 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
753 |
-
#:
|
754 |
-
#: templates/
|
|
|
755 |
msgid "Provider"
|
756 |
msgstr "Μεταφορέας"
|
757 |
|
758 |
-
#:
|
759 |
-
#: templates/
|
760 |
-
#: templates/myaccount/tracking-info.php:198
|
761 |
msgid "Provider Name"
|
762 |
msgstr "Ονομα πάροχου"
|
763 |
|
764 |
-
#: includes/views/admin_options_shipping_provider.php:
|
765 |
msgid "Providers Added"
|
766 |
msgstr "Προστέθηκαν παροχείς"
|
767 |
|
768 |
-
#: includes/views/admin_options_shipping_provider.php:
|
769 |
msgid "Providers Deleted"
|
770 |
msgstr "Οι πάροχοι έχουν διαγραφεί"
|
771 |
|
772 |
-
#: includes/views/admin_options_shipping_provider.php:
|
773 |
msgid "Providers Updated"
|
774 |
msgstr "Οι προμηθευτές ενημερώθηκαν"
|
775 |
|
776 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
777 |
msgid "Really delete this entry? This will not be undo."
|
778 |
msgstr "Να διαγραφεί πραγματικά αυτή η καταχώριση; Αυτό δεν θα αναιρεθεί."
|
779 |
|
780 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
781 |
msgid "Rename the “Completed” Order status label to “Shipped”"
|
782 |
msgstr ""
|
783 |
-
"Μετονομάστε την ετικέτα κατάστασης παραγγελίας που ολοκληρώθηκε σε "
|
784 |
-
"\"Αποστολή\""
|
785 |
|
786 |
-
#: includes/views/admin_options_bulk_upload.php:
|
787 |
msgid "Replace tracking information?"
|
788 |
msgstr "Replace tracking information?Αντικατάσταση πληροφοριών παρακολούθησης;"
|
789 |
|
790 |
-
#: includes/
|
|
|
|
|
|
|
|
|
791 |
msgid "Reset"
|
792 |
msgstr "Reset"
|
793 |
|
794 |
-
#: includes/views/admin_options_shipping_provider.php:
|
795 |
msgid ""
|
796 |
"Reset providers database, it will reset all your shipping provider database"
|
797 |
msgstr ""
|
798 |
"Επαναφέρετε τη βάση δεδομένων παρόχων, θα επαναφέρει όλες τις βάσεις "
|
799 |
"δεδομένων παρόχων αποστολής"
|
800 |
|
801 |
-
#: includes/
|
802 |
-
#: includes/
|
803 |
-
#: includes/
|
804 |
-
#: includes/
|
805 |
-
|
806 |
-
|
|
|
|
|
|
|
807 |
|
808 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
809 |
msgid "Save Tracking"
|
810 |
msgstr "Αποθήκευση Παρακολούθησης"
|
811 |
|
812 |
-
#: includes/views/admin_options_shipping_provider.php:
|
813 |
msgid "Search by provider / country"
|
814 |
msgstr "Αναζήτηση ανά προμηθευτή / χώρα"
|
815 |
|
816 |
-
#: includes/customizer/class-wc-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
817 |
msgid "Select email type"
|
818 |
-
msgstr "
|
819 |
|
820 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
821 |
msgid "Select Provider"
|
822 |
msgstr "Επιλογή Παροχέα"
|
823 |
|
824 |
-
#: includes/customizer/class-wc-
|
|
|
|
|
|
|
|
|
825 |
msgid "Select Template"
|
826 |
msgstr ""
|
827 |
"Επιλέξτε Πρότυπο\n"
|
828 |
|
829 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
830 |
msgid "Send Email"
|
831 |
msgstr ""
|
832 |
"Να στείλετε e-mail\n"
|
833 |
|
834 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
835 |
msgid ""
|
836 |
"Set the \"mark as shipped\" option checked when adding tracking info to "
|
837 |
"orders"
|
838 |
msgstr ""
|
839 |
-
"Ορίστε την επιλογή \"σήμανση ως αποσταλεί\" κατά την προσθήκη πληροφοριών "
|
840 |
-
"παρακολούθησης σε παραγγελίες"
|
841 |
|
842 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
843 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
844 |
-
#: includes/views/admin_options_settings.php:
|
845 |
msgid "Settings"
|
846 |
-
msgstr "
|
847 |
|
848 |
-
#: includes/views/admin_options_bulk_upload.php:
|
849 |
msgid "Settings Saved."
|
850 |
msgstr "Οι Ρυθμίσεις Αποθηκεύτηκαν"
|
851 |
|
852 |
-
|
853 |
-
#:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
854 |
#, php-format
|
855 |
msgid "Shipment status changed to %s"
|
856 |
msgstr "Η κατάσταση αποστολής άλλαξε στο% s"
|
857 |
|
858 |
-
#: includes/class-
|
859 |
-
|
860 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
861 |
msgid "Shipment Tracking"
|
862 |
msgstr "Παρακολούθηση Αποστολής"
|
863 |
|
864 |
-
#: includes/
|
865 |
-
|
866 |
-
|
867 |
-
|
868 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:849
|
869 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:945
|
870 |
-
#: includes/class-wc-advanced-shipment-tracking.php:467
|
871 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:263
|
872 |
msgid "Shipped"
|
873 |
msgstr "Αποστέλλονται"
|
874 |
|
875 |
-
|
876 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:283
|
877 |
#, php-format
|
878 |
msgid "Shipped <span class=\"count\">(%s)</span>"
|
879 |
msgid_plural "Shipped <span class=\"count\">(%s)</span>"
|
880 |
msgstr[0] "Αποστέλλονται <span class = \"count\"> (% s) </ span>"
|
881 |
msgstr[1] "Αποστέλλονται <span class = \"count\"> (% s) </ span>"
|
882 |
|
883 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
884 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
885 |
msgid "Shipped Date"
|
886 |
msgstr ""
|
887 |
"Ημερομηνία αποστολής\n"
|
888 |
|
889 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
|
|
890 |
#| msgid "Ship date header text"
|
891 |
msgid "Shipped date header text"
|
892 |
-
msgstr "
|
|
|
893 |
|
894 |
#. 1: shipping date
|
895 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
896 |
#, php-format
|
897 |
msgid "Shipped on %s"
|
898 |
msgstr "Στάλθηκε στις %s"
|
899 |
|
900 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
901 |
msgid "Shipped on {ship_date} via {shipping_provider} - {tracking_number_link}"
|
902 |
msgstr ""
|
903 |
"Αποστέλλονται στις {ship_date} μέσω {shipping_provider} - "
|
904 |
"{tracking_number_link}"
|
905 |
|
906 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
907 |
msgid "Shipped Order"
|
908 |
msgstr "Αποστολή παραγγελίας"
|
909 |
|
910 |
-
#: includes/views/admin_options_shipping_provider.php:
|
|
|
911 |
msgid "Shipping Country"
|
912 |
msgstr "Χώρα αποστολής"
|
913 |
|
914 |
#: includes/views/admin_options_shipping_provider.php:58
|
|
|
915 |
msgid "Shipping Provider"
|
916 |
msgstr "Πάροχος αποστολών"
|
917 |
|
918 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
919 |
msgid "Shipping provider header text"
|
920 |
-
msgstr "
|
921 |
|
922 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
923 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:
|
924 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:
|
925 |
msgid "Shipping Provider:"
|
926 |
msgstr "Πάροχος υπηρεσιών:"
|
927 |
|
928 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
929 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
930 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
|
|
|
|
931 |
msgid "Shipping Providers"
|
932 |
msgstr "Πάροχοι αποστολών"
|
933 |
|
934 |
-
#: includes/views/admin_options_shipping_provider.php:
|
935 |
-
msgid "Shipping Providers & Carriers"
|
936 |
-
msgstr "Πάροχοι & Μεταφορείς Ναυτιλίας"
|
937 |
-
|
938 |
-
#: includes/views/admin_options_shipping_provider.php:120
|
939 |
msgid "Shipping providers database reset successfully."
|
940 |
msgstr ""
|
941 |
"Η επαναφορά βάσης δεδομένων παρόχων αποστολής ολοκληρώθηκε με επιτυχία."
|
942 |
|
943 |
-
#: includes/customizer/class-wc-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
944 |
msgid "Show bottom border"
|
945 |
msgstr "Εμφάνιση περιθωρίου κάτω"
|
946 |
|
947 |
-
#: includes/customizer/class-wc-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
948 |
msgid "Simple Layout Design"
|
949 |
msgstr ""
|
950 |
"Απλό σχέδιο διάταξης\n"
|
951 |
|
952 |
-
#: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:
|
953 |
msgid "Special character not allowd in tracking number"
|
954 |
msgstr "Ειδικός χαρακτήρας που δεν επιτρέπεται στον αριθμό καταδίωξης"
|
955 |
|
956 |
-
#: includes/views/
|
957 |
-
#: includes/views/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
958 |
msgid "Sync Shipping Providers"
|
959 |
msgstr "Sync Shipping Providers"
|
960 |
|
961 |
-
#: includes/views/admin_options_shipping_provider.php:
|
962 |
msgid ""
|
963 |
"Syncing the shipping providers list add or updates the pre-set shipping "
|
964 |
"providers and will not effect custom shipping providers."
|
@@ -967,162 +1381,363 @@ msgstr ""
|
|
967 |
"προκαθορισμένους παροχείς αποστολής και δεν θα επηρεάσει τους "
|
968 |
"προσαρμοσμένους παροχείς αποστολής."
|
969 |
|
970 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
971 |
msgid "Table Content"
|
972 |
msgstr "Περιεχόμενο πίνακα"
|
973 |
|
974 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
975 |
msgid "Table Design Options"
|
976 |
-
msgstr "
|
977 |
|
978 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
|
|
979 |
#| msgid "Table Headers"
|
980 |
msgid "Table Header"
|
981 |
msgstr "Κεφαλίδες στον πίνακα"
|
982 |
|
983 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
984 |
msgid "Table Layout"
|
985 |
msgstr ""
|
986 |
"Διάταξη πίνακα\n"
|
987 |
|
988 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
989 |
msgid "Table Options"
|
990 |
-
msgstr "
|
991 |
|
992 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
993 |
msgid "Text align"
|
994 |
-
msgstr "
|
995 |
|
996 |
-
#: includes/
|
|
|
997 |
msgid ""
|
998 |
-
"The custom
|
999 |
-
"
|
1000 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1001 |
msgstr ""
|
1002 |
-
"
|
1003 |
-
"
|
1004 |
-
|
|
|
|
|
|
|
1005 |
|
1006 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:
|
1007 |
msgid "There are some issue with sync, Please Retry."
|
1008 |
msgstr "Υπάρχει κάποιο ζήτημα με συγχρονισμό, δοκιμάστε ξανά."
|
1009 |
|
1010 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
1011 |
msgid "This browser does not support HTML5."
|
1012 |
msgstr "Αυτό το πρόγραμμα περιήγησης δεν υποστηρίζει HTML5."
|
1013 |
|
1014 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
1015 |
-
|
1016 |
-
|
1017 |
-
|
1018 |
-
|
1019 |
-
|
1020 |
-
|
1021 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1022 |
msgid "Track"
|
1023 |
msgstr "Παρακολούθηση"
|
1024 |
|
1025 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1026 |
msgid "Track Button"
|
1027 |
-
msgstr "
|
1028 |
|
1029 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1030 |
msgid "Track Header"
|
1031 |
-
msgstr "
|
1032 |
|
1033 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1034 |
msgid "Track header text"
|
1035 |
msgstr ""
|
1036 |
"Κείμενο κεφαλίδας παρακολούθησης\n"
|
1037 |
|
1038 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
1039 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
1040 |
msgid "Track Shipment"
|
1041 |
msgstr "Παρακολούθηση αποστολής"
|
1042 |
|
1043 |
-
#: includes/
|
1044 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1045 |
msgid "Tracking display layout"
|
1046 |
msgstr "Παρακολούθηση της διάταξης προβολής"
|
1047 |
|
1048 |
-
#: includes/
|
|
|
|
|
|
|
|
|
1049 |
msgid "Tracking Display Position"
|
1050 |
msgstr "Παρακολούθηση θέσης προβολής"
|
1051 |
|
1052 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1053 |
msgid "Tracking Header text"
|
1054 |
msgstr ""
|
1055 |
"Κείμενο κεφαλίδας εντοπισμού\n"
|
1056 |
|
1057 |
-
#: includes/customizer/class-wcast-customizer.php:
|
|
|
1058 |
msgid "Tracking info display"
|
1059 |
msgstr "Παρακολούθηση πληροφοριών εμφάνισης"
|
1060 |
|
1061 |
-
|
1062 |
-
|
|
|
|
|
|
|
|
|
|
|
1063 |
#, php-format
|
1064 |
-
#| msgid ""
|
1065 |
-
#| "Tracking info was deleted for tracking provider %s with tracking number %s"
|
1066 |
msgid ""
|
1067 |
-
"Tracking info was deleted for tracking provider %
|
1068 |
-
"%2$s"
|
1069 |
msgstr ""
|
1070 |
-
"Οι πληροφορίες παρακολούθησης διαγράφηκαν για τον
|
1071 |
-
"
|
1072 |
|
1073 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1074 |
msgid "Tracking Information"
|
1075 |
msgstr "Πληροφορίες Παρακολούθησης"
|
1076 |
|
1077 |
-
#: includes/
|
1078 |
-
|
1079 |
-
|
1080 |
-
|
|
|
|
|
|
|
|
|
1081 |
msgid "Tracking Number"
|
1082 |
msgstr "Αριθμός"
|
1083 |
|
1084 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
|
|
1085 |
#| msgid "Tracking Number header text"
|
1086 |
msgid "Tracking number header text"
|
1087 |
-
msgstr "
|
|
|
1088 |
|
1089 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
1090 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:
|
1091 |
msgid "Tracking number:"
|
1092 |
msgstr "Αριθμός Παρακολούθησης:"
|
1093 |
|
1094 |
-
#: includes/class-wc-advanced-shipment-tracking-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1095 |
msgid "TrackShip"
|
1096 |
msgstr "TrackShip"
|
1097 |
|
1098 |
-
#: includes/views/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1099 |
msgid "Update"
|
1100 |
msgstr "Update"
|
1101 |
|
1102 |
-
#: includes/class-wc-advanced-shipment-tracking-
|
1103 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:
|
1104 |
-
#: includes/class-wc-
|
1105 |
-
#: includes/
|
1106 |
msgid "Updated Tracking"
|
1107 |
msgstr "Ενημερωμένη παρακολούθηση"
|
1108 |
|
1109 |
-
|
1110 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:120
|
1111 |
#, php-format
|
1112 |
msgid "Updated Tracking <span class=\"count\">(%s)</span>"
|
1113 |
msgid_plural "Updated Tracking <span class=\"count\">(%s)</span>"
|
1114 |
msgstr[0] "Ενημερωμένη παρακολούθηση <span class = \"count\"> (% s) </ span>"
|
1115 |
msgstr[1] "Ενημερωμένη παρακολούθηση <span class = \"count\"> (% s) </ span>"
|
1116 |
|
1117 |
-
#: includes/views/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1118 |
msgid "Upload a CSV file from your computer:"
|
1119 |
msgstr "Upload a CSV file from your computer:"
|
1120 |
|
1121 |
-
#: includes/views/admin_options_bulk_upload.php:
|
1122 |
msgid "Upload again"
|
1123 |
msgstr "Μεταφόρτωση ξανά"
|
1124 |
|
1125 |
-
#: includes/views/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1126 |
msgid ""
|
1127 |
"Use our CSV Import Tool to bulk Import tracking info to orders from a CSV "
|
1128 |
"file"
|
@@ -1130,23 +1745,47 @@ msgstr ""
|
|
1130 |
"Χρησιμοποιήστε το εργαλείο εισαγωγής CSV για μαζική εισαγωγή πληροφοριών "
|
1131 |
"παρακολούθησης σε παραγγελίες από ένα αρχείο CSV"
|
1132 |
|
1133 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
1134 |
msgid "Use tracking number as a link"
|
1135 |
msgstr "Χρησιμοποιήστε τον αριθμό παρακολούθησης ως σύνδεσμο"
|
1136 |
|
1137 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:
|
1138 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:
|
1139 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:
|
1140 |
-
#: includes/views/admin_options_bulk_upload.php:
|
1141 |
msgid "view details"
|
1142 |
msgstr "δείτε λεπτομέρειες"
|
1143 |
|
1144 |
-
#: includes/
|
|
|
|
|
|
|
|
|
1145 |
msgid "View Orders"
|
1146 |
msgstr "Προβολή παραγγελιών"
|
1147 |
|
1148 |
-
|
1149 |
-
#:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1150 |
#, php-format
|
1151 |
msgid ""
|
1152 |
"We detected %s orders that use the Partially Shipped order status, You can "
|
@@ -1155,23 +1794,47 @@ msgstr ""
|
|
1155 |
"Εντοπίσαμε παραγγελίες% s που χρησιμοποιούν την κατάσταση μερικής αποστολής. "
|
1156 |
"Μπορείτε να εκχωρήσετε ξανά αυτές τις παραγγελίες σε διαφορετική κατάσταση"
|
1157 |
|
1158 |
-
#:
|
1159 |
-
|
1160 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1161 |
|
1162 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
1163 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
1164 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:
|
1165 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:
|
1166 |
msgid "Y-m-d"
|
1167 |
-
msgstr "
|
1168 |
|
1169 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1170 |
msgid "You can upload only csv file."
|
1171 |
msgstr "Μπορείτε να ανεβάσετε μόνο αρχείο csv."
|
1172 |
|
1173 |
-
|
1174 |
-
#: includes/views/admin_options_shipping_provider.php:
|
1175 |
msgid ""
|
1176 |
"You can use the variables %number%, %postal_code% and %country_code% in the "
|
1177 |
"URL, for more info, check our "
|
@@ -1179,31 +1842,100 @@ msgstr ""
|
|
1179 |
"Μπορείτε να χρησιμοποιήσετε τις μεταβλητές% number%,% postal_code% and% "
|
1180 |
"country_code% στη διεύθυνση URL, για περισσότερες πληροφορίες, ανατρέξτε στο"
|
1181 |
|
1182 |
-
|
1183 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:1990
|
1184 |
#, php-format
|
1185 |
msgid "You did not create any %s shipping providers yet."
|
1186 |
msgstr "Δεν έχετε δημιουργήσει παρόχους αποστολής% s ακόμη."
|
1187 |
|
1188 |
-
|
1189 |
-
#: includes/
|
1190 |
#, php-format
|
1191 |
msgid "You don't have any %s shipping providers."
|
1192 |
msgstr "Δεν διαθέτετε παρόχους ναυτιλίας% s."
|
1193 |
|
1194 |
-
#: includes/
|
1195 |
-
|
1196 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1197 |
|
1198 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1199 |
msgid "Your {site_title} order is now partially shipped"
|
1200 |
msgstr "Η παραγγελία σας {site_title} αποστέλλεται τώρα εν μέρει"
|
1201 |
|
1202 |
-
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:
|
1203 |
msgid "Your {site_title} order is now updated tracking"
|
1204 |
msgstr ""
|
1205 |
"Η παραγγελία σας {site_title} είναι πλέον ενημερωμένη παρακολούθηση\n"
|
1206 |
-
|
1207 |
-
#. Author of the plugin
|
1208 |
-
msgid "zorem"
|
1209 |
-
msgstr "Ζορέμ"
|
3 |
"Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
"POT-Creation-Date: 2020-11-11 09:34+0000\n"
|
6 |
+
"PO-Revision-Date: 2020-12-07 09:40+0000\n"
|
7 |
+
"Last-Translator: John\n"
|
8 |
"Language-Team: Greek\n"
|
9 |
"Language: el\n"
|
10 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
12 |
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
"Content-Transfer-Encoding: 8bit\n"
|
14 |
"X-Generator: Loco https://localise.biz/\n"
|
15 |
+
"X-Loco-Version: 2.4.4; wp-5.5.3"
|
16 |
|
17 |
+
#: includes/views/admin_options_shipping_provider.php:82
|
18 |
+
#: includes/views/admin_options_shipping_provider.php:130
|
19 |
#, php-format
|
20 |
msgid "<a href=\"%s\" target=\"blank\">documentation</a>"
|
21 |
msgstr "τεκμηρίωση"
|
22 |
|
23 |
+
#: includes/views/admin_options_addons.php:139
|
24 |
+
#: includes/views/trackship_sidebar.php:14
|
25 |
+
msgid "Account Dashboard"
|
26 |
+
msgstr "Πίνακας ελέγχου λογαριασμού"
|
27 |
+
|
28 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1744
|
29 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1823
|
30 |
msgid "Actions"
|
31 |
msgstr "Actions"
|
32 |
|
33 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1745
|
34 |
+
msgid "Active"
|
35 |
+
msgstr "Ενεργός"
|
36 |
|
37 |
+
#: includes/views/admin_options_shipping_provider.php:22
|
38 |
+
msgid "Active Providers"
|
|
|
|
|
39 |
msgstr ""
|
|
|
|
|
|
|
40 |
|
41 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:386
|
42 |
+
#: includes/views/admin_tracking_page_settings.php:71
|
43 |
+
msgid "Add a link to the Shipping provider page"
|
44 |
+
msgstr "Προσθέστε έναν σύνδεσμο στη σελίδα του Προμηθευτή αποστολής"
|
45 |
+
|
46 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1728
|
47 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1904
|
48 |
msgid "Add Custom Provider"
|
49 |
msgstr "Προσθήκη προσαρμοσμένου παροχέα"
|
50 |
|
51 |
+
#: includes/views/admin_options_shipping_provider.php:51
|
52 |
+
msgid "Add Custom Shipping Provider"
|
53 |
+
msgstr "Προσθήκη Προσαρμοσμένου Μεταφορέα"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
|
55 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1647
|
56 |
msgid "Add Tracking"
|
57 |
msgstr "Add Tracking"
|
58 |
|
59 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:429
|
60 |
msgid "Add Tracking - order\t"
|
61 |
msgstr "Add Tracking - order\t"
|
62 |
|
63 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1019
|
64 |
+
msgid "Add Tracking action "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
65 |
msgstr ""
|
|
|
|
|
66 |
|
67 |
+
#: includes/class-wc-advanced-shipment-tracking.php:328
|
68 |
+
msgid "Add Tracking Info"
|
69 |
+
msgstr "Προσθήκη Παρακολούθησης"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
70 |
|
71 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:312
|
72 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:334
|
73 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:429
|
74 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:433
|
75 |
+
#: includes/views/admin_options_addons.php:115
|
76 |
+
#: includes/views/admin_options_addons.php:121
|
77 |
+
msgid "Add-ons"
|
78 |
+
msgstr "Πρόσθετα"
|
|
|
79 |
|
80 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:274
|
81 |
msgid "Additional text after header"
|
82 |
msgstr "Πρόσθετο κείμενο μετά την κεφαλίδα"
|
83 |
|
84 |
+
#: includes/views/admin_status_notifications.php:141
|
85 |
+
msgid "Admin Notifications"
|
86 |
+
msgstr "Ειδοποιήσεις διαχειριστή"
|
87 |
+
|
88 |
#. Name of the plugin
|
89 |
msgid "Advanced Shipment Tracking for WooCommerce"
|
90 |
+
msgstr ""
|
91 |
|
92 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:217
|
93 |
msgid "After Order Details"
|
94 |
msgstr "Μετά από Λεπτομέρειες Παραγγελίας"
|
95 |
|
96 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1044
|
|
|
|
|
|
|
|
|
97 |
msgid "API Date Format"
|
98 |
+
msgstr "API Date Format"
|
99 |
|
100 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1739
|
101 |
+
#: includes/views/admin_options_shipping_provider.php:109
|
102 |
msgid "API Name"
|
103 |
msgstr "Όνομα API"
|
104 |
|
105 |
+
#: includes/views/admin_status_notifications.php:230
|
106 |
+
msgid "As it Happens"
|
107 |
+
msgstr "Καθώς συμβαίνει"
|
108 |
+
|
109 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:470
|
110 |
+
msgid ""
|
111 |
+
"Automatically set the Order Status to Delivered when the shipment is "
|
112 |
+
"delivered "
|
113 |
+
msgstr ""
|
114 |
+
"Ορίστε αυτόματα την κατάσταση παραγγελίας σε παράδοση κατά την παράδοση της "
|
115 |
+
"αποστολής"
|
116 |
+
|
117 |
+
#: includes/views/admin_trackship_dashboard.php:33
|
118 |
+
msgid "Automation"
|
119 |
+
msgstr "Αυτοματοποίηση"
|
120 |
+
|
121 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:764
|
122 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:846
|
123 |
+
#: includes/customizer/class-wcast-customizer.php:104
|
124 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:126
|
125 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:195
|
126 |
+
#: includes/views/admin_status_notifications.php:82
|
127 |
+
msgid "Available For Pickup"
|
128 |
+
msgstr ""
|
129 |
+
"Διαθέσιμο για παραλαβή\n"
|
130 |
+
|
131 |
+
#. %s: list of placeholders
|
132 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:205
|
133 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:229
|
134 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:274
|
135 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:205
|
136 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:229
|
137 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:274
|
138 |
+
#: includes/customizer/class-wc-email-customizer.php:246
|
139 |
+
#: includes/customizer/class-wc-email-customizer.php:270
|
140 |
+
#: includes/customizer/class-wc-email-customizer.php:315
|
141 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:204
|
142 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:228
|
143 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:273
|
144 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:258
|
145 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:282
|
146 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:327
|
147 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:206
|
148 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:230
|
149 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:275
|
150 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:204
|
151 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:228
|
152 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:272
|
153 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:357
|
154 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:202
|
155 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:226
|
156 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:251
|
157 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:271
|
158 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:204
|
159 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:228
|
160 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:253
|
161 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:273
|
162 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:207
|
163 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:231
|
164 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:276
|
165 |
+
#: includes/emails/class-shipment-delivered-email.php:274
|
166 |
+
#: includes/emails/class-shipment-delivered-email.php:283
|
167 |
+
#: includes/views/admin_status_notifications.php:212
|
168 |
msgid "Available variables:"
|
169 |
msgstr "Διαθέσιμες μεταβλητές:"
|
170 |
|
171 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:216
|
172 |
msgid "Before Order Details"
|
173 |
msgstr "Πριν από τις λεπτομέρειες της παραγγελίας"
|
174 |
|
175 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:550
|
176 |
msgid "Border color"
|
177 |
msgstr ""
|
178 |
"Χρώμα πλαισίου\n"
|
179 |
|
180 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:567
|
181 |
msgid "Border size"
|
182 |
msgstr ""
|
183 |
"Μέγεθος περιθωρίου\n"
|
184 |
|
185 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:427
|
186 |
msgid "Bottom border color"
|
187 |
msgstr "Το χρώμα του κάτω ορίου"
|
188 |
|
189 |
+
#: includes/views/admin_options_shipping_provider.php:23
|
190 |
+
msgid "Browse Providers"
|
191 |
+
msgstr ""
|
192 |
+
|
193 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:960
|
194 |
msgid "Button color"
|
195 |
+
msgstr ""
|
196 |
|
197 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:977
|
198 |
msgid "Button font color"
|
199 |
+
msgstr ""
|
200 |
|
201 |
+
#: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:388
|
202 |
msgid "Cannot create existing order shipment tracking."
|
203 |
msgstr ""
|
204 |
"Δεν είναι δυνατή η δημιουργία της υπάρχουσας παρακολούθησης αποστολής "
|
205 |
"παραγγελιών."
|
206 |
|
207 |
+
#: includes/views/admin_status_notifications.php:130
|
208 |
+
msgid "Carrier attempted to deliver the package but failed."
|
209 |
+
msgstr ""
|
210 |
+
"Η εταιρεία κινητής τηλεφωνίας προσπάθησε να παραδώσει το πακέτο, αλλά "
|
211 |
+
"απέτυχε."
|
212 |
+
|
213 |
+
#: includes/views/admin_status_notifications.php:97
|
214 |
+
msgid "Carrier is about to deliver the shipment."
|
215 |
+
msgstr "Ο μεταφορέας πρόκειται να παραδώσει την αποστολή."
|
216 |
+
|
217 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:769
|
218 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:867
|
219 |
+
msgid "Carrier Unsupported"
|
220 |
+
msgstr "Η εταιρεία κινητής τηλεφωνίας δεν υποστηρίζεται"
|
221 |
+
|
222 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1683
|
223 |
msgid "Change order status to"
|
224 |
msgstr "Change order status to"
|
225 |
|
226 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:358
|
227 |
msgid "Change status to shipped"
|
228 |
msgstr "Αλλάξτε την κατάσταση αποστολής"
|
229 |
|
230 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1045
|
231 |
msgid "Choose for which Order status to display"
|
232 |
+
msgstr ""
|
233 |
|
234 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1020
|
235 |
+
msgid "Choose for which Order status to display Add Tracking action button"
|
236 |
+
msgstr ""
|
237 |
+
|
238 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1012
|
239 |
+
msgid "Choose on which order emails to include the shipment tracking info"
|
240 |
+
msgstr ""
|
241 |
+
|
242 |
+
#: includes/views/admin_options_bulk_upload.php:34
|
243 |
msgid "Choose the Shipped Date format"
|
244 |
msgstr "Επιλέξτε τη μορφή αποστολής ημερομηνίας"
|
245 |
|
246 |
+
#: includes/emails/class-shipment-delivered-email.php:298
|
247 |
+
msgid "Click Here"
|
248 |
+
msgstr "Κάντε κλικ ΕΔΩ"
|
249 |
+
|
250 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:420
|
251 |
msgid "Completed"
|
252 |
msgstr "Ολοκληρώθηκε το"
|
253 |
|
254 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:599
|
255 |
+
#: includes/views/trackship_sidebar.php:13
|
256 |
+
msgid "Connected"
|
257 |
+
msgstr ""
|
258 |
+
"Συνδεδεμένος\n"
|
259 |
+
|
260 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:337
|
261 |
msgid "Content"
|
262 |
msgstr "Περιεχόμενο"
|
263 |
|
264 |
#: includes/customizer/class-wc-tracking-info-customizer.php:807
|
265 |
msgid "Content Background color"
|
266 |
+
msgstr ""
|
267 |
|
268 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:392
|
269 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:824
|
270 |
msgid "Content font color"
|
271 |
msgstr "Το χρώμα γραμματοσειράς περιεχομένου"
|
272 |
|
273 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:374
|
274 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:841
|
275 |
msgid "Content font size"
|
276 |
msgstr "Μέγεθος γραμματοσειράς περιεχομένου"
|
277 |
|
278 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:881
|
279 |
msgid "Content font weight"
|
280 |
msgstr ""
|
281 |
"Βάρος γραμματοσειράς περιεχομένου\n"
|
282 |
|
283 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:859
|
284 |
msgid "Content line height"
|
285 |
msgstr ""
|
286 |
"Το ύψος της γραμμής περιεχομένου\n"
|
287 |
|
288 |
+
#: includes/views/admin_options_bulk_upload.php:57
|
289 |
msgid "Continue"
|
290 |
msgstr "Να συνεχίσει"
|
291 |
|
292 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1741
|
293 |
msgid "Country"
|
294 |
msgstr "Country"
|
295 |
|
296 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:308
|
297 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:310
|
298 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:327
|
299 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:411
|
300 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:415
|
301 |
+
#: includes/views/admin_options_bulk_upload.php:11
|
302 |
msgid "CSV Import"
|
303 |
msgstr "Εισαγωγή CSV"
|
304 |
|
|
|
|
|
|
|
|
|
305 |
#: includes/views/admin_options_shipping_provider.php:61
|
306 |
+
#: includes/views/admin_options_shipping_provider.php:106
|
307 |
msgid "Custom display name"
|
308 |
msgstr "Προσαρμοσμένο εμφανιζόμενο όνομα"
|
309 |
|
310 |
+
#: includes/customizer/class-wcast-customizer.php:73
|
311 |
msgid "Custom order status email"
|
312 |
+
msgstr ""
|
313 |
|
314 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:706
|
315 |
+
#: includes/views/admin_options_settings.php:46
|
316 |
+
msgid "Custom Order Statuses"
|
317 |
+
msgstr "Κατάσταση προσαρμοσμένης παραγγελίας"
|
318 |
|
319 |
+
#: includes/views/admin_options_shipping_provider.php:24
|
320 |
+
msgid "Custom Providers"
|
321 |
+
msgstr ""
|
322 |
|
323 |
+
#: includes/views/admin_status_notifications.php:234
|
324 |
+
msgid "Daily Digest on"
|
325 |
+
msgstr "Ημερήσιο Digest στις"
|
|
|
326 |
|
327 |
+
#: includes/views/admin_options_osm.php:37
|
328 |
+
#: includes/views/admin_options_osm.php:80
|
329 |
+
#: includes/views/admin_options_osm.php:120
|
330 |
msgid "Dark Font"
|
331 |
msgstr ""
|
332 |
"Σκούρα γραμματοσειρά\n"
|
333 |
|
334 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:1495
|
335 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:1503
|
336 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:1520
|
337 |
+
msgid "data not available."
|
338 |
+
msgstr "τα δεδομένα δεν είναι διαθέσιμα."
|
339 |
+
|
340 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:159
|
341 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:229
|
342 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:233
|
343 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:353
|
344 |
msgid "Data saved successfully."
|
345 |
msgstr "Τα δεδομένα αποθηκεύτηκαν με επιτυχία."
|
346 |
|
347 |
+
#: includes/class-wc-advanced-shipment-tracking.php:383
|
348 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:466
|
349 |
msgid "Date shipped:"
|
350 |
msgstr "Ημερομηνία αποστολής:"
|
351 |
|
352 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1742
|
353 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1822
|
354 |
+
msgid "Default"
|
355 |
msgstr "Προκαθορισμένο"
|
356 |
|
357 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:875
|
358 |
+
msgid "Default \"mark as <span class=\"shipped_label\">completed</span>\""
|
359 |
+
msgstr ""
|
360 |
+
"Προεπιλεγμένο \"mark as <span class =\" shipped_label \"> ολοκληρωμένο "
|
361 |
+
"</span>\""
|
362 |
+
|
363 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:871
|
364 |
+
msgid "Default \"mark as <span class=\"shipped_label\">shipped</span>\""
|
365 |
+
msgstr ""
|
366 |
+
"Προεπιλεγμένο \"mark as <span class =\" shipped_label \"> shipped </span>\""
|
367 |
+
|
368 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:134
|
369 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:179
|
370 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:766
|
371 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:840
|
372 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1671
|
373 |
+
#: includes/customizer/class-wcast-customizer.php:119
|
374 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:127
|
375 |
+
#: includes/customizer/class-wc-email-customizer.php:184
|
376 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:197
|
377 |
+
#: includes/views/admin_status_notifications.php:112
|
378 |
+
#: includes/views/admin_options_osm.php:17
|
379 |
msgid "Delivered"
|
380 |
msgstr "Παραδόθηκε"
|
381 |
|
382 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:139
|
383 |
+
#, php-format
|
384 |
+
msgid "Delivered <span class=\"count\">(%s)</span>"
|
385 |
+
msgid_plural "Delivered <span class=\"count\">(%s)</span>"
|
386 |
+
msgstr[0] "Παραδόθηκε <span class = \"count\"> (% s) </ span>"
|
387 |
+
msgstr[1] "Παραδόθηκε <span class = \"count\"> (% s) </ span>"
|
388 |
+
|
389 |
+
#: includes/emails/class-shipment-delivered-email.php:32
|
390 |
+
msgid "Delivered order"
|
391 |
+
msgstr "Παραδοθείσα παραγγελία"
|
392 |
+
|
393 |
+
#: includes/views/front/layout1_tracking_details.php:8
|
394 |
+
msgid "Destination Details"
|
395 |
+
msgstr "Λεπτομέρειες προορισμού"
|
396 |
+
|
397 |
+
#: includes/customizer/class-wc-email-customizer.php:389
|
398 |
+
msgid "Display Billing Address"
|
399 |
+
msgstr "Εμφάνιση της διεύθυνσης χρέωσης"
|
400 |
+
|
401 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1738
|
402 |
msgid "Display Name"
|
403 |
msgstr "Εμφανιζόμενο όνομα"
|
404 |
|
405 |
+
#: includes/customizer/class-wc-email-customizer.php:351
|
406 |
+
msgid "Display order details"
|
407 |
+
msgstr "Εμφάνιση λεπτομερειών παραγγελίας"
|
408 |
+
|
409 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:437
|
410 |
+
msgid "Display Shipment Status Filter on Orders admin"
|
411 |
+
msgstr "Εμφάνιση φίλτρου κατάστασης αποστολής στο διαχειριστή παραγγελιών"
|
412 |
+
|
413 |
+
#: includes/customizer/class-wc-email-customizer.php:370
|
414 |
+
msgid "Display Shipping Address"
|
415 |
+
msgstr "Εμφάνιση της διεύθυνσης αποστολής"
|
416 |
+
|
417 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:480
|
418 |
msgid "Display shipping provider image"
|
419 |
msgstr "Εμφανίστε την εικόνα του προμηθευτή αποστολής"
|
420 |
|
421 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:462
|
422 |
msgid "Display shipping provider name"
|
423 |
msgstr "Εμφάνιση ονόματος παρόχου αποστολής"
|
424 |
|
425 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1029
|
426 |
+
msgid "Display Track button on the Orders history list in my-account"
|
427 |
+
msgstr ""
|
428 |
+
|
429 |
+
#: includes/customizer/class-wc-email-customizer.php:333
|
430 |
+
msgid "Display tracking details"
|
431 |
+
msgstr "Προβολή λεπτομερειών παρακολούθησης"
|
432 |
+
|
433 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:220
|
434 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:339
|
435 |
+
#: includes/views/zorem_admin_bulk_upload_sidebar.php:14
|
436 |
+
msgid "Documentation"
|
437 |
+
msgstr "Απόδειξη με έγγραφα"
|
438 |
+
|
439 |
+
#: includes/views/zorem_admin_bulk_upload_sidebar.php:13
|
440 |
msgid "Download sample csv"
|
441 |
msgstr "Λήψη δείγματος csv"
|
442 |
|
443 |
+
#: includes/views/admin_status_notifications.php:190
|
444 |
+
msgid "E.g. {admin_email}, admin@example.org"
|
445 |
+
msgstr "Π.χ. {admin_email}, admin@example.org"
|
446 |
+
|
447 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:187
|
448 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:187
|
449 |
+
#: includes/customizer/class-wc-email-customizer.php:228
|
450 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:186
|
451 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:240
|
452 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:188
|
453 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:186
|
454 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:189
|
455 |
+
msgid "E.g. {customer.email}, admin@example.org"
|
456 |
+
msgstr "Πχ: {customer.email}, admin@example.org"
|
457 |
+
|
458 |
+
#: includes/emails/class-shipment-delivered-email.php:299
|
459 |
+
msgid "Edit in customizer"
|
460 |
+
msgstr "Επεξεργασία στο customizer"
|
461 |
+
|
462 |
+
#: includes/views/admin_options_shipping_provider.php:95
|
463 |
msgid "Edit Shipping Provider"
|
464 |
msgstr "Επεξεργασία παρόχου αποστολής"
|
465 |
|
466 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:252
|
467 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:252
|
468 |
+
#: includes/customizer/class-wc-email-customizer.php:294
|
469 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:251
|
470 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:305
|
471 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:253
|
472 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:251
|
473 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:250
|
474 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:252
|
475 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:254
|
476 |
+
#: includes/views/admin_status_notifications.php:206
|
477 |
msgid "Email content"
|
478 |
msgstr "Περιεχόμενο email"
|
479 |
|
480 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:204
|
481 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:204
|
482 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:203
|
483 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:257
|
484 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:205
|
485 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:206
|
486 |
+
msgid "Email Subject"
|
487 |
+
msgstr "Το θέμα του email"
|
488 |
|
489 |
+
#: includes/customizer/class-wc-email-customizer.php:176
|
490 |
+
msgid "Email Type"
|
491 |
+
msgstr ""
|
492 |
|
493 |
+
#: includes/views/admin_tracking_page_settings.php:10
|
494 |
+
msgid "Enable a tracking page on your store"
|
495 |
+
msgstr "Ενεργοποιήστε μια σελίδα παρακολούθησης στο κατάστημά σας"
|
496 |
|
497 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:161
|
498 |
+
msgid "Enable Available For Pickup email"
|
499 |
+
msgstr "Ενεργοποίηση διαθέσιμου για παραλαβή email"
|
500 |
|
501 |
+
#: includes/views/admin_options_settings.php:47
|
502 |
+
msgid "Enable custom order statuses to streamline your fulfillment workflow"
|
503 |
+
msgstr ""
|
504 |
|
505 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:161
|
506 |
+
msgid "Enable Delivered email"
|
507 |
+
msgstr "Ενεργοποίηση παραδόσεων email"
|
508 |
|
509 |
+
#: includes/customizer/class-wc-email-customizer.php:202
|
510 |
+
msgid "Enable Delivered order status email"
|
511 |
+
msgstr ""
|
512 |
+
"Ενεργοποίηση μηνύματος ηλεκτρονικού ταχυδρομείου κατάστασης παραγγελίας\n"
|
513 |
|
514 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:160
|
515 |
+
msgid "Enable Failed Attempt email"
|
516 |
+
msgstr "Ενεργοποίηση αποτυχημένου μηνύματος ηλεκτρονικού ταχυδρομείου"
|
517 |
|
518 |
+
#: includes/customizer/class-wc-email-customizer.php:408
|
519 |
+
msgid "Enable Google Analytics tracking"
|
520 |
+
msgstr "Ενεργοποιήστε την παρακολούθηση του Google Analytics"
|
521 |
|
522 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:214
|
523 |
+
msgid "Enable In Transit email"
|
524 |
+
msgstr "Ενεργοποίηση ηλεκτρονικού ταχυδρομείου διαμετακόμισης"
|
525 |
|
526 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:163
|
527 |
+
msgid "Enable On Hold email"
|
528 |
+
msgstr "Ενεργοποίηση ηλεκτρονικού ταχυδρομείου σε αναμονή"
|
529 |
|
530 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:162
|
531 |
+
msgid "Enable Out For Delivery email"
|
532 |
+
msgstr "Ενεργοποίηση email για παράδοση"
|
533 |
|
534 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:161
|
535 |
+
msgid "Enable Partially Shipped order status email"
|
536 |
+
msgstr "Ενεργοποίηση μηνύματος κατάστασης παραγγελίας μερικής αποστολής"
|
537 |
|
538 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:160
|
539 |
+
msgid "Enable Return To Sender email"
|
540 |
+
msgstr "Ενεργοποίηση επιστροφής στο email αποστολέα"
|
541 |
|
542 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:431
|
543 |
+
msgid "Enable TrackShip"
|
544 |
+
msgstr "Ενεργοποίηση TrackShip"
|
545 |
|
546 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:162
|
547 |
+
msgid "Enable Updated Tracking order status email"
|
|
|
|
|
548 |
msgstr ""
|
549 |
+
"Ενεργοποιήστε το ενημερωμένο email κατάστασης εντολής παρακολούθησης\n"
|
|
|
550 |
|
551 |
+
#: includes/views/front/tracking_page_header.php:22
|
552 |
+
msgid "Est. Delivery Date"
|
553 |
msgstr ""
|
554 |
+
"Est. Ημερομηνία παράδοσης\n"
|
555 |
|
556 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:855
|
557 |
+
msgid "Exception"
|
558 |
msgstr ""
|
|
|
559 |
|
560 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:767
|
561 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:852
|
562 |
+
#: includes/customizer/class-wcast-customizer.php:127
|
563 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:126
|
564 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:198
|
565 |
+
#: includes/views/admin_status_notifications.php:130
|
566 |
+
msgid "Failed Attempt"
|
567 |
+
msgstr "ΑΠΟΤΥΧΗΜΕΝΗ προσπαθεια"
|
568 |
+
|
569 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:776
|
570 |
+
msgid "Filter by shipment status"
|
571 |
+
msgstr "Φιλτράρισμα κατά κατάσταση αποστολής"
|
572 |
+
|
573 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2145
|
574 |
msgid "Filter by shipping provider"
|
575 |
msgstr "Φιλτράρισμα ανά πάροχο αποστολής"
|
576 |
|
577 |
+
#: templates/tracking/tracking-form.php:12
|
578 |
+
#: templates/tracking/tracking-form.php:13
|
579 |
+
msgid "Found in your order confirmation email."
|
580 |
+
msgstr ""
|
581 |
+
"Βρέθηκε στο email επιβεβαίωσης της παραγγελίας σας.\n"
|
582 |
|
583 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1001
|
|
|
584 |
msgid "General Settings"
|
585 |
msgstr "Γενικές Ρυθμίσεις"
|
586 |
|
587 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:738
|
588 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:1007
|
589 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:1016
|
590 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:1025
|
591 |
+
msgid "Get Shipment Status"
|
592 |
+
msgstr "Λήψη κατάστασης αποστολής"
|
593 |
+
|
594 |
+
#: includes/views/admin_options_shipping_provider.php:66
|
595 |
+
#: includes/views/admin_options_shipping_provider.php:114
|
596 |
msgid "Global"
|
597 |
msgstr "Παγκόσμια"
|
598 |
|
599 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:364
|
600 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:365
|
601 |
+
#: includes/customizer/class-wc-email-customizer.php:427
|
602 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:364
|
603 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:418
|
604 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:366
|
605 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:363
|
606 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:367
|
607 |
+
msgid "Google Analytics link tracking"
|
608 |
+
msgstr "Παρακολούθηση συνδέσμου Google Analytics"
|
609 |
+
|
610 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:735
|
611 |
msgid "Headers background color"
|
612 |
+
msgstr ""
|
613 |
|
614 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:752
|
615 |
msgid "Headers font color"
|
616 |
msgstr ""
|
617 |
"Χρώμα γραμματοσειράς κεφαλίδων\n"
|
618 |
|
619 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:717
|
620 |
msgid "Headers font size"
|
621 |
msgstr "Κεφάλαιο μέγεθος γραμματοσειράς"
|
622 |
|
623 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:769
|
624 |
msgid "Headers font weight"
|
625 |
+
msgstr ""
|
626 |
|
627 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:120
|
628 |
msgid ""
|
629 |
"Hi there. we thought you'd like to know that the shipment tracking for your "
|
630 |
"recent order from {site_title} has been updated."
|
632 |
"Γεια σου. σκεφτήκαμε ότι θα θέλατε να μάθετε ότι η παρακολούθηση αποστολής "
|
633 |
"για την πρόσφατη παραγγελία σας από {site_title} έχει ενημερωθεί.\n"
|
634 |
|
635 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:128
|
636 |
+
#: includes/customizer/class-wc-email-customizer.php:122
|
637 |
+
msgid ""
|
638 |
+
"Hi there. we thought you'd like to know that your recent order from "
|
639 |
+
"{site_title} has been Delivered."
|
640 |
+
msgstr ""
|
641 |
+
"Γεια σου. πιστεύαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
|
642 |
+
"από {site_title} έχει παραδοθεί.\n"
|
643 |
+
|
644 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:120
|
645 |
msgid ""
|
646 |
"Hi there. we thought you'd like to know that your recent order from "
|
647 |
"{site_title} has been partially shipped."
|
649 |
"Γεια σου. σκεφτήκαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
|
650 |
"από {site_title} έχει αποσταλεί εν μέρει.\n"
|
651 |
|
652 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:127
|
653 |
+
msgid ""
|
654 |
+
"Hi there. we thought you'd like to know that your recent order from "
|
655 |
+
"{site_title} has been returned to sender."
|
656 |
+
msgstr ""
|
657 |
+
"Γεια σου. πιστεύαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
|
658 |
+
"από {site_title} έχει επιστραφεί στον αποστολέα.\n"
|
659 |
+
|
660 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:127
|
661 |
+
msgid ""
|
662 |
+
"Hi there. we thought you'd like to know that your recent order from "
|
663 |
+
"{site_title} is available for pickup."
|
664 |
+
msgstr ""
|
665 |
+
"Γεια σου. πιστεύαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
|
666 |
+
"από την {site_title} είναι διαθέσιμη για παραλαβή.\n"
|
667 |
+
|
668 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:127
|
669 |
+
msgid ""
|
670 |
+
"Hi there. we thought you'd like to know that your recent order from "
|
671 |
+
"{site_title} is Failed Attempt"
|
672 |
+
msgstr ""
|
673 |
+
"Γεια σου. σκεφτήκαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
|
674 |
+
"από το {site_title} απέτυχε"
|
675 |
+
|
676 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:130
|
677 |
+
msgid ""
|
678 |
+
"Hi there. we thought you'd like to know that your recent order from "
|
679 |
+
"{site_title} is in transit"
|
680 |
+
msgstr ""
|
681 |
+
"Γεια σου. σκεφτήκαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
|
682 |
+
"από το {site_title} βρίσκεται σε διαμετακόμιση\n"
|
683 |
+
|
684 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:130
|
685 |
+
msgid ""
|
686 |
+
"Hi there. we thought you'd like to know that your recent order from "
|
687 |
+
"{site_title} is on hold"
|
688 |
+
msgstr ""
|
689 |
+
"Γεια σου. πιστεύαμε ότι θα θέλατε να γνωρίζετε ότι η πρόσφατη παραγγελία σας "
|
690 |
+
"από το {site_title} είναι σε αναμονή"
|
691 |
+
|
692 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:129
|
693 |
+
msgid ""
|
694 |
+
"Hi there. we thought you'd like to know that your recent order from "
|
695 |
+
"{site_title} is out for delivery."
|
696 |
+
msgstr ""
|
697 |
+
"Γεια σου. πιστεύαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
|
698 |
+
"από το {site_title} είναι έξω για παράδοση.\n"
|
699 |
+
|
700 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:753
|
701 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:768
|
702 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:783
|
703 |
msgid "hide details"
|
704 |
msgstr "Κρύψε τις λεπτομέρειες"
|
705 |
|
706 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:392
|
707 |
+
#: includes/views/admin_tracking_page_settings.php:76
|
708 |
+
msgid "Hide Shipping Provider Image"
|
709 |
+
msgstr ""
|
710 |
+
"Απόκρυψη εικόνας παροχέα αποστολής\n"
|
711 |
+
|
712 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:631
|
713 |
msgid "Hide Table Headers"
|
714 |
msgstr "Απόκρυψη κεφαλίδων πίνακα"
|
715 |
|
716 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:498
|
717 |
+
#, fuzzy
|
718 |
#| msgid "Hide the ship date"
|
719 |
msgid "Hide the shipped date"
|
720 |
+
msgstr ""
|
721 |
+
"Απόκρυψη της ημερομηνίας του πλοίου\n"
|
722 |
+
|
723 |
+
#: includes/views/admin_tracking_page_settings.php:81
|
724 |
+
msgid "Hide tracking event details"
|
725 |
+
msgstr ""
|
726 |
+
"Απόκρυψη λεπτομερειών συμβάντων παρακολούθησης\n"
|
727 |
+
|
728 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:398
|
729 |
+
msgid "Hide tracking events details"
|
730 |
+
msgstr "Απόκρυψη λεπτομερειών συμβάντων παρακολούθησης"
|
731 |
|
732 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:233
|
733 |
msgid "Hide Tracking Header"
|
734 |
msgstr "Απόκρυψη κεφαλίδας παρακολούθησης"
|
735 |
|
736 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:340
|
737 |
+
msgid "How to Video"
|
738 |
+
msgstr "Πώς να κάνετε βίντεο"
|
|
|
|
|
|
|
|
|
739 |
|
740 |
+
#: includes/views/admin_status_notifications.php:155
|
741 |
+
msgid ""
|
742 |
+
"If a shipment reached the number of days that you define, and the shipment "
|
743 |
+
"is not \"delivered\" or \"Returned to Sender\" than email will trigger."
|
744 |
+
msgstr ""
|
745 |
+
"Εάν μια αποστολή έφτασε τον αριθμό των ημερών που ορίσατε και η αποστολή δεν "
|
746 |
+
"\"παραδοθεί\" ή \"Επιστρέφθηκε στον αποστολέα\" από το email θα "
|
747 |
+
"ενεργοποιηθεί."
|
748 |
|
749 |
+
#: includes/views/admin_options_bulk_upload.php:76
|
750 |
msgid "Import in Progress"
|
751 |
msgstr "Εισαγωγή σε εξέλιξη"
|
752 |
|
753 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:763
|
754 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:831
|
755 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:129
|
756 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:192
|
757 |
+
#: includes/views/admin_status_notifications.php:37
|
758 |
+
msgid "In Transit"
|
759 |
+
msgstr ""
|
760 |
+
"Στη διαμετακόμιση\n"
|
761 |
|
762 |
+
#: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:397
|
763 |
msgid "Invalid order ID."
|
764 |
msgstr "Μη έγκυρο αναγνωριστικό παραγγελίας."
|
765 |
|
766 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:771
|
767 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:864
|
768 |
+
msgid "Invalid Tracking Number"
|
769 |
+
msgstr "Invalid Tracking Number"
|
770 |
+
|
771 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:870
|
772 |
+
msgid "Invalid User Key"
|
773 |
+
msgstr "Μη έγκυρο κλειδί χρήστη"
|
774 |
+
|
775 |
+
#: includes/views/admin_options_bulk_upload.php:48
|
776 |
msgid ""
|
777 |
"Keep unchecked for the tracking info to be added to any existing tracking "
|
778 |
"info added to the orders."
|
781 |
"σε τυχόν υπάρχουσες πληροφορίες παρακολούθησης που έχουν προστεθεί στις "
|
782 |
"παραγγελίες."
|
783 |
|
784 |
+
#: includes/customizer/class-wc-late-shipments-email-customizer.php:29
|
785 |
+
msgid "Late shipment"
|
786 |
+
msgstr "Καθυστερημένη αποστολή"
|
787 |
+
|
788 |
+
#: includes/views/admin_status_notifications.php:176
|
789 |
+
msgid "Late Shipment Days"
|
790 |
+
msgstr "Καθυστερημένες αποστολές"
|
791 |
+
|
792 |
+
#: includes/customizer/class-wc-late-shipments-email-customizer.php:28
|
793 |
+
#: includes/views/admin_status_notifications.php:200
|
794 |
+
msgid "Late shipment for order #{order_number}"
|
795 |
+
msgstr "Τελευταία αποστολή για παραγγελία # {αριθμός_παραγγελίας}"
|
796 |
+
|
797 |
+
#: includes/customizer/class-wcast-customizer.php:135
|
798 |
+
#: includes/views/admin_status_notifications.php:155
|
799 |
+
msgid "Late Shipments"
|
800 |
+
msgstr "Μεταγενέστερες αποστολές"
|
801 |
+
|
802 |
+
#: includes/views/admin_options_settings.php:39
|
803 |
+
msgid "Launch Customizer"
|
804 |
+
msgstr "Εκκινήστε το Customizer"
|
805 |
+
|
806 |
+
#: includes/views/admin_options_addons.php:118
|
807 |
msgid "License"
|
808 |
msgstr "Αδεια"
|
809 |
|
810 |
+
#: includes/views/admin_options_osm.php:36
|
811 |
+
#: includes/views/admin_options_osm.php:79
|
812 |
+
#: includes/views/admin_options_osm.php:119
|
813 |
msgid "Light Font"
|
814 |
msgstr "Φως γραμματοσειράς"
|
815 |
|
816 |
+
#: includes/class-wc-advanced-shipment-tracking.php:316
|
817 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:419
|
818 |
msgid "Mark as Completed?"
|
819 |
msgstr "Σημειώστε ως ολοκληρωμένο;"
|
820 |
|
821 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1656
|
822 |
msgid "Mark as Shipped"
|
823 |
msgstr "Επισήμανση ως αποσταλεί"
|
824 |
|
825 |
+
#: includes/class-wc-advanced-shipment-tracking.php:313
|
826 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:416
|
827 |
msgid "Mark as Shipped?"
|
828 |
msgstr "Ορίστε ως αποστολέα;"
|
829 |
|
830 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1629
|
831 |
msgid "Mark order as delivered"
|
832 |
msgstr "Επισήμανση παραγγελίας ως παραδοθείσας"
|
833 |
|
834 |
+
#: includes/class-wc-advanced-shipment-tracking.php:397
|
835 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:476
|
836 |
msgid "Mark order as:"
|
837 |
msgstr "Σημειώστε την τάξη ως:"
|
838 |
|
839 |
+
#: includes/customizer/class-wc-email-customizer.php:158
|
840 |
msgid "Mockup Order"
|
841 |
+
msgstr ""
|
842 |
|
843 |
+
#: includes/customizer/class-wcast-customizer.php:459
|
844 |
+
msgid "Mockup order"
|
845 |
+
msgstr ""
|
846 |
+
|
847 |
+
#: includes/views/admin_tracking_page_settings.php:41
|
848 |
msgid "more info"
|
849 |
msgstr ""
|
850 |
"περισσότερες πληροφορίες\n"
|
851 |
|
852 |
+
#: includes/views/admin_tracking_page_settings.php:41
|
853 |
+
msgid ""
|
854 |
+
"Note - If you select a different page than the Shipment Tracking page, add "
|
855 |
+
"the [wcast-track-order] shortcode to the selected page content."
|
856 |
msgstr ""
|
857 |
+
"Σημείωση - Αν επιλέξετε διαφορετική σελίδα από τη σελίδα Tracking Tracking, "
|
858 |
+
"προσθέστε το shortcode [wcast-track-order] στο επιλεγμένο περιεχόμενο "
|
859 |
+
"σελίδας.\n"
|
860 |
+
|
861 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:218
|
862 |
+
#: includes/views/trackship_settings.php:12
|
863 |
+
#: includes/views/trackship_settings.php:13
|
864 |
+
msgid "Notifications"
|
865 |
+
msgstr "Ειδοποιήσεις"
|
866 |
+
|
867 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:834
|
868 |
+
#: includes/customizer/class-wcast-customizer.php:89
|
869 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:193
|
870 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:129
|
871 |
+
#: includes/views/admin_status_notifications.php:52
|
872 |
+
msgid "On Hold"
|
873 |
+
msgstr "Σε κράτηση"
|
874 |
|
875 |
#: includes/class-wc-advanced-shipment-tracking-admin.php:1030
|
876 |
+
msgid "Open the track link in a new tab"
|
877 |
+
msgstr ""
|
878 |
+
|
879 |
+
#: includes/emails/class-shipment-delivered-email.php:33
|
880 |
+
msgid ""
|
881 |
+
"Order delivered emails are sent to customers when their orders are marked "
|
882 |
+
"delivered and usually indicate that their orders have been shipped."
|
883 |
+
msgstr ""
|
884 |
+
"Τα παραδοθέντα ηλεκτρονικά μηνύματα αποστέλλονται στους πελάτες όταν "
|
885 |
+
"παραγγελθούν οι παραγγελίες τους και συνήθως υποδεικνύουν ότι οι παραγγελίες "
|
886 |
+
"τους έχουν αποσταλεί."
|
887 |
+
|
888 |
+
#: templates/tracking/tracking-form.php:13
|
889 |
+
msgid "Order Email"
|
890 |
+
msgstr ""
|
891 |
+
"Παραγγελία ηλεκτρονικού ταχυδρομείου\n"
|
892 |
+
|
893 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1011
|
894 |
+
msgid "Order Email Display"
|
895 |
+
msgstr ""
|
896 |
+
|
897 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:161
|
898 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:171
|
899 |
+
msgid "Order not found."
|
900 |
+
msgstr ""
|
901 |
|
902 |
#. %s: Order ID.
|
903 |
+
#: templates/emails/wcast-email-order-details.php:48
|
904 |
#, php-format
|
905 |
msgid "Order number: %s"
|
906 |
msgstr ""
|
907 |
"Αριθμός παραγγελίας:% s\n"
|
908 |
|
909 |
+
#: includes/customizer/class-wcast-customizer.php:42
|
910 |
+
msgid "Order Status Emails"
|
911 |
+
msgstr "Κατάσταση παραγγελίας μέσω ηλεκτρονικού ταχυδρομείου"
|
|
|
|
|
912 |
|
913 |
+
#: includes/class-wc-advanced-shipment-tracking.php:1181
|
914 |
+
#: includes/class-wc-advanced-shipment-tracking.php:1272
|
|
|
915 |
#, php-format
|
916 |
+
msgid "Order was shipped with %s and tracking number is: %s"
|
917 |
+
msgstr "Η παραγγελία παραδόθηκε με% s και ο αριθμός παρακολούθησης είναι:% s"
|
|
|
|
|
918 |
|
919 |
+
#: includes/views/front/layout1_tracking_details.php:25
|
920 |
+
msgid "Origin Details"
|
921 |
+
msgstr "Λεπτομέρειες προέλευσης"
|
922 |
+
|
923 |
+
#: includes/views/admin_tracking_page_settings.php:36
|
924 |
msgid "Other"
|
925 |
msgstr "Αλλα"
|
926 |
|
927 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:765
|
928 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:843
|
929 |
+
#: includes/customizer/class-wcast-customizer.php:111
|
930 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:196
|
931 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:128
|
932 |
+
msgid "Out For Delivery"
|
933 |
+
msgstr ""
|
934 |
+
"Out για παράδοση\n"
|
935 |
+
|
936 |
+
#: includes/views/admin_status_notifications.php:97
|
937 |
+
msgid "Out For delivery"
|
938 |
+
msgstr "Έξω για παράδοση"
|
939 |
+
|
940 |
+
#: includes/class-wc-advanced-shipment-tracking.php:400
|
941 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:479
|
942 |
msgid "Partial Shipped"
|
943 |
msgstr "Μερική αποστολή"
|
944 |
|
945 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:162
|
946 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:208
|
947 |
+
#: includes/customizer/class-wc-email-customizer.php:185
|
948 |
+
#: includes/views/admin_options_osm.php:59
|
949 |
msgid "Partially Shipped"
|
950 |
msgstr "Μερικώς αποστέλλονται"
|
951 |
|
952 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:167
|
|
|
953 |
#, php-format
|
954 |
msgid "Partially Shipped <span class=\"count\">(%s)</span>"
|
955 |
msgid_plural "Partially Shipped <span class=\"count\">(%s)</span>"
|
956 |
msgstr[0] "Μερική αποστολή <span class = \"count\"> (% s) </ span>"
|
957 |
msgstr[1] "Μερική αποστολή <span class = \"count\"> (% s) </ span>"
|
958 |
|
959 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:760
|
960 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:861
|
961 |
+
msgid "Pending TrackShip"
|
962 |
+
msgstr "Εκκρεμεί TrackShip"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
963 |
|
964 |
+
#: woocommerce-advanced-shipment-tracking.php:122
|
|
|
965 |
#, php-format
|
966 |
msgid ""
|
967 |
+
"Please install and activate %sWooCommerce%s for Advanced Shipment Tracking "
|
968 |
+
"for WooCommerce!"
|
969 |
msgstr ""
|
|
|
|
|
970 |
|
971 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:194
|
972 |
+
msgid "Please select a order..."
|
973 |
+
msgstr ""
|
974 |
+
"Παρακαλώ επιλέξτε παραγγελία ...\n"
|
975 |
+
|
976 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:433
|
977 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:440
|
978 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:434
|
979 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:441
|
980 |
+
#: includes/customizer/class-wc-email-customizer.php:475
|
981 |
+
#: includes/customizer/class-wc-email-customizer.php:483
|
982 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:433
|
983 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:441
|
984 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:486
|
985 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:494
|
986 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:435
|
987 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:443
|
988 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:431
|
989 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:439
|
990 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:313
|
991 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:321
|
992 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:314
|
993 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:322
|
994 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:435
|
995 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:443
|
996 |
msgid "Please select order to preview."
|
997 |
msgstr "Επιλέξτε παραγγελία για προεπισκόπηση."
|
998 |
|
999 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:237
|
1000 |
msgid "Please upload a valid CSV file."
|
1001 |
msgstr "Ανεβάστε ένα έγκυρο αρχείο CSV."
|
1002 |
|
1003 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:762
|
1004 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:837
|
1005 |
+
msgid "Pre Transit"
|
1006 |
+
msgstr ""
|
1007 |
+
"Pre Transit\n"
|
1008 |
+
|
1009 |
+
#: includes/views/admin_tracking_page_settings.php:105
|
1010 |
+
msgid "Preview"
|
1011 |
+
msgstr ""
|
1012 |
+
"Προεπισκόπηση\n"
|
1013 |
+
|
1014 |
+
#: includes/customizer/class-wc-email-customizer.php:154
|
1015 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:162
|
1016 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:190
|
1017 |
+
msgid "Preview order"
|
1018 |
+
msgstr ""
|
1019 |
+
"Προεπισκόπηση σειράς\n"
|
1020 |
+
|
1021 |
+
#: includes/class-wc-advanced-shipment-tracking.php:419
|
1022 |
msgid "Preview:"
|
1023 |
msgstr "Επισκόπηση:"
|
1024 |
|
1025 |
+
#: includes/class-wc-advanced-shipment-tracking.php:375
|
1026 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:462
|
1027 |
msgid "Product Code:"
|
1028 |
msgstr "Κωδικός προϊόντος:"
|
1029 |
|
1030 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1821
|
1031 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:150
|
1032 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:656
|
1033 |
+
#: templates/emails/tracking-info.php:273
|
1034 |
+
#: templates/myaccount/tracking-info.php:211
|
1035 |
msgid "Provider"
|
1036 |
msgstr "Μεταφορέας"
|
1037 |
|
1038 |
+
#: templates/emails/tracking-info.php:278
|
1039 |
+
#: templates/myaccount/tracking-info.php:216
|
|
|
1040 |
msgid "Provider Name"
|
1041 |
msgstr "Ονομα πάροχου"
|
1042 |
|
1043 |
+
#: includes/views/admin_options_shipping_provider.php:153
|
1044 |
msgid "Providers Added"
|
1045 |
msgstr "Προστέθηκαν παροχείς"
|
1046 |
|
1047 |
+
#: includes/views/admin_options_shipping_provider.php:155
|
1048 |
msgid "Providers Deleted"
|
1049 |
msgstr "Οι πάροχοι έχουν διαγραφεί"
|
1050 |
|
1051 |
+
#: includes/views/admin_options_shipping_provider.php:154
|
1052 |
msgid "Providers Updated"
|
1053 |
msgstr "Οι προμηθευτές ενημερώθηκαν"
|
1054 |
|
1055 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:234
|
1056 |
msgid "Really delete this entry? This will not be undo."
|
1057 |
msgstr "Να διαγραφεί πραγματικά αυτή η καταχώριση; Αυτό δεν θα αναιρεθεί."
|
1058 |
|
1059 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:404
|
1060 |
+
#: includes/views/admin_tracking_page_settings.php:86
|
1061 |
+
msgid "Remove TrackShip branding"
|
1062 |
+
msgstr "Αφαιρέστε το branding του TrackShip"
|
1063 |
+
|
1064 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1003
|
1065 |
msgid "Rename the “Completed” Order status label to “Shipped”"
|
1066 |
msgstr ""
|
|
|
|
|
1067 |
|
1068 |
+
#: includes/views/admin_options_bulk_upload.php:48
|
1069 |
msgid "Replace tracking information?"
|
1070 |
msgstr "Replace tracking information?Αντικατάσταση πληροφοριών παρακολούθησης;"
|
1071 |
|
1072 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:507
|
1073 |
+
msgid "Resend delivered order notification"
|
1074 |
+
msgstr "Επαναλάβετε την ειδοποίηση παραγγελίας"
|
1075 |
+
|
1076 |
+
#: includes/views/admin_options_shipping_provider.php:136
|
1077 |
msgid "Reset"
|
1078 |
msgstr "Reset"
|
1079 |
|
1080 |
+
#: includes/views/admin_options_shipping_provider.php:159
|
1081 |
msgid ""
|
1082 |
"Reset providers database, it will reset all your shipping provider database"
|
1083 |
msgstr ""
|
1084 |
"Επαναφέρετε τη βάση δεδομένων παρόχων, θα επαναφέρει όλες τις βάσεις "
|
1085 |
"δεδομένων παρόχων αποστολής"
|
1086 |
|
1087 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:770
|
1088 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:849
|
1089 |
+
#: includes/customizer/class-wcast-customizer.php:97
|
1090 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:194
|
1091 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:126
|
1092 |
+
#: includes/views/admin_status_notifications.php:67
|
1093 |
+
msgid "Return To Sender"
|
1094 |
+
msgstr ""
|
1095 |
+
"Επιστροφή στον αποστολέα\n"
|
1096 |
|
1097 |
+
#: includes/views/admin_options_settings.php:23
|
1098 |
+
#: includes/views/admin_trackship_dashboard.php:45
|
1099 |
+
#: includes/views/admin_tracking_page_settings.php:104
|
1100 |
+
#: includes/views/admin_status_notifications.php:245
|
1101 |
+
msgid "Save Changes"
|
1102 |
+
msgstr "Αποθήκευσε τις αλλαγές"
|
1103 |
+
|
1104 |
+
#: includes/class-wc-advanced-shipment-tracking.php:416
|
1105 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:491
|
1106 |
msgid "Save Tracking"
|
1107 |
msgstr "Αποθήκευση Παρακολούθησης"
|
1108 |
|
1109 |
+
#: includes/views/admin_options_shipping_provider.php:29
|
1110 |
msgid "Search by provider / country"
|
1111 |
msgstr "Αναζήτηση ανά προμηθευτή / χώρα"
|
1112 |
|
1113 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:191
|
1114 |
+
msgid "Select an order to preview and design the tracking info display."
|
1115 |
+
msgstr ""
|
1116 |
+
"Επιλέξτε μια παραγγελία για να κάνετε προεπισκόπηση και να σχεδιάσετε την "
|
1117 |
+
"οθόνη πληροφοριών παρακολούθησης.\n"
|
1118 |
+
|
1119 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:380
|
1120 |
+
msgid "Select content border color for tracking page"
|
1121 |
+
msgstr "Επιλέξτε χρώμα περιγράμματος περιεχομένου για παρακολούθηση σελίδας"
|
1122 |
+
|
1123 |
+
#: includes/customizer/class-wc-email-customizer.php:180
|
1124 |
msgid "Select email type"
|
1125 |
+
msgstr ""
|
1126 |
|
1127 |
+
#: includes/class-wc-advanced-shipment-tracking.php:338
|
1128 |
msgid "Select Provider"
|
1129 |
msgstr "Επιλογή Παροχέα"
|
1130 |
|
1131 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:188
|
1132 |
+
msgid "Select shipment status"
|
1133 |
+
msgstr ""
|
1134 |
+
|
1135 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:303
|
1136 |
msgid "Select Template"
|
1137 |
msgstr ""
|
1138 |
"Επιλέξτε Πρότυπο\n"
|
1139 |
|
1140 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:349
|
1141 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:357
|
1142 |
+
#: includes/views/admin_tracking_page_settings.php:27
|
1143 |
+
msgid "Select Tracking Page"
|
1144 |
+
msgstr "Επιλέξτε Σελίδα παρακολούθησης"
|
1145 |
+
|
1146 |
+
#: includes/views/admin_options_osm.php:41
|
1147 |
+
#: includes/views/admin_options_osm.php:84
|
1148 |
+
#: includes/views/admin_options_osm.php:124
|
1149 |
msgid "Send Email"
|
1150 |
msgstr ""
|
1151 |
"Να στείλετε e-mail\n"
|
1152 |
|
1153 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1004
|
1154 |
msgid ""
|
1155 |
"Set the \"mark as shipped\" option checked when adding tracking info to "
|
1156 |
"orders"
|
1157 |
msgstr ""
|
|
|
|
|
1158 |
|
1159 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:393
|
1160 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:397
|
1161 |
+
#: includes/views/admin_options_settings.php:15
|
1162 |
msgid "Settings"
|
1163 |
+
msgstr ""
|
1164 |
|
1165 |
+
#: includes/views/admin_options_bulk_upload.php:59
|
1166 |
msgid "Settings Saved."
|
1167 |
msgstr "Οι Ρυθμίσεις Αποθηκεύτηκαν"
|
1168 |
|
1169 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:327
|
1170 |
+
#: includes/views/front/preview_tracking_page.php:25
|
1171 |
+
msgid "Shipment"
|
1172 |
+
msgstr ""
|
1173 |
+
|
1174 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:355
|
1175 |
+
#, php-format
|
1176 |
+
msgid "Shipment - %s (out of %s)"
|
1177 |
+
msgstr ""
|
1178 |
+
"Αποστολή -% s (από% s)\n"
|
1179 |
+
|
1180 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:324
|
1181 |
+
#, php-format
|
1182 |
+
msgid "Shipment : %s (out of %s)"
|
1183 |
+
msgstr ""
|
1184 |
+
|
1185 |
+
#: includes/views/admin_status_notifications.php:67
|
1186 |
+
msgid "Shipment is returned to sender."
|
1187 |
+
msgstr "Η αποστολή επιστρέφεται στον αποστολέα."
|
1188 |
+
|
1189 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:1483
|
1190 |
+
msgid "Shipment Providers"
|
1191 |
+
msgstr "Παροχείς αποστολής"
|
1192 |
+
|
1193 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:1486
|
1194 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:184
|
1195 |
+
#: templates/emails/tracking-info.php:218
|
1196 |
+
#: templates/emails/tracking-info.php:248
|
1197 |
+
msgid "Shipment Status"
|
1198 |
+
msgstr "Κατάσταση αποστολής"
|
1199 |
+
|
1200 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:495
|
1201 |
+
msgid "Shipment status"
|
1202 |
+
msgstr "Κατάσταση αποστολής"
|
1203 |
+
|
1204 |
+
#: templates/emails/plain/tracking-info.php:35
|
1205 |
#, php-format
|
1206 |
msgid "Shipment status changed to %s"
|
1207 |
msgstr "Η κατάσταση αποστολής άλλαξε στο% s"
|
1208 |
|
1209 |
+
#: includes/customizer/class-wcast-customizer.php:81
|
1210 |
+
msgid "Shipment Status Email"
|
1211 |
+
msgstr ""
|
1212 |
+
|
1213 |
+
#: includes/views/admin_status_notifications.php:3
|
1214 |
+
msgid "Shipment Status Email Notifications"
|
1215 |
+
msgstr "Ειδοποιήσεις μέσω email για την κατάσταση αποστολής"
|
1216 |
+
|
1217 |
+
#: includes/customizer/class-wcast-customizer.php:52
|
1218 |
+
msgid "Shipment Status Emails"
|
1219 |
+
msgstr "Κατάσταση αποστολής μέσω ηλεκτρονικού ταχυδρομείου"
|
1220 |
+
|
1221 |
+
#: includes/class-wc-advanced-shipment-tracking.php:141
|
1222 |
+
#: includes/class-wc-advanced-shipment-tracking.php:223
|
1223 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:208
|
1224 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:249
|
1225 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:300
|
1226 |
msgid "Shipment Tracking"
|
1227 |
msgstr "Παρακολούθηση Αποστολής"
|
1228 |
|
1229 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:327
|
1230 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:417
|
1231 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:870
|
|
|
|
|
|
|
|
|
|
|
1232 |
msgid "Shipped"
|
1233 |
msgstr "Αποστέλλονται"
|
1234 |
|
1235 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:344
|
|
|
1236 |
#, php-format
|
1237 |
msgid "Shipped <span class=\"count\">(%s)</span>"
|
1238 |
msgid_plural "Shipped <span class=\"count\">(%s)</span>"
|
1239 |
msgstr[0] "Αποστέλλονται <span class = \"count\"> (% s) </ span>"
|
1240 |
msgstr[1] "Αποστέλλονται <span class = \"count\"> (% s) </ span>"
|
1241 |
|
1242 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:152
|
1243 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:701
|
1244 |
msgid "Shipped Date"
|
1245 |
msgstr ""
|
1246 |
"Ημερομηνία αποστολής\n"
|
1247 |
|
1248 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:694
|
1249 |
+
#, fuzzy
|
1250 |
#| msgid "Ship date header text"
|
1251 |
msgid "Shipped date header text"
|
1252 |
+
msgstr ""
|
1253 |
+
"Κείμενο κεφαλίδας ημερομηνίας πλοίου\n"
|
1254 |
|
1255 |
#. 1: shipping date
|
1256 |
+
#: includes/class-wc-advanced-shipment-tracking.php:256
|
1257 |
#, php-format
|
1258 |
msgid "Shipped on %s"
|
1259 |
msgstr "Στάλθηκε στις %s"
|
1260 |
|
1261 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:160
|
1262 |
msgid "Shipped on {ship_date} via {shipping_provider} - {tracking_number_link}"
|
1263 |
msgstr ""
|
1264 |
"Αποστέλλονται στις {ship_date} μέσω {shipping_provider} - "
|
1265 |
"{tracking_number_link}"
|
1266 |
|
1267 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1605
|
1268 |
msgid "Shipped Order"
|
1269 |
msgstr "Αποστολή παραγγελίας"
|
1270 |
|
1271 |
+
#: includes/views/admin_options_shipping_provider.php:65
|
1272 |
+
#: includes/views/admin_options_shipping_provider.php:113
|
1273 |
msgid "Shipping Country"
|
1274 |
msgstr "Χώρα αποστολής"
|
1275 |
|
1276 |
#: includes/views/admin_options_shipping_provider.php:58
|
1277 |
+
#: includes/views/admin_options_shipping_provider.php:103
|
1278 |
msgid "Shipping Provider"
|
1279 |
msgstr "Πάροχος αποστολών"
|
1280 |
|
1281 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:649
|
1282 |
msgid "Shipping provider header text"
|
1283 |
+
msgstr ""
|
1284 |
|
1285 |
+
#: includes/class-wc-advanced-shipment-tracking.php:337
|
1286 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:440
|
1287 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:442
|
1288 |
msgid "Shipping Provider:"
|
1289 |
msgstr "Πάροχος υπηρεσιών:"
|
1290 |
|
1291 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:307
|
1292 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:325
|
1293 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:402
|
1294 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:406
|
1295 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1737
|
1296 |
msgid "Shipping Providers"
|
1297 |
msgstr "Πάροχοι αποστολών"
|
1298 |
|
1299 |
+
#: includes/views/admin_options_shipping_provider.php:157
|
|
|
|
|
|
|
|
|
1300 |
msgid "Shipping providers database reset successfully."
|
1301 |
msgstr ""
|
1302 |
"Η επαναφορά βάσης δεδομένων παρόχων αποστολής ολοκληρώθηκε με επιτυχία."
|
1303 |
|
1304 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:327
|
1305 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:328
|
1306 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:327
|
1307 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:381
|
1308 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:329
|
1309 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:326
|
1310 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:330
|
1311 |
+
msgid "Show billing address"
|
1312 |
+
msgstr ""
|
1313 |
+
"Εμφάνιση διεύθυνσης χρέωσης\n"
|
1314 |
+
|
1315 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:409
|
1316 |
msgid "Show bottom border"
|
1317 |
msgstr "Εμφάνιση περιθωρίου κάτω"
|
1318 |
|
1319 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:309
|
1320 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:310
|
1321 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:309
|
1322 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:363
|
1323 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:311
|
1324 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:308
|
1325 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:312
|
1326 |
+
msgid "Show order details"
|
1327 |
+
msgstr ""
|
1328 |
+
"Εμφάνιση λεπτομερειών παραγγελίας\n"
|
1329 |
+
|
1330 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:346
|
1331 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:347
|
1332 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:346
|
1333 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:400
|
1334 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:348
|
1335 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:345
|
1336 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:349
|
1337 |
+
msgid "Show shipping address"
|
1338 |
+
msgstr ""
|
1339 |
+
"Εμφάνιση της διεύθυνσης αποστολής\n"
|
1340 |
+
|
1341 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:291
|
1342 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:292
|
1343 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:291
|
1344 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:345
|
1345 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:293
|
1346 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:290
|
1347 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:294
|
1348 |
+
msgid "Show tracking details"
|
1349 |
+
msgstr ""
|
1350 |
+
"Εμφάνιση λεπτομερειών παρακολούθησης\n"
|
1351 |
+
|
1352 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:321
|
1353 |
msgid "Simple Layout Design"
|
1354 |
msgstr ""
|
1355 |
"Απλό σχέδιο διάταξης\n"
|
1356 |
|
1357 |
+
#: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:401
|
1358 |
msgid "Special character not allowd in tracking number"
|
1359 |
msgstr "Ειδικός χαρακτήρας που δεν επιτρέπεται στον αριθμό καταδίωξης"
|
1360 |
|
1361 |
+
#: includes/views/admin_options_trackship_integration.php:17
|
1362 |
+
#: includes/views/admin_options_addons.php:141
|
1363 |
+
msgid "Start your free trial"
|
1364 |
+
msgstr "Ξεκινήστε την δωρεάν δοκιμή σας"
|
1365 |
+
|
1366 |
+
#: includes/views/trackship_sidebar.php:24
|
1367 |
+
msgid "Subscription Plan"
|
1368 |
+
msgstr "Πρόγραμμα συνδρομής"
|
1369 |
+
|
1370 |
+
#: includes/views/admin_options_shipping_provider.php:146
|
1371 |
+
#: includes/views/admin_options_shipping_provider.php:161
|
1372 |
msgid "Sync Shipping Providers"
|
1373 |
msgstr "Sync Shipping Providers"
|
1374 |
|
1375 |
+
#: includes/views/admin_options_shipping_provider.php:151
|
1376 |
msgid ""
|
1377 |
"Syncing the shipping providers list add or updates the pre-set shipping "
|
1378 |
"providers and will not effect custom shipping providers."
|
1381 |
"προκαθορισμένους παροχείς αποστολής και δεν θα επηρεάσει τους "
|
1382 |
"προσαρμοσμένους παροχείς αποστολής."
|
1383 |
|
1384 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:791
|
1385 |
msgid "Table Content"
|
1386 |
msgstr "Περιεχόμενο πίνακα"
|
1387 |
|
1388 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:534
|
1389 |
msgid "Table Design Options"
|
1390 |
+
msgstr ""
|
1391 |
|
1392 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:615
|
1393 |
+
#, fuzzy
|
1394 |
#| msgid "Table Headers"
|
1395 |
msgid "Table Header"
|
1396 |
msgstr "Κεφαλίδες στον πίνακα"
|
1397 |
|
1398 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:304
|
1399 |
msgid "Table Layout"
|
1400 |
msgstr ""
|
1401 |
"Διάταξη πίνακα\n"
|
1402 |
|
1403 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:446
|
1404 |
msgid "Table Options"
|
1405 |
+
msgstr ""
|
1406 |
|
1407 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:592
|
1408 |
msgid "Text align"
|
1409 |
+
msgstr ""
|
1410 |
|
1411 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1738
|
1412 |
+
#: includes/views/admin_options_shipping_provider.php:100
|
1413 |
msgid ""
|
1414 |
+
"The custom name will display in the tracking info section on the customer "
|
1415 |
+
"order emails, my-account, shipment tracking page and shipment status emails."
|
1416 |
+
msgstr ""
|
1417 |
+
"Το προσαρμοσμένο όνομα θα εμφανιστεί στην ενότητα πληροφοριών παρακολούθησης "
|
1418 |
+
"στα μηνύματα ηλεκτρονικού ταχυδρομείου παραγγελίας πελατών, στο λογαριασμό "
|
1419 |
+
"μου, στη σελίδα παρακολούθησης αποστολών και στα μηνύματα κατάστασης "
|
1420 |
+
"αποστολής."
|
1421 |
+
|
1422 |
+
#: includes/views/admin_status_notifications.php:52
|
1423 |
+
msgid "The shipment is On Hold."
|
1424 |
+
msgstr "Η αποστολή είναι σε αναμονή."
|
1425 |
+
|
1426 |
+
#: includes/views/admin_status_notifications.php:82
|
1427 |
+
msgid "The shipment is ready to by picked up."
|
1428 |
+
msgstr "Η αποστολή είναι έτοιμη για παραλαβή."
|
1429 |
+
|
1430 |
+
#: includes/views/admin_status_notifications.php:37
|
1431 |
+
msgid "The shipment was accepted by the shipping provider and its on the way."
|
1432 |
msgstr ""
|
1433 |
+
"Η αποστολή έγινε αποδεκτή από τον πάροχο αποστολών και το κατά τη διάρκεια "
|
1434 |
+
"του ταξιδιού."
|
1435 |
+
|
1436 |
+
#: includes/views/admin_status_notifications.php:112
|
1437 |
+
msgid "The shipment was delivered successfully."
|
1438 |
+
msgstr "Η αποστολή παραδόθηκε με επιτυχία."
|
1439 |
|
1440 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:737
|
1441 |
msgid "There are some issue with sync, Please Retry."
|
1442 |
msgstr "Υπάρχει κάποιο ζήτημα με συγχρονισμό, δοκιμάστε ξανά."
|
1443 |
|
1444 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:236
|
1445 |
msgid "This browser does not support HTML5."
|
1446 |
msgstr "Αυτό το πρόγραμμα περιήγησης δεν υποστηρίζει HTML5."
|
1447 |
|
1448 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:876
|
1449 |
+
msgid ""
|
1450 |
+
"This means that the 'mark as <span class='shipped_label'>completed</span>' "
|
1451 |
+
"will be selected by default when adding tracking info to orders."
|
1452 |
+
msgstr ""
|
1453 |
+
"Αυτό σημαίνει ότι το 'mark as <span class =' shipped_label '> complete "
|
1454 |
+
"</span>' θα επιλεγεί από προεπιλογή κατά την προσθήκη πληροφοριών "
|
1455 |
+
"παρακολούθησης σε παραγγελίες."
|
1456 |
+
|
1457 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:872
|
1458 |
+
msgid ""
|
1459 |
+
"This means that the 'mark as <span class='shipped_label'>shipped</span>' "
|
1460 |
+
"will be selected by default when adding tracking info to orders."
|
1461 |
+
msgstr ""
|
1462 |
+
"Αυτό σημαίνει ότι το 'mark as <span class =' shipped_label '> shipped "
|
1463 |
+
"</span>' θα επιλεγεί από προεπιλογή κατά την προσθήκη πληροφοριών "
|
1464 |
+
"παρακολούθησης σε παραγγελίες."
|
1465 |
+
|
1466 |
+
#: includes/customizer/class-wc-late-shipments-email-customizer.php:30
|
1467 |
+
#: includes/views/admin_status_notifications.php:210
|
1468 |
+
msgid ""
|
1469 |
+
"This order was shipped {shipment_length} days ago, the shipment status is "
|
1470 |
+
"{shipment_status} and its est. delivery date is {est_delivery_date}."
|
1471 |
+
msgstr ""
|
1472 |
+
"Αυτή η παραγγελία εστάλη πριν από {shipment_length} ημέρες, η κατάσταση "
|
1473 |
+
"αποστολής είναι {shipment_status} και η εκτιμώμενη ημερομηνία παράδοσής της "
|
1474 |
+
"είναι {est_delivery_date}."
|
1475 |
+
|
1476 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:365
|
1477 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:366
|
1478 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:365
|
1479 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:419
|
1480 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:367
|
1481 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:364
|
1482 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:368
|
1483 |
+
msgid "This will be appended to URL in the email content"
|
1484 |
+
msgstr ""
|
1485 |
+
"Αυτό θα προστεθεί στη διεύθυνση URL στο περιεχόμενο ηλεκτρονικού ταχυδρομείου"
|
1486 |
+
|
1487 |
+
#: includes/customizer/class-wc-email-customizer.php:428
|
1488 |
+
msgid ""
|
1489 |
+
"This will be appended to URL in the email content – e.g. "
|
1490 |
+
"utm_source=ast&utm_medium=email&utm_campaign=delivered"
|
1491 |
+
msgstr ""
|
1492 |
+
"Αυτό θα προσαρτηθεί στη διεύθυνση URL στο περιεχόμενο ηλεκτρονικού "
|
1493 |
+
"ταχυδρομείου - π.χ. utm_source = ast & utm_medium = email & utm_campaign = "
|
1494 |
+
"παραδόθηκε"
|
1495 |
+
|
1496 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:471
|
1497 |
+
msgid ""
|
1498 |
+
"To enable this option, the 'Delivered' order status should be enabled in the "
|
1499 |
+
"AST settings."
|
1500 |
+
msgstr ""
|
1501 |
+
"Για να ενεργοποιήσετε αυτήν την επιλογή, η κατάσταση παραγγελίας "
|
1502 |
+
"«Παραδόθηκε» πρέπει να είναι ενεργοποιημένη στις ρυθμίσεις AST."
|
1503 |
+
|
1504 |
+
#: templates/tracking/tracking-form.php:11
|
1505 |
+
msgid ""
|
1506 |
+
"To track your order please enter your Order ID in the box below and press "
|
1507 |
+
"the \"Track\" button. This was given to you on your receipt and in the "
|
1508 |
+
"confirmation email you should have received."
|
1509 |
+
msgstr ""
|
1510 |
+
"Για να παρακολουθήσετε την παραγγελία σας, εισαγάγετε το αναγνωριστικό "
|
1511 |
+
"παραγγελίας σας στο παρακάτω πλαίσιο και πατήστε το κουμπί \"Παρακολούθηση\"."
|
1512 |
+
" Αυτό σας δόθηκε στην απόδειξή σας και στο e-mail επιβεβαίωσης που θα έπρεπε "
|
1513 |
+
"να έχετε λάβει.\n"
|
1514 |
+
|
1515 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:219
|
1516 |
+
#: includes/views/admin_options_tools.php:13
|
1517 |
+
#: includes/views/trackship_settings.php:15
|
1518 |
+
#: includes/views/trackship_settings.php:16
|
1519 |
+
msgid "Tools"
|
1520 |
+
msgstr "Εργαλεία"
|
1521 |
+
|
1522 |
+
#: includes/class-wc-advanced-shipment-tracking.php:759
|
1523 |
+
#: includes/class-wc-advanced-shipment-tracking.php:786
|
1524 |
+
#: includes/class-wc-advanced-shipment-tracking.php:802
|
1525 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:153
|
1526 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:944
|
1527 |
+
#: templates/emails/tracking-info.php:308
|
1528 |
+
#: templates/myaccount/tracking-info.php:241
|
1529 |
+
#: templates/tracking/tracking-form.php:16
|
1530 |
msgid "Track"
|
1531 |
msgstr "Παρακολούθηση"
|
1532 |
|
1533 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:903
|
1534 |
msgid "Track Button"
|
1535 |
+
msgstr ""
|
1536 |
|
1537 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:919
|
1538 |
msgid "Track Header"
|
1539 |
+
msgstr ""
|
1540 |
|
1541 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:937
|
1542 |
msgid "Track header text"
|
1543 |
msgstr ""
|
1544 |
"Κείμενο κεφαλίδας παρακολούθησης\n"
|
1545 |
|
1546 |
+
#: includes/class-wc-advanced-shipment-tracking.php:246
|
1547 |
+
#: includes/class-wc-advanced-shipment-tracking.php:419
|
1548 |
msgid "Track Shipment"
|
1549 |
msgstr "Παρακολούθηση αποστολής"
|
1550 |
|
1551 |
+
#: includes/views/trackship_sidebar.php:20
|
1552 |
+
msgid "Trackers Balance"
|
1553 |
+
msgstr "Υπόλοιπο ιχνηλάτη"
|
1554 |
+
|
1555 |
+
#: includes/views/front/layout1_tracking_details.php:4
|
1556 |
+
msgid "Tracking Details"
|
1557 |
+
msgstr "Στοιχεία παρακολούθησης"
|
1558 |
+
|
1559 |
+
#: includes/views/front/tracking_page_header.php:33
|
1560 |
+
msgid "Tracking details is not updated yet, Please check after few hour."
|
1561 |
+
msgstr ""
|
1562 |
+
|
1563 |
+
#: includes/views/front/tracking_page_header.php:35
|
1564 |
+
msgid "Tracking details is not updated yet, Please check after few min."
|
1565 |
+
msgstr ""
|
1566 |
+
|
1567 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:186
|
1568 |
+
msgid "Tracking details not found"
|
1569 |
+
msgstr ""
|
1570 |
+
|
1571 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:379
|
1572 |
+
msgid "Tracking details not found in TrackShip"
|
1573 |
+
msgstr "Τα στοιχεία παρακολούθησης δεν βρέθηκαν στο TrackShip"
|
1574 |
+
|
1575 |
+
#: includes/views/admin_options_settings.php:35
|
1576 |
+
msgid "Tracking Display Customizer"
|
1577 |
+
msgstr ""
|
1578 |
+
|
1579 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:296
|
1580 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:299
|
1581 |
msgid "Tracking display layout"
|
1582 |
msgstr "Παρακολούθηση της διάταξης προβολής"
|
1583 |
|
1584 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1027
|
1585 |
+
msgid "Tracking Display My Account"
|
1586 |
+
msgstr ""
|
1587 |
+
|
1588 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:212
|
1589 |
msgid "Tracking Display Position"
|
1590 |
msgstr "Παρακολούθηση θέσης προβολής"
|
1591 |
|
1592 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:251
|
1593 |
msgid "Tracking Header text"
|
1594 |
msgstr ""
|
1595 |
"Κείμενο κεφαλίδας εντοπισμού\n"
|
1596 |
|
1597 |
+
#: includes/customizer/class-wcast-customizer.php:32
|
1598 |
+
#: includes/customizer/class-wcast-customizer.php:65
|
1599 |
msgid "Tracking info display"
|
1600 |
msgstr "Παρακολούθηση πληροφοριών εμφάνισης"
|
1601 |
|
1602 |
+
#: includes/views/admin_options_tools.php:11
|
1603 |
+
msgid "Tracking info sent to Trackship for all Orders."
|
1604 |
+
msgstr ""
|
1605 |
+
"Οι πληροφορίες παρακολούθησης εστάλησαν στο Trackship για όλες τις "
|
1606 |
+
"παραγγελίες."
|
1607 |
+
|
1608 |
+
#: includes/class-wc-advanced-shipment-tracking.php:721
|
1609 |
#, php-format
|
|
|
|
|
1610 |
msgid ""
|
1611 |
+
"Tracking info was deleted for tracking provider %s with tracking number %s"
|
|
|
1612 |
msgstr ""
|
1613 |
+
"Οι πληροφορίες παρακολούθησης διαγράφηκαν για τον παροχέα παρακολούθησης% s "
|
1614 |
+
"με τον αριθμό παρακολούθησης% s"
|
1615 |
|
1616 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:258
|
1617 |
msgid "Tracking Information"
|
1618 |
msgstr "Πληροφορίες Παρακολούθησης"
|
1619 |
|
1620 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:1489
|
1621 |
+
msgid "Tracking issues"
|
1622 |
+
msgstr "Παρακολούθηση ζητημάτων"
|
1623 |
+
|
1624 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:151
|
1625 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:679
|
1626 |
+
#: templates/emails/tracking-info.php:285
|
1627 |
+
#: templates/myaccount/tracking-info.php:221
|
1628 |
msgid "Tracking Number"
|
1629 |
msgstr "Αριθμός"
|
1630 |
|
1631 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:672
|
1632 |
+
#, fuzzy
|
1633 |
#| msgid "Tracking Number header text"
|
1634 |
msgid "Tracking number header text"
|
1635 |
+
msgstr ""
|
1636 |
+
"Κείμενο κεφαλίδας αριθμού παρακολούθησης\n"
|
1637 |
|
1638 |
+
#: includes/class-wc-advanced-shipment-tracking.php:332
|
1639 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:436
|
1640 |
msgid "Tracking number:"
|
1641 |
msgstr "Αριθμός Παρακολούθησης:"
|
1642 |
|
1643 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:217
|
1644 |
+
#: includes/views/admin_tracking_page_settings.php:9
|
1645 |
+
#: includes/views/trackship_settings.php:9
|
1646 |
+
#: includes/views/trackship_settings.php:10
|
1647 |
+
msgid "Tracking Page"
|
1648 |
+
msgstr "Σελίδα Παρακολούθησης"
|
1649 |
+
|
1650 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:369
|
1651 |
+
msgid "Tracking Page Layout"
|
1652 |
+
msgstr ""
|
1653 |
+
"Παρακολούθηση διάταξης σελίδας\n"
|
1654 |
+
|
1655 |
+
#: includes/views/admin_tracking_page_settings.php:92
|
1656 |
+
msgid "Tracking Widget Border Color"
|
1657 |
+
msgstr ""
|
1658 |
+
|
1659 |
+
#: includes/views/admin_tracking_page_settings.php:46
|
1660 |
+
msgid "Tracking Widget Layout"
|
1661 |
+
msgstr ""
|
1662 |
+
|
1663 |
+
#: includes/views/admin_tracking_page_settings.php:65
|
1664 |
+
msgid "Tracking Widget Options"
|
1665 |
+
msgstr ""
|
1666 |
+
|
1667 |
+
#: includes/views/admin_tracking_page_settings.php:116
|
1668 |
+
msgid "Tracking Widget Preview"
|
1669 |
+
msgstr "Προεπισκόπηση Widget παρακολούθησης"
|
1670 |
+
|
1671 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1743
|
1672 |
msgid "TrackShip"
|
1673 |
msgstr "TrackShip"
|
1674 |
|
1675 |
+
#: includes/views/trackship_sidebar.php:12
|
1676 |
+
msgid "TrackShip Connection Status"
|
1677 |
+
msgstr "Κατάσταση σύνδεσης TrackShip"
|
1678 |
+
|
1679 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1801
|
1680 |
+
msgid "TrackShip not supported"
|
1681 |
+
msgstr "Το TrackShip δεν υποστηρίζεται"
|
1682 |
+
|
1683 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1801
|
1684 |
+
msgid "TrackShip supported"
|
1685 |
+
msgstr "Υποστηρίζεται TrackShip"
|
1686 |
+
|
1687 |
+
#: includes/views/admin_status_notifications.php:225
|
1688 |
+
msgid "Trigger Alert"
|
1689 |
+
msgstr "Ειδοποίηση ενεργοποίησης"
|
1690 |
+
|
1691 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:761
|
1692 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:858
|
1693 |
+
msgid "Unknown"
|
1694 |
+
msgstr "Αγνωστος"
|
1695 |
+
|
1696 |
+
#: includes/views/admin_options_shipping_provider.php:135
|
1697 |
msgid "Update"
|
1698 |
msgstr "Update"
|
1699 |
|
1700 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:148
|
1701 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:194
|
1702 |
+
#: includes/customizer/class-wc-email-customizer.php:186
|
1703 |
+
#: includes/views/admin_options_osm.php:101
|
1704 |
msgid "Updated Tracking"
|
1705 |
msgstr "Ενημερωμένη παρακολούθηση"
|
1706 |
|
1707 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:153
|
|
|
1708 |
#, php-format
|
1709 |
msgid "Updated Tracking <span class=\"count\">(%s)</span>"
|
1710 |
msgid_plural "Updated Tracking <span class=\"count\">(%s)</span>"
|
1711 |
msgstr[0] "Ενημερωμένη παρακολούθηση <span class = \"count\"> (% s) </ span>"
|
1712 |
msgstr[1] "Ενημερωμένη παρακολούθηση <span class = \"count\"> (% s) </ span>"
|
1713 |
|
1714 |
+
#: includes/views/trackship_sidebar.php:28
|
1715 |
+
msgid "Upgrade Now"
|
1716 |
+
msgstr "Αναβάθμισε τώρα"
|
1717 |
+
|
1718 |
+
#: includes/views/admin_options_shipping_provider.php:76
|
1719 |
+
#: includes/views/admin_options_shipping_provider.php:124
|
1720 |
+
msgid "Upload"
|
1721 |
+
msgstr "Μεταφόρτωση"
|
1722 |
+
|
1723 |
+
#: includes/views/admin_options_bulk_upload.php:26
|
1724 |
msgid "Upload a CSV file from your computer:"
|
1725 |
msgstr "Upload a CSV file from your computer:"
|
1726 |
|
1727 |
+
#: includes/views/admin_options_bulk_upload.php:109
|
1728 |
msgid "Upload again"
|
1729 |
msgstr "Μεταφόρτωση ξανά"
|
1730 |
|
1731 |
+
#: includes/views/admin_options_settings.php:36
|
1732 |
+
msgid ""
|
1733 |
+
"Use a customizer with a preview to customize the tracking info display on "
|
1734 |
+
"customer order emails and my-account."
|
1735 |
+
msgstr ""
|
1736 |
+
"Χρησιμοποιήστε ένα εργαλείο προσαρμογής με προεπισκόπηση για να προσαρμόσετε "
|
1737 |
+
"την εμφάνιση πληροφοριών παρακολούθησης στα ηλεκτρονικά μηνύματα παραγγελίας "
|
1738 |
+
"πελατών και στον λογαριασμό μου."
|
1739 |
+
|
1740 |
+
#: includes/views/admin_options_bulk_upload.php:12
|
1741 |
msgid ""
|
1742 |
"Use our CSV Import Tool to bulk Import tracking info to orders from a CSV "
|
1743 |
"file"
|
1745 |
"Χρησιμοποιήστε το εργαλείο εισαγωγής CSV για μαζική εισαγωγή πληροφοριών "
|
1746 |
"παρακολούθησης σε παραγγελίες από ένα αρχείο CSV"
|
1747 |
|
1748 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:363
|
1749 |
+
msgid "Use the tracking page in the customer email/my account tracking link"
|
1750 |
+
msgstr ""
|
1751 |
+
"Χρησιμοποιήστε τη σελίδα παρακολούθησης στο σύνδεσμο παρακολούθησης email / "
|
1752 |
+
"του λογαριασμού μου"
|
1753 |
+
|
1754 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:516
|
1755 |
msgid "Use tracking number as a link"
|
1756 |
msgstr "Χρησιμοποιήστε τον αριθμό παρακολούθησης ως σύνδεσμο"
|
1757 |
|
1758 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:752
|
1759 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:767
|
1760 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:782
|
1761 |
+
#: includes/views/admin_options_bulk_upload.php:87
|
1762 |
msgid "view details"
|
1763 |
msgstr "δείτε λεπτομέρειες"
|
1764 |
|
1765 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:1526
|
1766 |
+
msgid "View more on TrackShip"
|
1767 |
+
msgstr "Δείτε περισσότερα στο TrackShip"
|
1768 |
+
|
1769 |
+
#: includes/views/admin_options_bulk_upload.php:108
|
1770 |
msgid "View Orders"
|
1771 |
msgstr "Προβολή παραγγελιών"
|
1772 |
|
1773 |
+
#: includes/views/admin_options_trackship_integration.php:16
|
1774 |
+
#: includes/views/admin_options_addons.php:137
|
1775 |
+
msgid "Watch Video"
|
1776 |
+
msgstr "Δες το βίντεο"
|
1777 |
+
|
1778 |
+
#: woocommerce-advanced-shipment-tracking.php:487
|
1779 |
+
#, php-format
|
1780 |
+
msgid ""
|
1781 |
+
"We detected %s orders that use the Delivered order status, You can reassign "
|
1782 |
+
"these orders to a different status"
|
1783 |
+
msgstr ""
|
1784 |
+
"Εντοπίσαμε παραγγελίες% s που χρησιμοποιούν την κατάσταση παραδοθείσας "
|
1785 |
+
"παραγγελίας. Μπορείτε να εκχωρήσετε ξανά αυτές τις παραγγελίες σε "
|
1786 |
+
"διαφορετική κατάσταση"
|
1787 |
+
|
1788 |
+
#: woocommerce-advanced-shipment-tracking.php:499
|
1789 |
#, php-format
|
1790 |
msgid ""
|
1791 |
"We detected %s orders that use the Partially Shipped order status, You can "
|
1794 |
"Εντοπίσαμε παραγγελίες% s που χρησιμοποιούν την κατάσταση μερικής αποστολής. "
|
1795 |
"Μπορείτε να εκχωρήσετε ξανά αυτές τις παραγγελίες σε διαφορετική κατάσταση"
|
1796 |
|
1797 |
+
#: woocommerce-advanced-shipment-tracking.php:511
|
1798 |
+
#, php-format
|
1799 |
+
msgid ""
|
1800 |
+
"We detected %s orders that use the Updated Tracking order status, You can "
|
1801 |
+
"reassign these orders to a different status"
|
1802 |
+
msgstr ""
|
1803 |
+
"Εντοπίσαμε παραγγελίες% s που χρησιμοποιούν την κατάσταση ενημερωμένης "
|
1804 |
+
"παραγγελίας παρακολούθησης. Μπορείτε να εκχωρήσετε ξανά αυτές τις "
|
1805 |
+
"παραγγελίες σε διαφορετική κατάσταση"
|
1806 |
+
|
1807 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:873
|
1808 |
+
msgid "Wrong Shipping Provider"
|
1809 |
+
msgstr "Λάθος πάροχος αποστολών"
|
1810 |
|
1811 |
+
#: includes/class-wc-advanced-shipment-tracking.php:384
|
1812 |
+
#: includes/class-wc-advanced-shipment-tracking.php:387
|
1813 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:467
|
1814 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:467
|
1815 |
msgid "Y-m-d"
|
1816 |
+
msgstr ""
|
1817 |
|
1818 |
+
#: includes/views/admin_status_notifications.php:116
|
1819 |
+
msgid ""
|
1820 |
+
"You already have delivered order status email enabled, to enable this email "
|
1821 |
+
"you'll need to disable the delivered order status email in settings."
|
1822 |
+
msgstr ""
|
1823 |
+
|
1824 |
+
#: includes/views/admin_options_tools.php:14
|
1825 |
+
msgid ""
|
1826 |
+
"You can send all your orders from the last 30 days to get shipment status "
|
1827 |
+
"from TrackShip:"
|
1828 |
+
msgstr ""
|
1829 |
+
"Μπορείτε να στείλετε όλες τις παραγγελίες σας από τις τελευταίες 30 ημέρες "
|
1830 |
+
"για να λάβετε την κατάσταση αποστολής από το TrackShip:"
|
1831 |
+
|
1832 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:235
|
1833 |
msgid "You can upload only csv file."
|
1834 |
msgstr "Μπορείτε να ανεβάσετε μόνο αρχείο csv."
|
1835 |
|
1836 |
+
#: includes/views/admin_options_shipping_provider.php:82
|
1837 |
+
#: includes/views/admin_options_shipping_provider.php:130
|
1838 |
msgid ""
|
1839 |
"You can use the variables %number%, %postal_code% and %country_code% in the "
|
1840 |
"URL, for more info, check our "
|
1842 |
"Μπορείτε να χρησιμοποιήσετε τις μεταβλητές% number%,% postal_code% and% "
|
1843 |
"country_code% στη διεύθυνση URL, για περισσότερες πληροφορίες, ανατρέξτε στο"
|
1844 |
|
1845 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1903
|
|
|
1846 |
#, php-format
|
1847 |
msgid "You did not create any %s shipping providers yet."
|
1848 |
msgstr "Δεν έχετε δημιουργήσει παρόχους αποστολής% s ακόμη."
|
1849 |
|
1850 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1906
|
1851 |
+
#: includes/views/admin_options_shipping_provider.php:45
|
1852 |
#, php-format
|
1853 |
msgid "You don't have any %s shipping providers."
|
1854 |
msgstr "Δεν διαθέτετε παρόχους ναυτιλίας% s."
|
1855 |
|
1856 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:1024
|
1857 |
+
#, php-format
|
1858 |
+
msgid "You got %s %s orders with shipment status “TrackShip connection issue”"
|
1859 |
+
msgstr ""
|
1860 |
+
"Λάβατε παραγγελίες% s% s με κατάσταση αποστολής \"Πρόβλημα σύνδεσης "
|
1861 |
+
"TrackShip\""
|
1862 |
+
|
1863 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:1015
|
1864 |
+
#, php-format
|
1865 |
+
msgid "You got %s %s orders with shipment status “TrackShip balance is 0”"
|
1866 |
+
msgstr ""
|
1867 |
+
"Λάβατε παραγγελίες% s% s με κατάσταση αποστολής \"Το υπόλοιπο TrackShip "
|
1868 |
+
"είναι 0\""
|
1869 |
|
1870 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:1006
|
1871 |
+
#, php-format
|
1872 |
+
msgid ""
|
1873 |
+
"You got %s %s orders with tracking info that were not sent to track on "
|
1874 |
+
"TrackShip"
|
1875 |
+
msgstr ""
|
1876 |
+
"Λάβατε παραγγελίες% s% s με πληροφορίες παρακολούθησης που δεν εστάλησαν για "
|
1877 |
+
"παρακολούθηση στο TrackShip"
|
1878 |
+
|
1879 |
+
#: includes/views/admin_trackship_dashboard.php:13
|
1880 |
+
#, php-format
|
1881 |
+
msgid ""
|
1882 |
+
"You have %s Shipped Orders from the last 30 days that you can bulk send to "
|
1883 |
+
"<a href=\"javascript:void(0);\" class=\"tool_link\">Get Shipment Status</a>"
|
1884 |
+
msgstr ""
|
1885 |
+
"Έχετε% s αποσταλείσες παραγγελίες από τις τελευταίες 30 ημέρες που μπορείτε "
|
1886 |
+
"να στείλετε μαζικά στη Λήψη κατάστασης αποστολής"
|
1887 |
+
|
1888 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:341
|
1889 |
+
msgid ""
|
1890 |
+
"You must add the shortcode [wcast-track-order] to the selected page in order "
|
1891 |
+
"for the tracking page to work."
|
1892 |
+
msgstr ""
|
1893 |
+
"Πρέπει να προσθέσετε τον σύντομο κώδικα [wcast-track-order] στην επιλεγμένη "
|
1894 |
+
"σελίδα για να λειτουργήσει η σελίδα παρακολούθησης."
|
1895 |
+
|
1896 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:126
|
1897 |
+
msgid "Your order #{order_number} has been delivered"
|
1898 |
+
msgstr "Η παραγγελία σας # {order_number} έχει παραδοθεί"
|
1899 |
+
|
1900 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:125
|
1901 |
+
msgid "Your order #{order_number} has returned to sender"
|
1902 |
+
msgstr ""
|
1903 |
+
"Η παραγγελία σας # {order_number} έχει επιστραφεί στον αποστολέα\n"
|
1904 |
+
|
1905 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:125
|
1906 |
+
msgid "Your order #{order_number} is available for pickup"
|
1907 |
+
msgstr ""
|
1908 |
+
"Η παραγγελία σας # {order_number} είναι διαθέσιμη για παραλαβή\n"
|
1909 |
+
|
1910 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:125
|
1911 |
+
msgid "Your order #{order_number} is Failed Attempt"
|
1912 |
+
msgstr "Η παραγγελία σας # {order_number} απέτυχε"
|
1913 |
+
|
1914 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:128
|
1915 |
+
msgid "Your order #{order_number} is in transit"
|
1916 |
+
msgstr ""
|
1917 |
+
"Η παραγγελία σας # {order_number} βρίσκεται σε διαμετακόμιση\n"
|
1918 |
+
|
1919 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:128
|
1920 |
+
msgid "Your order #{order_number} is on hold"
|
1921 |
+
msgstr "Η παραγγελία σας # {order_number} βρίσκεται σε αναμονή"
|
1922 |
+
|
1923 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:127
|
1924 |
+
msgid "Your order #{order_number} is out for delivery"
|
1925 |
+
msgstr ""
|
1926 |
+
"Η παραγγελία σας # {order_number} είναι εκτός παραγγελίας\n"
|
1927 |
+
|
1928 |
+
#: includes/customizer/class-wc-email-customizer.php:120
|
1929 |
+
#: includes/emails/class-shipment-delivered-email.php:94
|
1930 |
+
msgid "Your {site_title} order is now delivered"
|
1931 |
+
msgstr ""
|
1932 |
+
"Η παραγγελία σας {site_title} έχει πλέον παραδοθεί\n"
|
1933 |
+
|
1934 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:118
|
1935 |
msgid "Your {site_title} order is now partially shipped"
|
1936 |
msgstr "Η παραγγελία σας {site_title} αποστέλλεται τώρα εν μέρει"
|
1937 |
|
1938 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:118
|
1939 |
msgid "Your {site_title} order is now updated tracking"
|
1940 |
msgstr ""
|
1941 |
"Η παραγγελία σας {site_title} είναι πλέον ενημερωμένη παρακολούθηση\n"
|
|
|
|
|
|
|
|
lang/woo-advanced-shipment-tracking-es_ES.mo
CHANGED
Binary file
|
lang/woo-advanced-shipment-tracking-es_ES.po
CHANGED
@@ -3,8 +3,8 @@ msgstr ""
|
|
3 |
"Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
"POT-Creation-Date: 2020-11-11 09:34+0000\n"
|
6 |
-
"PO-Revision-Date:
|
7 |
-
"Last-Translator: John
|
8 |
"Language-Team: Spanish (Spain)\n"
|
9 |
"Language: es_ES\n"
|
10 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
@@ -12,538 +12,639 @@ 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.
|
16 |
|
17 |
-
|
18 |
-
#: includes/views/admin_options_shipping_provider.php:
|
19 |
#, php-format
|
20 |
msgid "<a href=\"%s\" target=\"blank\">documentation</a>"
|
21 |
msgstr "documentación"
|
22 |
|
23 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
msgid "Actions"
|
25 |
msgstr "Comportamiento"
|
26 |
|
27 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
28 |
-
msgid "
|
29 |
-
msgstr "
|
30 |
|
31 |
-
#: includes/views/admin_options_shipping_provider.php:
|
32 |
-
msgid ""
|
33 |
-
"Add API name aliases to map Shipping providers names with the provider names "
|
34 |
-
"that are updated in the shipment tracking API by external shipping services"
|
35 |
msgstr ""
|
36 |
-
"Agregue alias de nombres de API para asignar los nombres de los proveedores "
|
37 |
-
"de envío con los nombres de los proveedores que los servicios de envío "
|
38 |
-
"externos actualizan en la API de seguimiento de envíos."
|
39 |
|
40 |
-
#: includes/class-wc-advanced-shipment-tracking-
|
41 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
42 |
msgid "Add Custom Provider"
|
43 |
msgstr "Agregar proveedor personalizado"
|
44 |
|
45 |
-
|
46 |
-
msgid ""
|
47 |
-
"
|
48 |
-
|
49 |
-
|
50 |
-
"order complete email."
|
51 |
-
msgstr ""
|
52 |
-
"Agregue información de seguimiento de envío a sus pedidos de WooCommerce y "
|
53 |
-
"brinde a los clientes una manera fácil de rastrear sus pedidos. La "
|
54 |
-
"información de seguimiento del envío aparecerá en las cuentas de los "
|
55 |
-
"clientes (en el panel de pedidos) y en el correo electrónico completo de "
|
56 |
-
"pedidos de WooCommerce."
|
57 |
-
|
58 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:815
|
59 |
-
msgid "add the [wcast-track-order] shortcode in the selected page."
|
60 |
-
msgstr "agregue el código corto [wcast-track-order] en la página seleccionada."
|
61 |
-
|
62 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:1794
|
63 |
msgid "Add Tracking"
|
64 |
msgstr "Agregar seguimiento"
|
65 |
|
66 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:
|
67 |
msgid "Add Tracking - order\t"
|
68 |
msgstr "Agregar seguimiento: pedido"
|
69 |
|
70 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
71 |
-
msgid "Add Tracking
|
72 |
-
msgstr "Agregar información de seguimiento"
|
73 |
-
|
74 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:605
|
75 |
-
msgid ""
|
76 |
-
"Add Tracking Information in AST meta fields when you automatically sync "
|
77 |
-
"tracking numbers from aliexpress orders"
|
78 |
-
msgstr ""
|
79 |
-
"Agregue información de seguimiento en los metacampos de AST cuando "
|
80 |
-
"sincronice automáticamente los números de seguimiento de los pedidos de "
|
81 |
-
"aliexpress"
|
82 |
-
|
83 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:615
|
84 |
-
msgid ""
|
85 |
-
"Add tracking information in invoice PDF generate by WooCommerce PDF Invoices "
|
86 |
-
"& Packing Slips plugin By Ewout Fernhout"
|
87 |
-
msgstr ""
|
88 |
-
"Agregue información de seguimiento en el PDF de factura generado por el "
|
89 |
-
"complemento WooCommerce PDF Invoices & Packing Slips Por Ewout Fernhout"
|
90 |
-
|
91 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:625
|
92 |
-
msgid ""
|
93 |
-
"Add tracking information in invoice PDF generate by WooCommerce PDF Invoices "
|
94 |
-
"plugin By Bas Elbers"
|
95 |
-
msgstr ""
|
96 |
-
"Agregue información de seguimiento en la factura PDF generada por el "
|
97 |
-
"complemento WooCommerce PDF Invoices Por Bas Elbers"
|
98 |
-
|
99 |
-
#: includes/views/admin_options_settings.php:16
|
100 |
-
#| msgid "Add Tracking action "
|
101 |
-
msgid "Add Tracking Options"
|
102 |
-
msgstr "Acción \"Agregar seguimiento\""
|
103 |
-
|
104 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:933
|
105 |
-
msgid "Add Tracking Order action"
|
106 |
-
msgstr "Agregar acción de orden de seguimiento"
|
107 |
-
|
108 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:585
|
109 |
-
msgid ""
|
110 |
-
"Adding tracking information to your orders shipped with 3plwinner and "
|
111 |
-
"automate your workflow"
|
112 |
-
msgstr ""
|
113 |
-
"Agregar información de seguimiento a sus pedidos enviados con 3plwinner y "
|
114 |
-
"automatizar su flujo de trabajo"
|
115 |
-
|
116 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:545
|
117 |
-
msgid ""
|
118 |
-
"Adding tracking information to your orders shipped with CustomCat and "
|
119 |
-
"automate your workflow"
|
120 |
-
msgstr ""
|
121 |
-
"Agregar información de seguimiento a sus pedidos enviados con CustomCat y "
|
122 |
-
"automatizar su flujo de trabajo"
|
123 |
-
|
124 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:555
|
125 |
-
msgid ""
|
126 |
-
"Adding tracking information to your orders shipped with Dear Systems and "
|
127 |
-
"automate your workflow"
|
128 |
-
msgstr ""
|
129 |
-
"Agregar información de seguimiento a sus pedidos enviados con Dear Systems y "
|
130 |
-
"automatizar su flujo de trabajo"
|
131 |
-
|
132 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:595
|
133 |
-
msgid ""
|
134 |
-
"Adding tracking information to your orders shipped with Dianxiaomi and "
|
135 |
-
"automate your workflow"
|
136 |
-
msgstr ""
|
137 |
-
"Agregar información de seguimiento a sus pedidos enviados con Dianxiaomi y "
|
138 |
-
"automatizar su flujo de trabajo"
|
139 |
-
|
140 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:575
|
141 |
-
msgid ""
|
142 |
-
"Adding tracking information to your orders shipped with Picqer and automate "
|
143 |
-
"your workflow"
|
144 |
-
msgstr ""
|
145 |
-
"Agregar información de seguimiento a sus pedidos enviados con Picqer y "
|
146 |
-
"automatizar su flujo de trabajo"
|
147 |
-
|
148 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:565
|
149 |
-
msgid ""
|
150 |
-
"Adding tracking information to your orders shipped with Printify and "
|
151 |
-
"automate your workflow"
|
152 |
-
msgstr ""
|
153 |
-
"Agregar información de seguimiento a sus pedidos enviados con Printify y "
|
154 |
-
"automatizar su flujo de trabajo"
|
155 |
-
|
156 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:515
|
157 |
-
msgid ""
|
158 |
-
"Adding tracking information to your orders shipped with QuickBooks Commerce "
|
159 |
-
"and automate your workflow"
|
160 |
-
msgstr ""
|
161 |
-
"Agregar información de seguimiento a sus pedidos enviados con QuickBooks "
|
162 |
-
"Commerce y automatizar su flujo de trabajo"
|
163 |
-
|
164 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:525
|
165 |
-
msgid ""
|
166 |
-
"Adding tracking information to your orders shipped with ReadyToShip and "
|
167 |
-
"automate your workflow"
|
168 |
-
msgstr ""
|
169 |
-
"Agregar información de seguimiento a sus pedidos enviados con ReadyToShip y "
|
170 |
-
"automatizar su flujo de trabajo"
|
171 |
-
|
172 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:535
|
173 |
-
msgid ""
|
174 |
-
"Adding tracking information to your orders shipped with Royal Mail Click & "
|
175 |
-
"Drop and automate your workflow"
|
176 |
-
msgstr ""
|
177 |
-
"Agregar información de seguimiento a sus pedidos enviados con Royal Mail "
|
178 |
-
"Click & Drop y automatizar su flujo de trabajo"
|
179 |
-
|
180 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:475
|
181 |
-
msgid ""
|
182 |
-
"Adding tracking information to your orders shipped with ShipStation and "
|
183 |
-
"automate your workflow"
|
184 |
-
msgstr ""
|
185 |
-
"Agregar información de seguimiento a sus pedidos enviados con ShipStation y "
|
186 |
-
"automatizar su flujo de trabajo"
|
187 |
-
|
188 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:485
|
189 |
-
msgid ""
|
190 |
-
"Adding tracking information to your orders shipped with WooCommerce Shipping "
|
191 |
-
"to the Shipment Tracking and automate your workflow"
|
192 |
msgstr ""
|
193 |
-
"Agregar información de seguimiento a sus pedidos enviados con WooCommerce "
|
194 |
-
"Shipping al Seguimiento de envíos y automatizar su flujo de trabajo"
|
195 |
|
196 |
-
#: includes/class-wc-advanced-shipment-tracking
|
197 |
-
msgid ""
|
198 |
-
"
|
199 |
-
"using the Ordoro"
|
200 |
-
msgstr ""
|
201 |
-
"Agregar información de seguimiento a sus pedidos al generar etiquetas de "
|
202 |
-
"envío utilizando Ordoro"
|
203 |
|
204 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
"complemento de etiqueta de impresión de PluginHive"
|
213 |
|
214 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
215 |
msgid "Additional text after header"
|
216 |
msgstr "Texto adicional después del encabezado"
|
217 |
|
|
|
|
|
|
|
|
|
218 |
#. Name of the plugin
|
219 |
msgid "Advanced Shipment Tracking for WooCommerce"
|
220 |
-
msgstr "
|
221 |
|
222 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
223 |
msgid "After Order Details"
|
224 |
msgstr "Después de los detalles del pedido"
|
225 |
|
226 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
227 |
-
msgid "API aliases"
|
228 |
-
msgstr "Alias de API"
|
229 |
-
|
230 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:1055
|
231 |
msgid "API Date Format"
|
232 |
msgstr "Formato de fecha de API"
|
233 |
|
234 |
-
#: includes/
|
|
|
235 |
msgid "API Name"
|
236 |
msgstr "Nombre de API"
|
237 |
|
238 |
-
#: includes/
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
#: includes/
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
247 |
msgid "Available variables:"
|
248 |
msgstr "Variables disponibles:"
|
249 |
|
250 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
251 |
msgid "Before Order Details"
|
252 |
msgstr "Antes de los detalles del pedido"
|
253 |
|
254 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
255 |
msgid "Border color"
|
256 |
msgstr ""
|
257 |
"Color del borde\n"
|
258 |
|
259 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
260 |
msgid "Border size"
|
261 |
msgstr ""
|
262 |
"Tamaño del borde\n"
|
263 |
|
264 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
265 |
msgid "Bottom border color"
|
266 |
msgstr ""
|
267 |
"Color del borde inferior\n"
|
268 |
|
269 |
-
#: includes/
|
|
|
|
|
|
|
|
|
270 |
msgid "Button color"
|
271 |
-
msgstr "
|
272 |
|
273 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
274 |
msgid "Button font color"
|
275 |
-
msgstr "
|
276 |
|
277 |
-
#: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:
|
278 |
msgid "Cannot create existing order shipment tracking."
|
279 |
msgstr ""
|
280 |
"No se puede crear el seguimiento de envío de pedidos existente.\n"
|
281 |
|
282 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
283 |
msgid "Change order status to"
|
284 |
msgstr "Cambiar el estado del pedido a"
|
285 |
|
286 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:
|
287 |
msgid "Change status to shipped"
|
288 |
msgstr ""
|
289 |
"Cambiar estado a enviado\n"
|
290 |
|
291 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
292 |
msgid "Choose for which Order status to display"
|
293 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
294 |
|
295 |
-
#: includes/views/admin_options_bulk_upload.php:
|
296 |
msgid "Choose the Shipped Date format"
|
297 |
msgstr "Elija el formato de fecha de envío"
|
298 |
|
299 |
-
#: includes/class-
|
|
|
|
|
|
|
|
|
|
|
300 |
msgid "Completed"
|
301 |
msgstr "Terminada"
|
302 |
|
303 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
304 |
msgid "Content"
|
305 |
msgstr "Contenido"
|
306 |
|
307 |
#: includes/customizer/class-wc-tracking-info-customizer.php:807
|
308 |
msgid "Content Background color"
|
309 |
-
msgstr "
|
310 |
|
311 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
312 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
313 |
msgid "Content font color"
|
314 |
msgstr ""
|
315 |
"Color de fuente de contenido\n"
|
316 |
|
317 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
318 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
319 |
msgid "Content font size"
|
320 |
msgstr ""
|
321 |
"Tamaño de fuente de contenido\n"
|
322 |
|
323 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
324 |
msgid "Content font weight"
|
325 |
msgstr ""
|
326 |
"Peso de la fuente de contenido\n"
|
327 |
|
328 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
329 |
msgid "Content line height"
|
330 |
msgstr ""
|
331 |
"Altura de la línea de contenido\n"
|
332 |
|
333 |
-
#: includes/views/admin_options_bulk_upload.php:
|
334 |
msgid "Continue"
|
335 |
msgstr "Seguir"
|
336 |
|
337 |
-
#: includes/
|
338 |
msgid "Country"
|
339 |
msgstr "País"
|
340 |
|
341 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
342 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
343 |
-
#: includes/
|
|
|
|
|
|
|
344 |
msgid "CSV Import"
|
345 |
msgstr "Importación CSV"
|
346 |
|
347 |
-
#: includes/views/admin_options_shipping_provider.php:65
|
348 |
-
msgid "Custom API name"
|
349 |
-
msgstr "Nombre de API personalizado"
|
350 |
-
|
351 |
#: includes/views/admin_options_shipping_provider.php:61
|
|
|
352 |
msgid "Custom display name"
|
353 |
msgstr "Nombre de visualización personalizado"
|
354 |
|
355 |
-
#: includes/customizer/class-wcast-customizer.php:
|
356 |
msgid "Custom order status email"
|
357 |
-
msgstr "
|
358 |
|
359 |
-
#: includes/
|
360 |
-
|
361 |
-
|
|
|
362 |
|
363 |
-
#: includes/views/
|
364 |
-
msgid "
|
365 |
-
msgstr "
|
366 |
|
367 |
-
#: includes/
|
368 |
-
|
369 |
-
|
370 |
-
msgstr "Personalizar"
|
371 |
|
372 |
-
#: includes/views/admin_options_osm.php:
|
|
|
|
|
373 |
msgid "Dark Font"
|
374 |
msgstr ""
|
375 |
"Fuente oscura\n"
|
376 |
|
377 |
-
#: includes/class-wc-advanced-shipment-tracking-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
378 |
msgid "Data saved successfully."
|
379 |
msgstr "Datos guardados exitosamente."
|
380 |
|
381 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
382 |
-
#: includes/class-wc-advanced-shipment-tracking-settings.php:
|
383 |
msgid "Date shipped:"
|
384 |
msgstr "Fecha de envío:"
|
385 |
|
386 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
387 |
-
|
388 |
-
msgid "
|
389 |
msgstr "Defecto"
|
390 |
|
391 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
392 |
msgid "Delivered"
|
393 |
msgstr "Entregado"
|
394 |
|
395 |
-
#: includes/class-wc-advanced-shipment-tracking-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
396 |
msgid "Display Name"
|
397 |
msgstr "Nombre para mostrar"
|
398 |
|
399 |
-
#: includes/customizer/class-wc-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
400 |
msgid "Display shipping provider image"
|
401 |
msgstr ""
|
402 |
"Mostrar imagen del proveedor de envío\n"
|
403 |
|
404 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
405 |
msgid "Display shipping provider name"
|
406 |
msgstr ""
|
407 |
"Mostrar nombre del proveedor de envío\n"
|
408 |
|
409 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
410 |
msgid "Download sample csv"
|
411 |
msgstr "Descargar muestra csv"
|
412 |
|
413 |
-
#: includes/
|
414 |
-
msgid "
|
415 |
-
msgstr "
|
416 |
|
417 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
418 |
msgid "Edit Shipping Provider"
|
419 |
msgstr "Edit Shipping Provider"
|
420 |
|
421 |
-
#: includes/customizer/class-wc-
|
422 |
-
#: includes/customizer/class-wc-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
423 |
msgid "Email content"
|
424 |
msgstr "Contenido de correo electronico"
|
425 |
|
426 |
-
#: includes/customizer/class-wc-
|
427 |
-
|
428 |
-
|
|
|
|
|
|
|
|
|
|
|
429 |
|
430 |
-
#: includes/customizer/class-wc-
|
431 |
-
msgid "
|
432 |
msgstr ""
|
433 |
-
"Habilitar correo electrónico de estado de pedido enviado parcialmente\n"
|
434 |
|
435 |
-
#: includes/
|
436 |
-
msgid "Enable
|
437 |
-
msgstr "Habilite
|
438 |
|
439 |
-
#: includes/class-wc-
|
440 |
-
msgid "Enable
|
441 |
-
msgstr "
|
442 |
|
443 |
-
#: includes/
|
444 |
-
msgid "Enable
|
445 |
-
msgstr "
|
446 |
-
|
447 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:554
|
448 |
-
msgid "Enable the Dear Systems integration"
|
449 |
-
msgstr "Habilite la integración de Dear Systems"
|
450 |
-
|
451 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:594
|
452 |
-
msgid "Enable the Dianxiaomi integration"
|
453 |
-
msgstr "Habilite la integración de Dianxiaomi"
|
454 |
|
455 |
-
#: includes/class-wc-
|
456 |
-
msgid "Enable
|
457 |
-
msgstr "
|
458 |
|
459 |
-
#: includes/class-wc-
|
460 |
-
msgid "Enable
|
461 |
-
msgstr "
|
|
|
462 |
|
463 |
-
#: includes/class-wc-
|
464 |
-
msgid "Enable
|
465 |
-
msgstr "
|
466 |
|
467 |
-
#: includes/class-wc-
|
468 |
-
msgid "
|
3 |
"Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
"POT-Creation-Date: 2020-11-11 09:34+0000\n"
|
6 |
+
"PO-Revision-Date: 2020-12-07 09:40+0000\n"
|
7 |
+
"Last-Translator: John\n"
|
8 |
"Language-Team: Spanish (Spain)\n"
|
9 |
"Language: es_ES\n"
|
10 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
12 |
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
"Content-Transfer-Encoding: 8bit\n"
|
14 |
"X-Generator: Loco https://localise.biz/\n"
|
15 |
+
"X-Loco-Version: 2.4.4; wp-5.5.3"
|
16 |
|
17 |
+
#: includes/views/admin_options_shipping_provider.php:82
|
18 |
+
#: includes/views/admin_options_shipping_provider.php:130
|
19 |
#, php-format
|
20 |
msgid "<a href=\"%s\" target=\"blank\">documentation</a>"
|
21 |
msgstr "documentación"
|
22 |
|
23 |
+
#: includes/views/admin_options_addons.php:139
|
24 |
+
#: includes/views/trackship_sidebar.php:14
|
25 |
+
msgid "Account Dashboard"
|
26 |
+
msgstr "Panel de cuenta"
|
27 |
+
|
28 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1744
|
29 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1823
|
30 |
msgid "Actions"
|
31 |
msgstr "Comportamiento"
|
32 |
|
33 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1745
|
34 |
+
msgid "Active"
|
35 |
+
msgstr "Activa"
|
36 |
|
37 |
+
#: includes/views/admin_options_shipping_provider.php:22
|
38 |
+
msgid "Active Providers"
|
|
|
|
|
39 |
msgstr ""
|
|
|
|
|
|
|
40 |
|
41 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:386
|
42 |
+
#: includes/views/admin_tracking_page_settings.php:71
|
43 |
+
msgid "Add a link to the Shipping provider page"
|
44 |
+
msgstr "Agregue un enlace a la página del proveedor de envío"
|
45 |
+
|
46 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1728
|
47 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1904
|
48 |
msgid "Add Custom Provider"
|
49 |
msgstr "Agregar proveedor personalizado"
|
50 |
|
51 |
+
#: includes/views/admin_options_shipping_provider.php:51
|
52 |
+
msgid "Add Custom Shipping Provider"
|
53 |
+
msgstr "Añadir proveedor de envío personalizado"
|
54 |
+
|
55 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1647
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
56 |
msgid "Add Tracking"
|
57 |
msgstr "Agregar seguimiento"
|
58 |
|
59 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:429
|
60 |
msgid "Add Tracking - order\t"
|
61 |
msgstr "Agregar seguimiento: pedido"
|
62 |
|
63 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1019
|
64 |
+
msgid "Add Tracking action "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
65 |
msgstr ""
|
|
|
|
|
66 |
|
67 |
+
#: includes/class-wc-advanced-shipment-tracking.php:328
|
68 |
+
msgid "Add Tracking Info"
|
69 |
+
msgstr "Agregar información de seguimiento"
|
|
|
|
|
|
|
|
|
70 |
|
71 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:312
|
72 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:334
|
73 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:429
|
74 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:433
|
75 |
+
#: includes/views/admin_options_addons.php:115
|
76 |
+
#: includes/views/admin_options_addons.php:121
|
77 |
+
msgid "Add-ons"
|
78 |
+
msgstr "Complementos"
|
|
|
79 |
|
80 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:274
|
81 |
msgid "Additional text after header"
|
82 |
msgstr "Texto adicional después del encabezado"
|
83 |
|
84 |
+
#: includes/views/admin_status_notifications.php:141
|
85 |
+
msgid "Admin Notifications"
|
86 |
+
msgstr "Notificaciones de administrador"
|
87 |
+
|
88 |
#. Name of the plugin
|
89 |
msgid "Advanced Shipment Tracking for WooCommerce"
|
90 |
+
msgstr ""
|
91 |
|
92 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:217
|
93 |
msgid "After Order Details"
|
94 |
msgstr "Después de los detalles del pedido"
|
95 |
|
96 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1044
|
|
|
|
|
|
|
|
|
97 |
msgid "API Date Format"
|
98 |
msgstr "Formato de fecha de API"
|
99 |
|
100 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1739
|
101 |
+
#: includes/views/admin_options_shipping_provider.php:109
|
102 |
msgid "API Name"
|
103 |
msgstr "Nombre de API"
|
104 |
|
105 |
+
#: includes/views/admin_status_notifications.php:230
|
106 |
+
msgid "As it Happens"
|
107 |
+
msgstr "Como sucede"
|
108 |
+
|
109 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:470
|
110 |
+
msgid ""
|
111 |
+
"Automatically set the Order Status to Delivered when the shipment is "
|
112 |
+
"delivered "
|
113 |
+
msgstr ""
|
114 |
+
"Establecer automáticamente el estado del pedido en Entregado cuando se "
|
115 |
+
"entrega el envío"
|
116 |
+
|
117 |
+
#: includes/views/admin_trackship_dashboard.php:33
|
118 |
+
msgid "Automation"
|
119 |
+
msgstr "Automatización"
|
120 |
+
|
121 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:764
|
122 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:846
|
123 |
+
#: includes/customizer/class-wcast-customizer.php:104
|
124 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:126
|
125 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:195
|
126 |
+
#: includes/views/admin_status_notifications.php:82
|
127 |
+
msgid "Available For Pickup"
|
128 |
+
msgstr ""
|
129 |
+
"Disponible para envíos\n"
|
130 |
+
|
131 |
+
#. %s: list of placeholders
|
132 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:205
|
133 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:229
|
134 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:274
|
135 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:205
|
136 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:229
|
137 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:274
|
138 |
+
#: includes/customizer/class-wc-email-customizer.php:246
|
139 |
+
#: includes/customizer/class-wc-email-customizer.php:270
|
140 |
+
#: includes/customizer/class-wc-email-customizer.php:315
|
141 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:204
|
142 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:228
|
143 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:273
|
144 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:258
|
145 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:282
|
146 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:327
|
147 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:206
|
148 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:230
|
149 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:275
|
150 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:204
|
151 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:228
|
152 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:272
|
153 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:357
|
154 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:202
|
155 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:226
|
156 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:251
|
157 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:271
|
158 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:204
|
159 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:228
|
160 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:253
|
161 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:273
|
162 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:207
|
163 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:231
|
164 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:276
|
165 |
+
#: includes/emails/class-shipment-delivered-email.php:274
|
166 |
+
#: includes/emails/class-shipment-delivered-email.php:283
|
167 |
+
#: includes/views/admin_status_notifications.php:212
|
168 |
msgid "Available variables:"
|
169 |
msgstr "Variables disponibles:"
|
170 |
|
171 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:216
|
172 |
msgid "Before Order Details"
|
173 |
msgstr "Antes de los detalles del pedido"
|
174 |
|
175 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:550
|
176 |
msgid "Border color"
|
177 |
msgstr ""
|
178 |
"Color del borde\n"
|
179 |
|
180 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:567
|
181 |
msgid "Border size"
|
182 |
msgstr ""
|
183 |
"Tamaño del borde\n"
|
184 |
|
185 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:427
|
186 |
msgid "Bottom border color"
|
187 |
msgstr ""
|
188 |
"Color del borde inferior\n"
|
189 |
|
190 |
+
#: includes/views/admin_options_shipping_provider.php:23
|
191 |
+
msgid "Browse Providers"
|
192 |
+
msgstr ""
|
193 |
+
|
194 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:960
|
195 |
msgid "Button color"
|
196 |
+
msgstr ""
|
197 |
|
198 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:977
|
199 |
msgid "Button font color"
|
200 |
+
msgstr ""
|
201 |
|
202 |
+
#: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:388
|
203 |
msgid "Cannot create existing order shipment tracking."
|
204 |
msgstr ""
|
205 |
"No se puede crear el seguimiento de envío de pedidos existente.\n"
|
206 |
|
207 |
+
#: includes/views/admin_status_notifications.php:130
|
208 |
+
msgid "Carrier attempted to deliver the package but failed."
|
209 |
+
msgstr "El transportista intentó entregar el paquete pero falló."
|
210 |
+
|
211 |
+
#: includes/views/admin_status_notifications.php:97
|
212 |
+
msgid "Carrier is about to deliver the shipment."
|
213 |
+
msgstr "El transportista está a punto de entregar el envío."
|
214 |
+
|
215 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:769
|
216 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:867
|
217 |
+
msgid "Carrier Unsupported"
|
218 |
+
msgstr "Transportista no admitido"
|
219 |
+
|
220 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1683
|
221 |
msgid "Change order status to"
|
222 |
msgstr "Cambiar el estado del pedido a"
|
223 |
|
224 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:358
|
225 |
msgid "Change status to shipped"
|
226 |
msgstr ""
|
227 |
"Cambiar estado a enviado\n"
|
228 |
|
229 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1045
|
230 |
msgid "Choose for which Order status to display"
|
231 |
+
msgstr ""
|
232 |
+
|
233 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1020
|
234 |
+
msgid "Choose for which Order status to display Add Tracking action button"
|
235 |
+
msgstr ""
|
236 |
+
|
237 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1012
|
238 |
+
msgid "Choose on which order emails to include the shipment tracking info"
|
239 |
+
msgstr ""
|
240 |
|
241 |
+
#: includes/views/admin_options_bulk_upload.php:34
|
242 |
msgid "Choose the Shipped Date format"
|
243 |
msgstr "Elija el formato de fecha de envío"
|
244 |
|
245 |
+
#: includes/emails/class-shipment-delivered-email.php:298
|
246 |
+
msgid "Click Here"
|
247 |
+
msgstr ""
|
248 |
+
"Haga clic aquí\n"
|
249 |
+
|
250 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:420
|
251 |
msgid "Completed"
|
252 |
msgstr "Terminada"
|
253 |
|
254 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:599
|
255 |
+
#: includes/views/trackship_sidebar.php:13
|
256 |
+
msgid "Connected"
|
257 |
+
msgstr ""
|
258 |
+
"Conectado\n"
|
259 |
+
|
260 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:337
|
261 |
msgid "Content"
|
262 |
msgstr "Contenido"
|
263 |
|
264 |
#: includes/customizer/class-wc-tracking-info-customizer.php:807
|
265 |
msgid "Content Background color"
|
266 |
+
msgstr ""
|
267 |
|
268 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:392
|
269 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:824
|
270 |
msgid "Content font color"
|
271 |
msgstr ""
|
272 |
"Color de fuente de contenido\n"
|
273 |
|
274 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:374
|
275 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:841
|
276 |
msgid "Content font size"
|
277 |
msgstr ""
|
278 |
"Tamaño de fuente de contenido\n"
|
279 |
|
280 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:881
|
281 |
msgid "Content font weight"
|
282 |
msgstr ""
|
283 |
"Peso de la fuente de contenido\n"
|
284 |
|
285 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:859
|
286 |
msgid "Content line height"
|
287 |
msgstr ""
|
288 |
"Altura de la línea de contenido\n"
|
289 |
|
290 |
+
#: includes/views/admin_options_bulk_upload.php:57
|
291 |
msgid "Continue"
|
292 |
msgstr "Seguir"
|
293 |
|
294 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1741
|
295 |
msgid "Country"
|
296 |
msgstr "País"
|
297 |
|
298 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:308
|
299 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:310
|
300 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:327
|
301 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:411
|
302 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:415
|
303 |
+
#: includes/views/admin_options_bulk_upload.php:11
|
304 |
msgid "CSV Import"
|
305 |
msgstr "Importación CSV"
|
306 |
|
|
|
|
|
|
|
|
|
307 |
#: includes/views/admin_options_shipping_provider.php:61
|
308 |
+
#: includes/views/admin_options_shipping_provider.php:106
|
309 |
msgid "Custom display name"
|
310 |
msgstr "Nombre de visualización personalizado"
|
311 |
|
312 |
+
#: includes/customizer/class-wcast-customizer.php:73
|
313 |
msgid "Custom order status email"
|
314 |
+
msgstr ""
|
315 |
|
316 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:706
|
317 |
+
#: includes/views/admin_options_settings.php:46
|
318 |
+
msgid "Custom Order Statuses"
|
319 |
+
msgstr "Estados de pedidos personalizados"
|
320 |
|
321 |
+
#: includes/views/admin_options_shipping_provider.php:24
|
322 |
+
msgid "Custom Providers"
|
323 |
+
msgstr ""
|
324 |
|
325 |
+
#: includes/views/admin_status_notifications.php:234
|
326 |
+
msgid "Daily Digest on"
|
327 |
+
msgstr "Resumen diario en"
|
|
|
328 |
|
329 |
+
#: includes/views/admin_options_osm.php:37
|
330 |
+
#: includes/views/admin_options_osm.php:80
|
331 |
+
#: includes/views/admin_options_osm.php:120
|
332 |
msgid "Dark Font"
|
333 |
msgstr ""
|
334 |
"Fuente oscura\n"
|
335 |
|
336 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:1495
|
337 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:1503
|
338 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:1520
|
339 |
+
msgid "data not available."
|
340 |
+
msgstr ""
|
341 |
+
"informacion no disponible.\n"
|
342 |
+
|
343 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:159
|
344 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:229
|
345 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:233
|
346 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:353
|
347 |
msgid "Data saved successfully."
|
348 |
msgstr "Datos guardados exitosamente."
|
349 |
|
350 |
+
#: includes/class-wc-advanced-shipment-tracking.php:383
|
351 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:466
|
352 |
msgid "Date shipped:"
|
353 |
msgstr "Fecha de envío:"
|
354 |
|
355 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1742
|
356 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1822
|
357 |
+
msgid "Default"
|
358 |
msgstr "Defecto"
|
359 |
|
360 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:875
|
361 |
+
msgid "Default \"mark as <span class=\"shipped_label\">completed</span>\""
|
362 |
+
msgstr ""
|
363 |
+
"Predeterminado \"marcar como <span class =\" enviado_label \"> completado "
|
364 |
+
"</span>\""
|
365 |
+
|
366 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:871
|
367 |
+
msgid "Default \"mark as <span class=\"shipped_label\">shipped</span>\""
|
368 |
+
msgstr ""
|
369 |
+
"Predeterminado \"marcar como <span class =\" enviado_label \"> enviado "
|
370 |
+
"</span>\""
|
371 |
+
|
372 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:134
|
373 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:179
|
374 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:766
|
375 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:840
|
376 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1671
|
377 |
+
#: includes/customizer/class-wcast-customizer.php:119
|
378 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:127
|
379 |
+
#: includes/customizer/class-wc-email-customizer.php:184
|
380 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:197
|
381 |
+
#: includes/views/admin_status_notifications.php:112
|
382 |
+
#: includes/views/admin_options_osm.php:17
|
383 |
msgid "Delivered"
|
384 |
msgstr "Entregado"
|
385 |
|
386 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:139
|
387 |
+
#, php-format
|
388 |
+
msgid "Delivered <span class=\"count\">(%s)</span>"
|
389 |
+
msgid_plural "Delivered <span class=\"count\">(%s)</span>"
|
390 |
+
msgstr[0] ""
|
391 |
+
"Entregado <span class=\"count\">(%s)</span>\n"
|
392 |
+
msgstr[1] ""
|
393 |
+
"Entregado <span class=\"count\">(%s)</span>\n"
|
394 |
+
|
395 |
+
#: includes/emails/class-shipment-delivered-email.php:32
|
396 |
+
msgid "Delivered order"
|
397 |
+
msgstr ""
|
398 |
+
"Pedido entregado\n"
|
399 |
+
|
400 |
+
#: includes/views/front/layout1_tracking_details.php:8
|
401 |
+
msgid "Destination Details"
|
402 |
+
msgstr "Detalles del destino"
|
403 |
+
|
404 |
+
#: includes/customizer/class-wc-email-customizer.php:389
|
405 |
+
msgid "Display Billing Address"
|
406 |
+
msgstr ""
|
407 |
+
"Mostrar dirección de facturación\n"
|
408 |
+
|
409 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1738
|
410 |
msgid "Display Name"
|
411 |
msgstr "Nombre para mostrar"
|
412 |
|
413 |
+
#: includes/customizer/class-wc-email-customizer.php:351
|
414 |
+
msgid "Display order details"
|
415 |
+
msgstr ""
|
416 |
+
"Mostrar detalles del pedido\n"
|
417 |
+
|
418 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:437
|
419 |
+
msgid "Display Shipment Status Filter on Orders admin"
|
420 |
+
msgstr "Mostrar filtro de estado de envío en pedidos admin"
|
421 |
+
|
422 |
+
#: includes/customizer/class-wc-email-customizer.php:370
|
423 |
+
msgid "Display Shipping Address"
|
424 |
+
msgstr ""
|
425 |
+
"Mostrar dirección de envío\n"
|
426 |
+
|
427 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:480
|
428 |
msgid "Display shipping provider image"
|
429 |
msgstr ""
|
430 |
"Mostrar imagen del proveedor de envío\n"
|
431 |
|
432 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:462
|
433 |
msgid "Display shipping provider name"
|
434 |
msgstr ""
|
435 |
"Mostrar nombre del proveedor de envío\n"
|
436 |
|
437 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1029
|
438 |
+
msgid "Display Track button on the Orders history list in my-account"
|
439 |
+
msgstr ""
|
440 |
+
|
441 |
+
#: includes/customizer/class-wc-email-customizer.php:333
|
442 |
+
msgid "Display tracking details"
|
443 |
+
msgstr ""
|
444 |
+
"Mostrar detalles de seguimiento\n"
|
445 |
+
|
446 |
+
#: includes/class-wc-advanced-shipment-tracking-trackship.php:220
|
447 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:339
|
448 |
+
#: includes/views/zorem_admin_bulk_upload_sidebar.php:14
|
449 |
+
msgid "Documentation"
|
450 |
+
msgstr "Documentación"
|
451 |
+
|
452 |
+
#: includes/views/zorem_admin_bulk_upload_sidebar.php:13
|
453 |
msgid "Download sample csv"
|
454 |
msgstr "Descargar muestra csv"
|
455 |
|
456 |
+
#: includes/views/admin_status_notifications.php:190
|
457 |
+
msgid "E.g. {admin_email}, admin@example.org"
|
458 |
+
msgstr "P.ej. {admin_email}, admin@example.org"
|
459 |
|
460 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:187
|
461 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:187
|
462 |
+
#: includes/customizer/class-wc-email-customizer.php:228
|
463 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:186
|
464 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:240
|
465 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:188
|
466 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:186
|
467 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:189
|
468 |
+
msgid "E.g. {customer.email}, admin@example.org"
|
469 |
+
msgstr "Por ejemplo, {customer.email}, admin@example.org"
|
470 |
+
|
471 |
+
#: includes/emails/class-shipment-delivered-email.php:299
|
472 |
+
msgid "Edit in customizer"
|
473 |
+
msgstr ""
|
474 |
+
"Editar en el personalizador\n"
|
475 |
+
|
476 |
+
#: includes/views/admin_options_shipping_provider.php:95
|
477 |
msgid "Edit Shipping Provider"
|
478 |
msgstr "Edit Shipping Provider"
|
479 |
|
480 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:252
|
481 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:252
|
482 |
+
#: includes/customizer/class-wc-email-customizer.php:294
|
483 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:251
|
484 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:305
|
485 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:253
|
486 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:251
|
487 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:250
|
488 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:252
|
489 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:254
|
490 |
+
#: includes/views/admin_status_notifications.php:206
|
491 |
msgid "Email content"
|
492 |
msgstr "Contenido de correo electronico"
|
493 |
|
494 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:204
|
495 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:204
|
496 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:203
|
497 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:257
|
498 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:205
|
499 |
+
#: includes/customizer/class-wc-onhold-email-customizer.php:206
|
500 |
+
msgid "Email Subject"
|
501 |
+
msgstr "Asunto del email"
|
502 |
|
503 |
+
#: includes/customizer/class-wc-email-customizer.php:176
|
504 |
+
msgid "Email Type"
|
505 |
msgstr ""
|
|
|
506 |
|
507 |
+
#: includes/views/admin_tracking_page_settings.php:10
|
508 |
+
msgid "Enable a tracking page on your store"
|
509 |
+
msgstr "Habilite una página de seguimiento en su tienda"
|
510 |
|
511 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:161
|
512 |
+
msgid "Enable Available For Pickup email"
|
513 |
+
msgstr "Habilitar disponible para correo electrónico de recogida"
|
514 |
|
515 |
+
#: includes/views/admin_options_settings.php:47
|
516 |
+
msgid "Enable custom order statuses to streamline your fulfillment workflow"
|
517 |
+
msgstr ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
518 |
|
519 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:161
|
520 |
+
msgid "Enable Delivered email"
|
521 |
+
msgstr "Habilitar correo electrónico entregado"
|
522 |
|
523 |
+
#: includes/customizer/class-wc-email-customizer.php:202
|
524 |
+
msgid "Enable Delivered order status email"
|
525 |
+
msgstr ""
|
526 |
+
"Habilitar correo electrónico de estado de pedido entregado\n"
|
527 |
|
528 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:160
|
529 |
+
msgid "Enable Failed Attempt email"
|
530 |
+
msgstr "Habilitar correo electrónico de intento fallido"
|
531 |
|
532 |
+
#: includes/customizer/class-wc-email-customizer.php:408
|
533 |
+
msgid "Enabl
|