Version Description
Download this release
Release Info
Developer | ashokrane |
Plugin | Abandoned Cart Lite for WooCommerce |
Version | 4.7 |
Comparing to | |
See all releases |
Code changes from version 4.6 to 4.7
- woocommerce-abandoned-cart/cron/wcal_send_email.php +19 -19
- woocommerce-abandoned-cart/i18n/languages/{woocommerce-ac-de_DE.mo → woocommerce-abandoned-cart-de_DE.mo} +0 -0
- woocommerce-abandoned-cart/i18n/languages/{woocommerce-ac-he_IL.mo → woocommerce-abandoned-cart-he_IL.mo} +0 -0
- woocommerce-abandoned-cart/i18n/languages/{woocommerce-ac-he_IL.po → woocommerce-abandoned-cart-he_IL.po} +0 -0
- woocommerce-abandoned-cart/i18n/languages/{woocommerce-ac-sk_SK.mo → woocommerce-abandoned-cart-sk_SK.mo} +0 -0
- woocommerce-abandoned-cart/i18n/languages/{woocommerce-ac-sk_SK.po → woocommerce-abandoned-cart-sk_SK.po} +0 -0
- woocommerce-abandoned-cart/i18n/languages/woocommerce-abandoned-cart.mo +0 -0
- woocommerce-abandoned-cart/i18n/languages/{woocommerce-ac.po → woocommerce-abandoned-cart.po} +503 -500
- woocommerce-abandoned-cart/i18n/languages/{woocommerce-ac.pot → woocommerce-abandoned-cart.pot} +504 -504
- woocommerce-abandoned-cart/i18n/languages/{woocommerce-ac-de_DE.po → woocommerce-abandoned-cart_DE.po} +0 -0
- woocommerce-abandoned-cart/i18n/languages/woocommerce-ac.mo +0 -0
- woocommerce-abandoned-cart/includes/classes/class-wcal-abandoned-orders-table.php +17 -17
- woocommerce-abandoned-cart/includes/classes/class-wcal-product-report-table.php +6 -6
- woocommerce-abandoned-cart/includes/classes/class-wcal-recover-orders-table.php +9 -9
- woocommerce-abandoned-cart/includes/classes/class-wcal-templates-table.php +11 -11
- woocommerce-abandoned-cart/includes/wcal_admin_notice.php +5 -5
- woocommerce-abandoned-cart/includes/wcal_ts_tracking.php +3 -3
- woocommerce-abandoned-cart/includes/welcome.php +30 -30
- woocommerce-abandoned-cart/readme.txt +14 -1
- woocommerce-abandoned-cart/views/wcal-email-template-preview.php +55 -55
- woocommerce-abandoned-cart/views/wcal-wc-email-template-preview.php +51 -51
- woocommerce-abandoned-cart/woocommerce-ac.php +118 -113
woocommerce-abandoned-cart/cron/wcal_send_email.php
CHANGED
@@ -64,7 +64,7 @@ if ( !class_exists( 'woocommerce_abandon_cart_cron' ) ) {
|
|
64 |
}
|
65 |
$template_id = $value->id;
|
66 |
$is_wc_template = $value->is_wc_template;
|
67 |
-
$wc_template_header_text = $value->wc_email_header != '' ? $value->wc_email_header : __( 'Abandoned cart reminder', 'woocommerce-
|
68 |
$wc_template_header = stripslashes( $wc_template_header_text );
|
69 |
if ( '' != $email_body_template ) {
|
70 |
foreach ( $carts as $key => $value ) {
|
@@ -245,23 +245,23 @@ if ( !class_exists( 'woocommerce_abandon_cart_cron' ) ) {
|
|
245 |
if( preg_match( "{{products.cart}}", $email_body, $matched ) ) {
|
246 |
if ( class_exists( 'WP_Better_Emails' ) ) {
|
247 |
$var = '<table width = 100%>
|
248 |
-
<tr> <td colspan="5"> <h3>'.__( "Your Shopping Cart", "woocommerce-
|
249 |
<tr>
|
250 |
-
<th>'.__( "Item", "woocommerce-
|
251 |
-
<th>'.__( "Name", "woocommerce-
|
252 |
-
<th>'.__( "Quantity", "woocommerce-
|
253 |
-
<th>'.__( "Price", "woocommerce-
|
254 |
-
<th>'.__( "Line Subtotal", "woocommerce-
|
255 |
</tr>';
|
256 |
} else {
|
257 |
-
$var = '<h3>'.__( "Your Shopping Cart", "woocommerce-
|
258 |
<table border="0" cellpadding="10" cellspacing="0" class="templateDataTable">
|
259 |
<tr>
|
260 |
-
<th>'.__( "Item",
|
261 |
-
<th>'.__( "Name",
|
262 |
-
<th>'.__( "Quantity",
|
263 |
-
<th>'.__( "Price",
|
264 |
-
<th>'.__( "Line Subtotal",
|
265 |
</tr>';
|
266 |
}
|
267 |
$cart_details = $cart_info_db_field->cart;
|
@@ -324,7 +324,7 @@ if ( !class_exists( 'woocommerce_abandon_cart_cron' ) ) {
|
|
324 |
}
|
325 |
$var .='<tr align="center">
|
326 |
<td> <a href="'.$cart_link_track.'"> <img src="' . $image_url . '" alt="" height="42" width="42" /> </a></td>
|
327 |
-
<td> <a href="'.$cart_link_track.'">'.__( $product_name,
|
328 |
<td> '.$quantity_total.'</td>
|
329 |
<td> '.$item_subtotal.'</td>
|
330 |
<td> '.$item_total_display.'</td>
|
@@ -337,13 +337,13 @@ if ( !class_exists( 'woocommerce_abandon_cart_cron' ) ) {
|
|
337 |
<td> </td>
|
338 |
<td> </td>
|
339 |
<td> </td>
|
340 |
-
<td>'.__( "Cart Total:",
|
341 |
<td> '.$cart_total.'</td>
|
342 |
</tr>';
|
343 |
$var .= '</table>
|
344 |
';
|
345 |
$email_body = str_replace( "{{products.cart}}", $var, $email_body );
|
346 |
-
$email_subject = str_replace( "{{product.name}}", __( $sub_line_prod_name,
|
347 |
}
|
348 |
|
349 |
$user_email = $value->user_email;
|
@@ -365,7 +365,7 @@ if ( !class_exists( 'woocommerce_abandon_cart_cron' ) ) {
|
|
365 |
wc_mail( $user_email, $email_subject, $final_email_body, $headers );
|
366 |
|
367 |
} else {
|
368 |
-
wp_mail( $user_email, $email_subject, __( $email_body_final, 'woocommerce-
|
369 |
}
|
370 |
}
|
371 |
}
|
@@ -479,7 +479,7 @@ if ( !class_exists( 'woocommerce_abandon_cart_cron' ) ) {
|
|
479 |
$query_order = "UPDATE `" . $wpdb->prefix."ac_abandoned_cart_history_lite` SET recovered_cart= '" . $order_id . "', cart_ignored = '1' WHERE id = '".$cart_id."' ";
|
480 |
$wpdb->query( $query_order );
|
481 |
|
482 |
-
$order->add_order_note( __( 'This order was abandoned & subsequently recovered.', 'woocommerce-
|
483 |
|
484 |
delete_post_meta( $order_id, 'wcal_recover_order_placed', $cart_id );
|
485 |
delete_post_meta( $order_id , 'wcal_recover_order_placed_sent_id', $wcal_check_email_sent_to_cart );
|
@@ -536,7 +536,7 @@ if ( !class_exists( 'woocommerce_abandon_cart_cron' ) ) {
|
|
536 |
$query_order = "UPDATE `" . $wpdb->prefix."ac_abandoned_cart_history_lite` SET recovered_cart= '" . $order_id . "', cart_ignored = '1' WHERE id = '".$cart_id."' ";
|
537 |
$wpdb->query( $query_order );
|
538 |
|
539 |
-
$order->add_order_note( __( 'This order was abandoned & subsequently recovered.', 'woocommerce-
|
540 |
|
541 |
delete_post_meta( $order_id, 'wcap_recover_order_placed', $cart_id );
|
542 |
delete_post_meta( $order_id , 'wcap_recover_order_placed_sent_id', $wcal_check_email_sent_to_cart );
|
64 |
}
|
65 |
$template_id = $value->id;
|
66 |
$is_wc_template = $value->is_wc_template;
|
67 |
+
$wc_template_header_text = $value->wc_email_header != '' ? $value->wc_email_header : __( 'Abandoned cart reminder', 'woocommerce-abandoned-cart');
|
68 |
$wc_template_header = stripslashes( $wc_template_header_text );
|
69 |
if ( '' != $email_body_template ) {
|
70 |
foreach ( $carts as $key => $value ) {
|
245 |
if( preg_match( "{{products.cart}}", $email_body, $matched ) ) {
|
246 |
if ( class_exists( 'WP_Better_Emails' ) ) {
|
247 |
$var = '<table width = 100%>
|
248 |
+
<tr> <td colspan="5"> <h3>'.__( "Your Shopping Cart", "woocommerce-abandoned-cart" ).'</h3> </td></tr>
|
249 |
<tr>
|
250 |
+
<th>'.__( "Item", "woocommerce-abandoned-cart" ).'</th>
|
251 |
+
<th>'.__( "Name", "woocommerce-abandoned-cart" ).'</th>
|
252 |
+
<th>'.__( "Quantity", "woocommerce-abandoned-cart" ).'</th>
|
253 |
+
<th>'.__( "Price", "woocommerce-abandoned-cart" ).'</th>
|
254 |
+
<th>'.__( "Line Subtotal", "woocommerce-abandoned-cart" ).'</th>
|
255 |
</tr>';
|
256 |
} else {
|
257 |
+
$var = '<h3>'.__( "Your Shopping Cart", "woocommerce-abandoned-cart" ).'</h3>
|
258 |
<table border="0" cellpadding="10" cellspacing="0" class="templateDataTable">
|
259 |
<tr>
|
260 |
+
<th>'.__( "Item", 'woocommerce-abandoned-cart' ).'</th>
|
261 |
+
<th>'.__( "Name", 'woocommerce-abandoned-cart' ).'</th>
|
262 |
+
<th>'.__( "Quantity", 'woocommerce-abandoned-cart' ).'</th>
|
263 |
+
<th>'.__( "Price", 'woocommerce-abandoned-cart' ).'</th>
|
264 |
+
<th>'.__( "Line Subtotal", 'woocommerce-abandoned-cart' ).'</th>
|
265 |
</tr>';
|
266 |
}
|
267 |
$cart_details = $cart_info_db_field->cart;
|
324 |
}
|
325 |
$var .='<tr align="center">
|
326 |
<td> <a href="'.$cart_link_track.'"> <img src="' . $image_url . '" alt="" height="42" width="42" /> </a></td>
|
327 |
+
<td> <a href="'.$cart_link_track.'">'.__( $product_name, 'woocommerce-abandoned-cart' ).'</a></td>
|
328 |
<td> '.$quantity_total.'</td>
|
329 |
<td> '.$item_subtotal.'</td>
|
330 |
<td> '.$item_total_display.'</td>
|
337 |
<td> </td>
|
338 |
<td> </td>
|
339 |
<td> </td>
|
340 |
+
<td>'.__( "Cart Total:", 'woocommerce-abandoned-cart' ).'</td>
|
341 |
<td> '.$cart_total.'</td>
|
342 |
</tr>';
|
343 |
$var .= '</table>
|
344 |
';
|
345 |
$email_body = str_replace( "{{products.cart}}", $var, $email_body );
|
346 |
+
$email_subject = str_replace( "{{product.name}}", __( $sub_line_prod_name, 'woocommerce-abandoned-cart' ), $email_subject );
|
347 |
}
|
348 |
|
349 |
$user_email = $value->user_email;
|
365 |
wc_mail( $user_email, $email_subject, $final_email_body, $headers );
|
366 |
|
367 |
} else {
|
368 |
+
wp_mail( $user_email, $email_subject, __( $email_body_final, 'woocommerce-abandoned-cart' ), $headers );
|
369 |
}
|
370 |
}
|
371 |
}
|
479 |
$query_order = "UPDATE `" . $wpdb->prefix."ac_abandoned_cart_history_lite` SET recovered_cart= '" . $order_id . "', cart_ignored = '1' WHERE id = '".$cart_id."' ";
|
480 |
$wpdb->query( $query_order );
|
481 |
|
482 |
+
$order->add_order_note( __( 'This order was abandoned & subsequently recovered.', 'woocommerce-abandoned-cart' ) );
|
483 |
|
484 |
delete_post_meta( $order_id, 'wcal_recover_order_placed', $cart_id );
|
485 |
delete_post_meta( $order_id , 'wcal_recover_order_placed_sent_id', $wcal_check_email_sent_to_cart );
|
536 |
$query_order = "UPDATE `" . $wpdb->prefix."ac_abandoned_cart_history_lite` SET recovered_cart= '" . $order_id . "', cart_ignored = '1' WHERE id = '".$cart_id."' ";
|
537 |
$wpdb->query( $query_order );
|
538 |
|
539 |
+
$order->add_order_note( __( 'This order was abandoned & subsequently recovered.', 'woocommerce-abandoned-cart' ) );
|
540 |
|
541 |
delete_post_meta( $order_id, 'wcap_recover_order_placed', $cart_id );
|
542 |
delete_post_meta( $order_id , 'wcap_recover_order_placed_sent_id', $wcal_check_email_sent_to_cart );
|
woocommerce-abandoned-cart/i18n/languages/{woocommerce-ac-de_DE.mo → woocommerce-abandoned-cart-de_DE.mo}
RENAMED
File without changes
|
woocommerce-abandoned-cart/i18n/languages/{woocommerce-ac-he_IL.mo → woocommerce-abandoned-cart-he_IL.mo}
RENAMED
File without changes
|
woocommerce-abandoned-cart/i18n/languages/{woocommerce-ac-he_IL.po → woocommerce-abandoned-cart-he_IL.po}
RENAMED
File without changes
|
woocommerce-abandoned-cart/i18n/languages/{woocommerce-ac-sk_SK.mo → woocommerce-abandoned-cart-sk_SK.mo}
RENAMED
File without changes
|
woocommerce-abandoned-cart/i18n/languages/{woocommerce-ac-sk_SK.po → woocommerce-abandoned-cart-sk_SK.po}
RENAMED
File without changes
|
woocommerce-abandoned-cart/i18n/languages/woocommerce-abandoned-cart.mo
ADDED
Binary file
|
woocommerce-abandoned-cart/i18n/languages/{woocommerce-ac.po → woocommerce-abandoned-cart.po}
RENAMED
@@ -1,500 +1,503 @@
|
|
1 |
-
# SOME DESCRIPTIVE TITLE.
|
2 |
-
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
3 |
-
# This file is distributed under the same license as the PACKAGE package.
|
4 |
-
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
5 |
-
#
|
6 |
-
msgid ""
|
7 |
-
msgstr ""
|
8 |
-
"Project-Id-Version: woocommerce-
|
9 |
-
"Report-Msgid-Bugs-To: \n"
|
10 |
-
"POT-Creation-Date: 2017-01-21 15:02+0530\n"
|
11 |
-
"PO-Revision-Date:
|
12 |
-
"Last-Translator: \n"
|
13 |
-
"Language-Team: \n"
|
14 |
-
"MIME-Version: 1.0\n"
|
15 |
-
"Content-Type: text/plain; charset=UTF-8\n"
|
16 |
-
"Content-Transfer-Encoding: 8bit\n"
|
17 |
-
"X-Generator: Poedit
|
18 |
-
"X-Poedit-KeywordsList: __;_e\n"
|
19 |
-
"X-Poedit-Basepath: .\n"
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
"
|
35 |
-
"
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
"
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
"
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
|
289 |
-
|
290 |
-
|
291 |
-
|
292 |
-
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
-
|
306 |
-
|
307 |
-
"
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
-
|
318 |
-
|
319 |
-
|
320 |
-
|
321 |
-
|
322 |
-
|
323 |
-
|
324 |
-
|
325 |
-
|
326 |
-
|
327 |
-
|
328 |
-
|
329 |
-
|
330 |
-
|
331 |
-
|
332 |
-
|
333 |
-
|
334 |
-
|
335 |
-
|
336 |
-
|
337 |
-
|
338 |
-
|
339 |
-
|
340 |
-
|
341 |
-
|
342 |
-
|
343 |
-
|
344 |
-
|
345 |
-
|
346 |
-
|
347 |
-
|
348 |
-
|
349 |
-
|
350 |
-
|
351 |
-
|
352 |
-
|
353 |
-
|
354 |
-
|
355 |
-
|
356 |
-
|
357 |
-
|
358 |
-
|
359 |
-
|
360 |
-
|
361 |
-
|
362 |
-
|
363 |
-
|
364 |
-
|
365 |
-
|
366 |
-
|
367 |
-
|
368 |
-
|
369 |
-
|
370 |
-
|
371 |
-
|
372 |
-
|
373 |
-
|
374 |
-
|
375 |
-
|
376 |
-
|
377 |
-
|
378 |
-
|
379 |
-
|
380 |
-
|
381 |
-
|
382 |
-
|
383 |
-
|
384 |
-
|
385 |
-
|
386 |
-
|
387 |
-
|
388 |
-
|
389 |
-
|
390 |
-
|
391 |
-
|
392 |
-
|
393 |
-
|
394 |
-
|
395 |
-
|
396 |
-
|
397 |
-
|
398 |
-
|
399 |
-
|
400 |
-
|
401 |
-
|
402 |
-
#: includes/classes/class-wcal-
|
403 |
-
|
404 |
-
|
405 |
-
|
406 |
-
|
407 |
-
|
408 |
-
|
409 |
-
|
410 |
-
|
411 |
-
|
412 |
-
|
413 |
-
|
414 |
-
|
415 |
-
|
416 |
-
|
417 |
-
|
418 |
-
|
419 |
-
|
420 |
-
|
421 |
-
|
422 |
-
|
423 |
-
|
424 |
-
|
425 |
-
|
426 |
-
|
427 |
-
|
428 |
-
|
429 |
-
|
430 |
-
|
431 |
-
|
432 |
-
|
433 |
-
|
434 |
-
|
435 |
-
|
436 |
-
|
437 |
-
|
438 |
-
|
439 |
-
|
440 |
-
|
441 |
-
|
442 |
-
|
443 |
-
|
444 |
-
|
445 |
-
|
446 |
-
|
447 |
-
|
448 |
-
|
449 |
-
|
450 |
-
|
451 |
-
|
452 |
-
|
453 |
-
|
454 |
-
|
455 |
-
|
456 |
-
|
457 |
-
|
458 |
-
|
459 |
-
|
460 |
-
|
461 |
-
|
462 |
-
|
463 |
-
|
464 |
-
|
465 |
-
|
466 |
-
|
467 |
-
|
468 |
-
|
469 |
-
|
470 |
-
|
471 |
-
|
472 |
-
|
473 |
-
|
474 |
-
|
475 |
-
|
476 |
-
|
477 |
-
|
478 |
-
|
479 |
-
|
480 |
-
|
481 |
-
|
482 |
-
|
483 |
-
|
484 |
-
|
485 |
-
|
486 |
-
|
487 |
-
|
488 |
-
|
489 |
-
|
490 |
-
|
491 |
-
|
492 |
-
|
493 |
-
|
494 |
-
|
495 |
-
|
496 |
-
|
497 |
-
|
498 |
-
|
499 |
-
|
500 |
-
|
|
|
|
|
|
1 |
+
# SOME DESCRIPTIVE TITLE.
|
2 |
+
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
3 |
+
# This file is distributed under the same license as the PACKAGE package.
|
4 |
+
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
5 |
+
#
|
6 |
+
msgid ""
|
7 |
+
msgstr ""
|
8 |
+
"Project-Id-Version: woocommerce-abandoned-cart\n"
|
9 |
+
"Report-Msgid-Bugs-To: \n"
|
10 |
+
"POT-Creation-Date: 2017-01-21 15:02+0530\n"
|
11 |
+
"PO-Revision-Date: 2018-02-15 19:34+0530\n"
|
12 |
+
"Last-Translator: \n"
|
13 |
+
"Language-Team: \n"
|
14 |
+
"MIME-Version: 1.0\n"
|
15 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
16 |
+
"Content-Transfer-Encoding: 8bit\n"
|
17 |
+
"X-Generator: Poedit 2.0.6\n"
|
18 |
+
"X-Poedit-KeywordsList: __;_e\n"
|
19 |
+
"X-Poedit-Basepath: .\n"
|
20 |
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
21 |
+
"Language: en\n"
|
22 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
23 |
+
|
24 |
+
#: woocommerce-ac.php:28
|
25 |
+
msgid "Once Every Fifteen Minutes"
|
26 |
+
msgstr ""
|
27 |
+
|
28 |
+
#: woocommerce-ac.php:298 woocommerce-ac.php:1317
|
29 |
+
msgid "This order was abandoned & subsequently recovered."
|
30 |
+
msgstr ""
|
31 |
+
|
32 |
+
#: woocommerce-ac.php:323
|
33 |
+
msgid ""
|
34 |
+
"The Lite & Pro version of Abandoned Cart plugin for WooCommerce (from Tyche "
|
35 |
+
"Softwares) are active on your website. <br> In this case, the abandoned "
|
36 |
+
"carts will be captured in both plugins & email reminders will also be sent "
|
37 |
+
"from both plugins. <br> It is recommended that you deactivate the Lite "
|
38 |
+
"version & keep the Pro version active."
|
39 |
+
msgstr ""
|
40 |
+
|
41 |
+
#: woocommerce-ac.php:350
|
42 |
+
msgid "HTML Email Template"
|
43 |
+
msgstr ""
|
44 |
+
|
45 |
+
#: woocommerce-ac.php:356
|
46 |
+
msgid "Abandoned cart Email Template"
|
47 |
+
msgstr ""
|
48 |
+
|
49 |
+
#: woocommerce-ac.php:490 woocommerce-ac.php:1471
|
50 |
+
msgid "Settings"
|
51 |
+
msgstr ""
|
52 |
+
|
53 |
+
#: woocommerce-ac.php:497
|
54 |
+
msgid "Cart abandoned cut-off time"
|
55 |
+
msgstr ""
|
56 |
+
|
57 |
+
#: woocommerce-ac.php:501
|
58 |
+
msgid ""
|
59 |
+
"Consider cart abandoned after X minutes of item being added to cart & order "
|
60 |
+
"not placed."
|
61 |
+
msgstr ""
|
62 |
+
|
63 |
+
#: woocommerce-ac.php:506
|
64 |
+
msgid "Email admin On Order Recovery"
|
65 |
+
msgstr ""
|
66 |
+
|
67 |
+
#: woocommerce-ac.php:510
|
68 |
+
msgid "Sends email to Admin if an Abandoned Cart Order is recovered."
|
69 |
+
msgstr ""
|
70 |
+
|
71 |
+
#: woocommerce-ac.php:558
|
72 |
+
msgid ""
|
73 |
+
"Abandoned cart cut off time should be numeric and has to be greater than 0."
|
74 |
+
msgstr ""
|
75 |
+
|
76 |
+
#: woocommerce-ac.php:769 woocommerce-ac.php:816
|
77 |
+
msgid "New Customer Order - Recovered"
|
78 |
+
msgstr ""
|
79 |
+
|
80 |
+
#: woocommerce-ac.php:843
|
81 |
+
msgid "Abandoned Carts"
|
82 |
+
msgstr ""
|
83 |
+
|
84 |
+
#: woocommerce-ac.php:1469
|
85 |
+
msgid "Abandoned Orders"
|
86 |
+
msgstr ""
|
87 |
+
|
88 |
+
#: woocommerce-ac.php:1470
|
89 |
+
msgid "Email Templates"
|
90 |
+
msgstr ""
|
91 |
+
|
92 |
+
#: woocommerce-ac.php:1472
|
93 |
+
msgid "Recovered Orders"
|
94 |
+
msgstr ""
|
95 |
+
|
96 |
+
#: woocommerce-ac.php:1473
|
97 |
+
msgid "Product Report"
|
98 |
+
msgstr ""
|
99 |
+
|
100 |
+
#: woocommerce-ac.php:1570
|
101 |
+
msgid "You do not have sufficient permissions to access this page."
|
102 |
+
msgstr ""
|
103 |
+
|
104 |
+
#: woocommerce-ac.php:1574
|
105 |
+
msgid "WooCommerce - Abandon Cart Lite"
|
106 |
+
msgstr ""
|
107 |
+
|
108 |
+
#: woocommerce-ac.php:1640
|
109 |
+
msgid "The Abandoned cart has been successfully deleted."
|
110 |
+
msgstr ""
|
111 |
+
|
112 |
+
#: woocommerce-ac.php:1646
|
113 |
+
msgid "The Template has been successfully deleted."
|
114 |
+
msgstr ""
|
115 |
+
|
116 |
+
#: woocommerce-ac.php:1660
|
117 |
+
msgid ""
|
118 |
+
"Change settings for sending email notifications to Customers after X minute."
|
119 |
+
msgstr ""
|
120 |
+
|
121 |
+
#: woocommerce-ac.php:1673
|
122 |
+
msgid ""
|
123 |
+
"The list below shows all Abandoned Carts which have remained in cart for a "
|
124 |
+
"time higher than the \"Cart abandoned cut-off time\" setting."
|
125 |
+
msgstr ""
|
126 |
+
|
127 |
+
#: woocommerce-ac.php:1694
|
128 |
+
msgid ""
|
129 |
+
"Add email templates at different intervals to maximize the possibility of "
|
130 |
+
"recovering your abandoned carts."
|
131 |
+
msgstr ""
|
132 |
+
|
133 |
+
#: woocommerce-ac.php:2011
|
134 |
+
msgid "The Email Template has been successfully added."
|
135 |
+
msgstr ""
|
136 |
+
|
137 |
+
#: woocommerce-ac.php:2014
|
138 |
+
msgid ""
|
139 |
+
" There was a problem adding the email template. Please contact the plugin "
|
140 |
+
"author via <a href= \"https://wordpress.org/support/plugin/woocommerce-"
|
141 |
+
"abandoned-cart\">support forum</a>."
|
142 |
+
msgstr ""
|
143 |
+
|
144 |
+
#: woocommerce-ac.php:2019
|
145 |
+
msgid "The Email Template has been successfully updated."
|
146 |
+
msgstr ""
|
147 |
+
|
148 |
+
#: woocommerce-ac.php:2022
|
149 |
+
msgid ""
|
150 |
+
" There was a problem updating the email template. Please contact the plugin "
|
151 |
+
"author via <a href= \"https://wordpress.org/support/plugin/woocommerce-"
|
152 |
+
"abandoned-cart\">support forum</a>."
|
153 |
+
msgstr ""
|
154 |
+
|
155 |
+
#: woocommerce-ac.php:2028
|
156 |
+
msgid "Add New Template"
|
157 |
+
msgstr ""
|
158 |
+
|
159 |
+
#: woocommerce-ac.php:2120
|
160 |
+
msgid ""
|
161 |
+
"The Report below shows how many Abandoned Carts we were able to recover for "
|
162 |
+
"you by sending automatic emails to encourage shoppers."
|
163 |
+
msgstr ""
|
164 |
+
|
165 |
+
#: woocommerce-ac.php:2172
|
166 |
+
msgid "Start Date:"
|
167 |
+
msgstr ""
|
168 |
+
|
169 |
+
#: woocommerce-ac.php:2174
|
170 |
+
msgid "End Date:"
|
171 |
+
msgstr ""
|
172 |
+
|
173 |
+
#: woocommerce-ac.php:2176
|
174 |
+
msgid "Go"
|
175 |
+
msgstr ""
|
176 |
+
|
177 |
+
#: woocommerce-ac.php:2182
|
178 |
+
msgid "During the selected range "
|
179 |
+
msgstr ""
|
180 |
+
|
181 |
+
#: woocommerce-ac.php:2187
|
182 |
+
msgid "carts totaling"
|
183 |
+
msgstr ""
|
184 |
+
|
185 |
+
#: woocommerce-ac.php:2193
|
186 |
+
msgid " were abandoned. We were able to recover"
|
187 |
+
msgstr ""
|
188 |
+
|
189 |
+
#: woocommerce-ac.php:2200
|
190 |
+
msgid " of them, which led to an extra"
|
191 |
+
msgstr ""
|
192 |
+
|
193 |
+
#: woocommerce-ac.php:2226 woocommerce-ac.php:2964 cron/wcal_send_email.php:310
|
194 |
+
msgid "Item"
|
195 |
+
msgstr ""
|
196 |
+
|
197 |
+
#: woocommerce-ac.php:2227 woocommerce-ac.php:2965 cron/wcal_send_email.php:311
|
198 |
+
msgid "Name"
|
199 |
+
msgstr ""
|
200 |
+
|
201 |
+
#: woocommerce-ac.php:2228 woocommerce-ac.php:2966 cron/wcal_send_email.php:312
|
202 |
+
msgid "Quantity"
|
203 |
+
msgstr ""
|
204 |
+
|
205 |
+
#: woocommerce-ac.php:2229 woocommerce-ac.php:2968 cron/wcal_send_email.php:314
|
206 |
+
msgid "Line Subtotal"
|
207 |
+
msgstr ""
|
208 |
+
|
209 |
+
#: woocommerce-ac.php:2230
|
210 |
+
msgid "Line Total"
|
211 |
+
msgstr ""
|
212 |
+
|
213 |
+
#: woocommerce-ac.php:2474
|
214 |
+
msgid "Customer Details"
|
215 |
+
msgstr ""
|
216 |
+
|
217 |
+
#: woocommerce-ac.php:2478
|
218 |
+
msgid "Billing Details"
|
219 |
+
msgstr ""
|
220 |
+
|
221 |
+
#: woocommerce-ac.php:2479
|
222 |
+
msgid "Name:"
|
223 |
+
msgstr ""
|
224 |
+
|
225 |
+
#: woocommerce-ac.php:2482 woocommerce-ac.php:2502
|
226 |
+
msgid "Address:"
|
227 |
+
msgstr ""
|
228 |
+
|
229 |
+
#: woocommerce-ac.php:2492
|
230 |
+
msgid "Email:"
|
231 |
+
msgstr ""
|
232 |
+
|
233 |
+
#: woocommerce-ac.php:2496
|
234 |
+
msgid "Phone:"
|
235 |
+
msgstr ""
|
236 |
+
|
237 |
+
#: woocommerce-ac.php:2501
|
238 |
+
msgid "Shipping Details"
|
239 |
+
msgstr ""
|
240 |
+
|
241 |
+
#: woocommerce-ac.php:2586
|
242 |
+
msgid "Template Name:"
|
243 |
+
msgstr ""
|
244 |
+
|
245 |
+
#: woocommerce-ac.php:2597
|
246 |
+
msgid "Enter a template name for reference"
|
247 |
+
msgstr ""
|
248 |
+
|
249 |
+
#: woocommerce-ac.php:2603
|
250 |
+
msgid "Send From This Name:"
|
251 |
+
msgstr ""
|
252 |
+
|
253 |
+
#: woocommerce-ac.php:2614
|
254 |
+
msgid "Enter the name that should appear in the email sent"
|
255 |
+
msgstr ""
|
256 |
+
|
257 |
+
#: woocommerce-ac.php:2620
|
258 |
+
msgid "Send From This Email Address:"
|
259 |
+
msgstr ""
|
260 |
+
|
261 |
+
#: woocommerce-ac.php:2630
|
262 |
+
msgid ""
|
263 |
+
"Which email address should be shown in the \"From Email\" field for this "
|
264 |
+
"email?"
|
265 |
+
msgstr ""
|
266 |
+
|
267 |
+
#: woocommerce-ac.php:2636
|
268 |
+
msgid "Send Reply Emails to:"
|
269 |
+
msgstr ""
|
270 |
+
|
271 |
+
#: woocommerce-ac.php:2647
|
272 |
+
msgid ""
|
273 |
+
"When a contact receives your email and clicks reply, which email address "
|
274 |
+
"should that reply be sent to?"
|
275 |
+
msgstr ""
|
276 |
+
|
277 |
+
#: woocommerce-ac.php:2653
|
278 |
+
msgid "Subject:"
|
279 |
+
msgstr ""
|
280 |
+
|
281 |
+
#: woocommerce-ac.php:2664
|
282 |
+
msgid "Enter the subject that should appear in the email sent"
|
283 |
+
msgstr ""
|
284 |
+
|
285 |
+
#: woocommerce-ac.php:2670
|
286 |
+
msgid "Email Body:"
|
287 |
+
msgstr ""
|
288 |
+
|
289 |
+
#: woocommerce-ac.php:2698
|
290 |
+
msgid "Message to be sent in the reminder email."
|
291 |
+
msgstr ""
|
292 |
+
|
293 |
+
#: woocommerce-ac.php:2705
|
294 |
+
msgid "Use WooCommerce Template Style:"
|
295 |
+
msgstr ""
|
296 |
+
|
297 |
+
#: woocommerce-ac.php:2720
|
298 |
+
msgid ""
|
299 |
+
"Use WooCommerce default style template for abandoned cart reminder emails."
|
300 |
+
msgstr ""
|
301 |
+
|
302 |
+
#: woocommerce-ac.php:2727
|
303 |
+
msgid "Email Template Header Text: "
|
304 |
+
msgstr ""
|
305 |
+
|
306 |
+
#: woocommerce-ac.php:2742
|
307 |
+
msgid ""
|
308 |
+
"Enter the header which will appear in the abandoned WooCommerce email sent. "
|
309 |
+
"This is only applicable when only used when \"Use WooCommerce Template Style:"
|
310 |
+
"\" is checked."
|
311 |
+
msgstr ""
|
312 |
+
|
313 |
+
#: woocommerce-ac.php:2748
|
314 |
+
msgid "Active:"
|
315 |
+
msgstr ""
|
316 |
+
|
317 |
+
#: woocommerce-ac.php:2773
|
318 |
+
msgid ""
|
319 |
+
"The email template will be sent to customers only if the \"Active\" checkbox "
|
320 |
+
"is enabled. Leave this unchecked if you want to add the email template but "
|
321 |
+
"not send it to customers."
|
322 |
+
msgstr ""
|
323 |
+
|
324 |
+
#: woocommerce-ac.php:2779
|
325 |
+
msgid "Send this email:"
|
326 |
+
msgstr ""
|
327 |
+
|
328 |
+
#: woocommerce-ac.php:2825
|
329 |
+
msgid "after cart is abandoned."
|
330 |
+
msgstr ""
|
331 |
+
|
332 |
+
#: woocommerce-ac.php:2832
|
333 |
+
msgid "Send a test email to:"
|
334 |
+
msgstr ""
|
335 |
+
|
336 |
+
#: woocommerce-ac.php:2837
|
337 |
+
msgid "Enter the email id to which the test email needs to be sent."
|
338 |
+
msgstr ""
|
339 |
+
|
340 |
+
#: woocommerce-ac.php:2961 cron/wcal_send_email.php:307
|
341 |
+
msgid "Your Shopping Cart"
|
342 |
+
msgstr ""
|
343 |
+
|
344 |
+
#: woocommerce-ac.php:2967 cron/wcal_send_email.php:313
|
345 |
+
msgid "Price"
|
346 |
+
msgstr ""
|
347 |
+
|
348 |
+
#: woocommerce-ac.php:2972
|
349 |
+
msgid "Men\\'\\s Formal Shoes"
|
350 |
+
msgstr ""
|
351 |
+
|
352 |
+
#: woocommerce-ac.php:2979
|
353 |
+
msgid "Woman\\'\\s Hand Bags"
|
354 |
+
msgstr ""
|
355 |
+
|
356 |
+
#: woocommerce-ac.php:2988 cron/wcal_send_email.php:381
|
357 |
+
msgid "Cart Total:"
|
358 |
+
msgstr ""
|
359 |
+
|
360 |
+
#: cron/wcal_send_email.php:191
|
361 |
+
msgid "Abandoned cart reminder"
|
362 |
+
msgstr ""
|
363 |
+
|
364 |
+
#: includes/classes/class-wcal-abandoned-orders-table.php:42
|
365 |
+
msgid "abandoned_order_id"
|
366 |
+
msgstr ""
|
367 |
+
|
368 |
+
#: includes/classes/class-wcal-abandoned-orders-table.php:43
|
369 |
+
msgid "abandoned_order_ids"
|
370 |
+
msgstr ""
|
371 |
+
|
372 |
+
#: includes/classes/class-wcal-abandoned-orders-table.php:76
|
373 |
+
msgid "Id"
|
374 |
+
msgstr ""
|
375 |
+
|
376 |
+
#: includes/classes/class-wcal-abandoned-orders-table.php:77
|
377 |
+
#: includes/classes/class-wcal-recover-orders-table.php:106
|
378 |
+
msgid "Email Address"
|
379 |
+
msgstr ""
|
380 |
+
|
381 |
+
#: includes/classes/class-wcal-abandoned-orders-table.php:78
|
382 |
+
msgid "Customer"
|
383 |
+
msgstr ""
|
384 |
+
|
385 |
+
#: includes/classes/class-wcal-abandoned-orders-table.php:79
|
386 |
+
#: includes/classes/class-wcal-recover-orders-table.php:109
|
387 |
+
msgid "Order Total"
|
388 |
+
msgstr ""
|
389 |
+
|
390 |
+
#: includes/classes/class-wcal-abandoned-orders-table.php:80
|
391 |
+
msgid "Abandoned Date"
|
392 |
+
msgstr ""
|
393 |
+
|
394 |
+
#: includes/classes/class-wcal-abandoned-orders-table.php:81
|
395 |
+
msgid "Status of Cart"
|
396 |
+
msgstr ""
|
397 |
+
|
398 |
+
#: includes/classes/class-wcal-abandoned-orders-table.php:127
|
399 |
+
msgid "View order"
|
400 |
+
msgstr ""
|
401 |
+
|
402 |
+
#: includes/classes/class-wcal-abandoned-orders-table.php:128
|
403 |
+
#: includes/classes/class-wcal-abandoned-orders-table.php:394
|
404 |
+
#: includes/classes/class-wcal-templates-table.php:120
|
405 |
+
#: includes/classes/class-wcal-templates-table.php:256
|
406 |
+
msgid "Delete"
|
407 |
+
msgstr ""
|
408 |
+
|
409 |
+
#: includes/classes/class-wcal-abandoned-orders-table.php:246
|
410 |
+
msgid "item"
|
411 |
+
msgstr ""
|
412 |
+
|
413 |
+
#: includes/classes/class-wcal-abandoned-orders-table.php:248
|
414 |
+
msgid "items"
|
415 |
+
msgstr ""
|
416 |
+
|
417 |
+
#: includes/classes/class-wcal-abandoned-orders-table.php:252
|
418 |
+
msgid "Abandoned"
|
419 |
+
msgstr ""
|
420 |
+
|
421 |
+
#: includes/classes/class-wcal-abandoned-orders-table.php:254
|
422 |
+
msgid "Abandoned but new"
|
423 |
+
msgstr ""
|
424 |
+
|
425 |
+
#: includes/classes/class-wcal-abandoned-orders-table.php:254
|
426 |
+
msgid "cart created after this"
|
427 |
+
msgstr ""
|
428 |
+
|
429 |
+
#: includes/classes/class-wcal-product-report-table.php:82
|
430 |
+
msgid "product_id"
|
431 |
+
msgstr ""
|
432 |
+
|
433 |
+
#: includes/classes/class-wcal-product-report-table.php:83
|
434 |
+
msgid "product_ids"
|
435 |
+
msgstr ""
|
436 |
+
|
437 |
+
#: includes/classes/class-wcal-product-report-table.php:106
|
438 |
+
msgid "Product Name"
|
439 |
+
msgstr ""
|
440 |
+
|
441 |
+
#: includes/classes/class-wcal-product-report-table.php:107
|
442 |
+
msgid "Number of Times Abandoned"
|
443 |
+
msgstr ""
|
444 |
+
|
445 |
+
#: includes/classes/class-wcal-product-report-table.php:108
|
446 |
+
msgid "Number of Times Recovered"
|
447 |
+
msgstr ""
|
448 |
+
|
449 |
+
#: includes/classes/class-wcal-recover-orders-table.php:76
|
450 |
+
msgid "rec_abandoned_id"
|
451 |
+
msgstr ""
|
452 |
+
|
453 |
+
#: includes/classes/class-wcal-recover-orders-table.php:77
|
454 |
+
msgid "rec_abandoned_ids"
|
455 |
+
msgstr ""
|
456 |
+
|
457 |
+
#: includes/classes/class-wcal-recover-orders-table.php:105
|
458 |
+
msgid "Customer Name"
|
459 |
+
msgstr ""
|
460 |
+
|
461 |
+
#: includes/classes/class-wcal-recover-orders-table.php:107
|
462 |
+
msgid "Cart Abandoned Date"
|
463 |
+
msgstr ""
|
464 |
+
|
465 |
+
#: includes/classes/class-wcal-recover-orders-table.php:108
|
466 |
+
msgid "Cart Recovered Date"
|
467 |
+
msgstr ""
|
468 |
+
|
469 |
+
#: includes/classes/class-wcal-recover-orders-table.php:139
|
470 |
+
msgid "View Details"
|
471 |
+
msgstr ""
|
472 |
+
|
473 |
+
#: includes/classes/class-wcal-templates-table.php:43
|
474 |
+
msgid "template_id"
|
475 |
+
msgstr ""
|
476 |
+
|
477 |
+
#: includes/classes/class-wcal-templates-table.php:44
|
478 |
+
msgid "template_ids"
|
479 |
+
msgstr ""
|
480 |
+
|
481 |
+
#: includes/classes/class-wcal-templates-table.php:72
|
482 |
+
msgid "Sr"
|
483 |
+
msgstr ""
|
484 |
+
|
485 |
+
#: includes/classes/class-wcal-templates-table.php:73
|
486 |
+
msgid "Name Of Template"
|
487 |
+
msgstr ""
|
488 |
+
|
489 |
+
#: includes/classes/class-wcal-templates-table.php:74
|
490 |
+
msgid "Sent After Set Time"
|
491 |
+
msgstr ""
|
492 |
+
|
493 |
+
#: includes/classes/class-wcal-templates-table.php:75
|
494 |
+
msgid "Active ?"
|
495 |
+
msgstr ""
|
496 |
+
|
497 |
+
#: includes/classes/class-wcal-templates-table.php:119
|
498 |
+
msgid "Edit"
|
499 |
+
msgstr ""
|
500 |
+
|
501 |
+
#: includes/classes/class-wcal-templates-table.php:156
|
502 |
+
msgid " "
|
503 |
+
msgstr ""
|
woocommerce-abandoned-cart/i18n/languages/{woocommerce-ac.pot → woocommerce-abandoned-cart.pot}
RENAMED
@@ -1,505 +1,505 @@
|
|
1 |
-
# SOME DESCRIPTIVE TITLE.
|
2 |
-
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
3 |
-
# This file is distributed under the same license as the PACKAGE package.
|
4 |
-
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
5 |
-
#
|
6 |
-
#, fuzzy
|
7 |
-
msgid ""
|
8 |
-
msgstr ""
|
9 |
-
"Project-Id-Version: PACKAGE VERSION\n"
|
10 |
-
"Report-Msgid-Bugs-To: \n"
|
11 |
-
"POT-Creation-Date: 2016-12-27 18:29+0530\n"
|
12 |
-
"PO-Revision-Date: 2016-12-27 18:30+0500\n"
|
13 |
-
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14 |
-
"Language-Team: LANGUAGE <LL@li.org>\n"
|
15 |
-
"Language: \n"
|
16 |
-
"MIME-Version: 1.0\n"
|
17 |
-
"Content-Type: text/plain; charset=UTF-8\n"
|
18 |
-
"Content-Transfer-Encoding: 8bit\n"
|
19 |
-
"Plural-Forms: \n"
|
20 |
-
"X-Generator: Eazy Po 0.9.5.3\n"
|
21 |
-
|
22 |
-
#: woocommerce-ac.php:28
|
23 |
-
msgid "Once Every Fifteen Minutes"
|
24 |
-
msgstr ""
|
25 |
-
|
26 |
-
#: woocommerce-ac.php:298 woocommerce-ac.php:1317
|
27 |
-
msgid "This order was abandoned & subsequently recovered."
|
28 |
-
msgstr ""
|
29 |
-
|
30 |
-
#: woocommerce-ac.php:323
|
31 |
-
msgid ""
|
32 |
-
"The Lite & Pro version of Abandoned Cart plugin for WooCommerce (from Tyche "
|
33 |
-
"Softwares) are active on your website. <br> In this case, the abandoned "
|
34 |
-
"carts will be captured in both plugins & email reminders will also be sent "
|
35 |
-
"from both plugins. <br> It is recommended that you deactivate the Lite "
|
36 |
-
"version & keep the Pro version active."
|
37 |
-
msgstr ""
|
38 |
-
|
39 |
-
#: woocommerce-ac.php:350
|
40 |
-
msgid "HTML Email Template"
|
41 |
-
msgstr ""
|
42 |
-
|
43 |
-
#: woocommerce-ac.php:356
|
44 |
-
msgid "Abandoned cart Email Template"
|
45 |
-
msgstr ""
|
46 |
-
|
47 |
-
#: woocommerce-ac.php:490 woocommerce-ac.php:1471
|
48 |
-
msgid "Settings"
|
49 |
-
msgstr ""
|
50 |
-
|
51 |
-
#: woocommerce-ac.php:497
|
52 |
-
msgid "Cart abandoned cut-off time"
|
53 |
-
msgstr ""
|
54 |
-
|
55 |
-
#: woocommerce-ac.php:501
|
56 |
-
msgid ""
|
57 |
-
"Consider cart abandoned after X minutes of item being added to cart & order "
|
58 |
-
"not placed."
|
59 |
-
msgstr ""
|
60 |
-
|
61 |
-
#: woocommerce-ac.php:506
|
62 |
-
msgid "Email admin On Order Recovery"
|
63 |
-
msgstr ""
|
64 |
-
|
65 |
-
#: woocommerce-ac.php:510
|
66 |
-
msgid "Sends email to Admin if an Abandoned Cart Order is recovered."
|
67 |
-
msgstr ""
|
68 |
-
|
69 |
-
#: woocommerce-ac.php:558
|
70 |
-
msgid ""
|
71 |
-
"Abandoned cart cut off time should be numeric and has to be greater than 0."
|
72 |
-
msgstr ""
|
73 |
-
|
74 |
-
#: woocommerce-ac.php:769 woocommerce-ac.php:816
|
75 |
-
msgid "New Customer Order - Recovered"
|
76 |
-
msgstr ""
|
77 |
-
|
78 |
-
#: woocommerce-ac.php:843
|
79 |
-
msgid "Abandoned Carts"
|
80 |
-
msgstr ""
|
81 |
-
|
82 |
-
#: woocommerce-ac.php:1469
|
83 |
-
msgid "Abandoned Orders"
|
84 |
-
msgstr ""
|
85 |
-
|
86 |
-
#: woocommerce-ac.php:1470
|
87 |
-
msgid "Email Templates"
|
88 |
-
msgstr ""
|
89 |
-
|
90 |
-
#: woocommerce-ac.php:1472
|
91 |
-
msgid "Recovered Orders"
|
92 |
-
msgstr ""
|
93 |
-
|
94 |
-
#: woocommerce-ac.php:1473
|
95 |
-
msgid "Product Report"
|
96 |
-
msgstr ""
|
97 |
-
|
98 |
-
#: woocommerce-ac.php:1570
|
99 |
-
msgid "You do not have sufficient permissions to access this page."
|
100 |
-
msgstr ""
|
101 |
-
|
102 |
-
#: woocommerce-ac.php:1574
|
103 |
-
msgid "WooCommerce - Abandon Cart Lite"
|
104 |
-
msgstr ""
|
105 |
-
|
106 |
-
#: woocommerce-ac.php:1640
|
107 |
-
msgid "The Abandoned cart has been successfully deleted."
|
108 |
-
msgstr ""
|
109 |
-
|
110 |
-
#: woocommerce-ac.php:1646
|
111 |
-
msgid "The Template has been successfully deleted."
|
112 |
-
msgstr ""
|
113 |
-
|
114 |
-
#: woocommerce-ac.php:1660
|
115 |
-
msgid ""
|
116 |
-
"Change settings for sending email notifications to Customers after X minute."
|
117 |
-
msgstr ""
|
118 |
-
|
119 |
-
#: woocommerce-ac.php:1673
|
120 |
-
msgid ""
|
121 |
-
"The list below shows all Abandoned Carts which have remained in cart for a "
|
122 |
-
"time higher than the \"Cart abandoned cut-off time\" setting."
|
123 |
-
msgstr ""
|
124 |
-
|
125 |
-
#: woocommerce-ac.php:1694
|
126 |
-
msgid ""
|
127 |
-
"Add email templates at different intervals to maximize the possibility of "
|
128 |
-
"recovering your abandoned carts."
|
129 |
-
msgstr ""
|
130 |
-
|
131 |
-
#: woocommerce-ac.php:2011
|
132 |
-
msgid "The Email Template has been successfully added."
|
133 |
-
msgstr ""
|
134 |
-
|
135 |
-
#: woocommerce-ac.php:2014
|
136 |
-
msgid ""
|
137 |
-
" There was a problem adding the email template. Please contact the plugin "
|
138 |
-
"author via <a href= \"https://wordpress.org/support/plugin/woocommerce-"
|
139 |
-
"abandoned-cart\">support forum</a>."
|
140 |
-
msgstr ""
|
141 |
-
|
142 |
-
#: woocommerce-ac.php:2019
|
143 |
-
msgid "The Email Template has been successfully updated."
|
144 |
-
msgstr ""
|
145 |
-
|
146 |
-
#: woocommerce-ac.php:2022
|
147 |
-
msgid ""
|
148 |
-
" There was a problem updating the email template. Please contact the plugin "
|
149 |
-
"author via <a href= \"https://wordpress.org/support/plugin/woocommerce-"
|
150 |
-
"abandoned-cart\">support forum</a>."
|
151 |
-
msgstr ""
|
152 |
-
|
153 |
-
#: woocommerce-ac.php:2028
|
154 |
-
msgid "Add New Template"
|
155 |
-
msgstr ""
|
156 |
-
|
157 |
-
#: woocommerce-ac.php:2120
|
158 |
-
msgid ""
|
159 |
-
"The Report below shows how many Abandoned Carts we were able to recover for "
|
160 |
-
"you by sending automatic emails to encourage shoppers."
|
161 |
-
msgstr ""
|
162 |
-
|
163 |
-
#: woocommerce-ac.php:2172
|
164 |
-
msgid "Start Date:"
|
165 |
-
msgstr ""
|
166 |
-
|
167 |
-
#: woocommerce-ac.php:2174
|
168 |
-
msgid "End Date:"
|
169 |
-
msgstr ""
|
170 |
-
|
171 |
-
#: woocommerce-ac.php:2176
|
172 |
-
msgid "Go"
|
173 |
-
msgstr ""
|
174 |
-
|
175 |
-
#: woocommerce-ac.php:2182
|
176 |
-
msgid "During the selected range "
|
177 |
-
msgstr ""
|
178 |
-
|
179 |
-
#: woocommerce-ac.php:2187
|
180 |
-
msgid "carts totaling"
|
181 |
-
msgstr ""
|
182 |
-
|
183 |
-
#: woocommerce-ac.php:2193
|
184 |
-
msgid " were abandoned. We were able to recover"
|
185 |
-
msgstr ""
|
186 |
-
|
187 |
-
#: woocommerce-ac.php:2200
|
188 |
-
msgid " of them, which led to an extra"
|
189 |
-
msgstr ""
|
190 |
-
|
191 |
-
#: woocommerce-ac.php:2226 woocommerce-ac.php:2964
|
192 |
-
#: cron/wcal_send_email.php:310
|
193 |
-
msgid "Item"
|
194 |
-
msgstr ""
|
195 |
-
|
196 |
-
#: woocommerce-ac.php:2227 woocommerce-ac.php:2965
|
197 |
-
#: cron/wcal_send_email.php:311
|
198 |
-
msgid "Name"
|
199 |
-
msgstr ""
|
200 |
-
|
201 |
-
#: woocommerce-ac.php:2228 woocommerce-ac.php:2966
|
202 |
-
#: cron/wcal_send_email.php:312
|
203 |
-
msgid "Quantity"
|
204 |
-
msgstr ""
|
205 |
-
|
206 |
-
#: woocommerce-ac.php:2229 woocommerce-ac.php:2968
|
207 |
-
#: cron/wcal_send_email.php:314
|
208 |
-
msgid "Line Subtotal"
|
209 |
-
msgstr ""
|
210 |
-
|
211 |
-
#: woocommerce-ac.php:2230
|
212 |
-
msgid "Line Total"
|
213 |
-
msgstr ""
|
214 |
-
|
215 |
-
#: woocommerce-ac.php:2474
|
216 |
-
msgid "Customer Details"
|
217 |
-
msgstr ""
|
218 |
-
|
219 |
-
#: woocommerce-ac.php:2478
|
220 |
-
msgid "Billing Details"
|
221 |
-
msgstr ""
|
222 |
-
|
223 |
-
#: woocommerce-ac.php:2479
|
224 |
-
msgid "Name:"
|
225 |
-
msgstr ""
|
226 |
-
|
227 |
-
#: woocommerce-ac.php:2482 woocommerce-ac.php:2502
|
228 |
-
msgid "Address:"
|
229 |
-
msgstr ""
|
230 |
-
|
231 |
-
#: woocommerce-ac.php:2492
|
232 |
-
msgid "Email:"
|
233 |
-
msgstr ""
|
234 |
-
|
235 |
-
#: woocommerce-ac.php:2496
|
236 |
-
msgid "Phone:"
|
237 |
-
msgstr ""
|
238 |
-
|
239 |
-
#: woocommerce-ac.php:2501
|
240 |
-
msgid "Shipping Details"
|
241 |
-
msgstr ""
|
242 |
-
|
243 |
-
#: woocommerce-ac.php:2586
|
244 |
-
msgid "Template Name:"
|
245 |
-
msgstr ""
|
246 |
-
|
247 |
-
#: woocommerce-ac.php:2597
|
248 |
-
msgid "Enter a template name for reference"
|
249 |
-
msgstr ""
|
250 |
-
|
251 |
-
#: woocommerce-ac.php:2603
|
252 |
-
msgid "Send From This Name:"
|
253 |
-
msgstr ""
|
254 |
-
|
255 |
-
#: woocommerce-ac.php:2614
|
256 |
-
msgid "Enter the name that should appear in the email sent"
|
257 |
-
msgstr ""
|
258 |
-
|
259 |
-
#: woocommerce-ac.php:2620
|
260 |
-
msgid "Send From This Email Address:"
|
261 |
-
msgstr ""
|
262 |
-
|
263 |
-
#: woocommerce-ac.php:2630
|
264 |
-
msgid ""
|
265 |
-
"Which email address should be shown in the \"From Email\" field for this "
|
266 |
-
"email?"
|
267 |
-
msgstr ""
|
268 |
-
|
269 |
-
#: woocommerce-ac.php:2636
|
270 |
-
msgid "Send Reply Emails to:"
|
271 |
-
msgstr ""
|
272 |
-
|
273 |
-
#: woocommerce-ac.php:2647
|
274 |
-
msgid ""
|
275 |
-
"When a contact receives your email and clicks reply, which email address "
|
276 |
-
"should that reply be sent to?"
|
277 |
-
msgstr ""
|
278 |
-
|
279 |
-
#: woocommerce-ac.php:2653
|
280 |
-
msgid "Subject:"
|
281 |
-
msgstr ""
|
282 |
-
|
283 |
-
#: woocommerce-ac.php:2664
|
284 |
-
msgid "Enter the subject that should appear in the email sent"
|
285 |
-
msgstr ""
|
286 |
-
|
287 |
-
#: woocommerce-ac.php:2670
|
288 |
-
msgid "Email Body:"
|
289 |
-
msgstr ""
|
290 |
-
|
291 |
-
#: woocommerce-ac.php:2698
|
292 |
-
msgid "Message to be sent in the reminder email."
|
293 |
-
msgstr ""
|
294 |
-
|
295 |
-
#: woocommerce-ac.php:2705
|
296 |
-
msgid "Use WooCommerce Template Style:"
|
297 |
-
msgstr ""
|
298 |
-
|
299 |
-
#: woocommerce-ac.php:2720
|
300 |
-
msgid ""
|
301 |
-
"Use WooCommerce default style template for abandoned cart reminder emails."
|
302 |
-
msgstr ""
|
303 |
-
|
304 |
-
#: woocommerce-ac.php:2727
|
305 |
-
msgid "Email Template Header Text: "
|
306 |
-
msgstr ""
|
307 |
-
|
308 |
-
#: woocommerce-ac.php:2742
|
309 |
-
msgid ""
|
310 |
-
"Enter the header which will appear in the abandoned WooCommerce email sent. "
|
311 |
-
"This is only applicable when only used when \"Use WooCommerce Template Style:"
|
312 |
-
"\" is checked."
|
313 |
-
msgstr ""
|
314 |
-
|
315 |
-
#: woocommerce-ac.php:2748
|
316 |
-
msgid "Active:"
|
317 |
-
msgstr ""
|
318 |
-
|
319 |
-
#: woocommerce-ac.php:2773
|
320 |
-
msgid ""
|
321 |
-
"The email template will be sent to customers only if the \"Active\" checkbox "
|
322 |
-
"is enabled. Leave this unchecked if you want to add the email template but "
|
323 |
-
"not send it to customers."
|
324 |
-
msgstr ""
|
325 |
-
|
326 |
-
#: woocommerce-ac.php:2779
|
327 |
-
msgid "Send this email:"
|
328 |
-
msgstr ""
|
329 |
-
|
330 |
-
#: woocommerce-ac.php:2825
|
331 |
-
msgid "after cart is abandoned."
|
332 |
-
msgstr ""
|
333 |
-
|
334 |
-
#: woocommerce-ac.php:2832
|
335 |
-
msgid "Send a test email to:"
|
336 |
-
msgstr ""
|
337 |
-
|
338 |
-
#: woocommerce-ac.php:2837
|
339 |
-
msgid "Enter the email id to which the test email needs to be sent."
|
340 |
-
msgstr ""
|
341 |
-
|
342 |
-
#: woocommerce-ac.php:2961 cron/wcal_send_email.php:307
|
343 |
-
msgid "Your Shopping Cart"
|
344 |
-
msgstr ""
|
345 |
-
|
346 |
-
#: woocommerce-ac.php:2967 cron/wcal_send_email.php:313
|
347 |
-
msgid "Price"
|
348 |
-
msgstr ""
|
349 |
-
|
350 |
-
#: woocommerce-ac.php:2972
|
351 |
-
msgid "Men\\'\\s Formal Shoes"
|
352 |
-
msgstr ""
|
353 |
-
|
354 |
-
#: woocommerce-ac.php:2979
|
355 |
-
msgid "Woman\\'\\s Hand Bags"
|
356 |
-
msgstr ""
|
357 |
-
|
358 |
-
#: woocommerce-ac.php:2988 cron/wcal_send_email.php:381
|
359 |
-
msgid "Cart Total:"
|
360 |
-
msgstr ""
|
361 |
-
|
362 |
-
#: cron/wcal_send_email.php:191
|
363 |
-
msgid "Abandoned cart reminder"
|
364 |
-
msgstr ""
|
365 |
-
|
366 |
-
#: includes/classes/class-wcal-abandoned-orders-table.php:42
|
367 |
-
msgid "abandoned_order_id"
|
368 |
-
msgstr ""
|
369 |
-
|
370 |
-
#: includes/classes/class-wcal-abandoned-orders-table.php:43
|
371 |
-
msgid "abandoned_order_ids"
|
372 |
-
msgstr ""
|
373 |
-
|
374 |
-
#: includes/classes/class-wcal-abandoned-orders-table.php:76
|
375 |
-
msgid "Id"
|
376 |
-
msgstr ""
|
377 |
-
|
378 |
-
#: includes/classes/class-wcal-abandoned-orders-table.php:77
|
379 |
-
#: includes/classes/class-wcal-recover-orders-table.php:106
|
380 |
-
msgid "Email Address"
|
381 |
-
msgstr ""
|
382 |
-
|
383 |
-
#: includes/classes/class-wcal-abandoned-orders-table.php:78
|
384 |
-
msgid "Customer"
|
385 |
-
msgstr ""
|
386 |
-
|
387 |
-
#: includes/classes/class-wcal-abandoned-orders-table.php:79
|
388 |
-
#: includes/classes/class-wcal-recover-orders-table.php:109
|
389 |
-
msgid "Order Total"
|
390 |
-
msgstr ""
|
391 |
-
|
392 |
-
#: includes/classes/class-wcal-abandoned-orders-table.php:80
|
393 |
-
msgid "Abandoned Date"
|
394 |
-
msgstr ""
|
395 |
-
|
396 |
-
#: includes/classes/class-wcal-abandoned-orders-table.php:81
|
397 |
-
msgid "Status of Cart"
|
398 |
-
msgstr ""
|
399 |
-
|
400 |
-
#: includes/classes/class-wcal-abandoned-orders-table.php:127
|
401 |
-
msgid "View order"
|
402 |
-
msgstr ""
|
403 |
-
|
404 |
-
#: includes/classes/class-wcal-abandoned-orders-table.php:128
|
405 |
-
#: includes/classes/class-wcal-abandoned-orders-table.php:394
|
406 |
-
#: includes/classes/class-wcal-templates-table.php:120
|
407 |
-
#: includes/classes/class-wcal-templates-table.php:256
|
408 |
-
msgid "Delete"
|
409 |
-
msgstr ""
|
410 |
-
|
411 |
-
#: includes/classes/class-wcal-abandoned-orders-table.php:246
|
412 |
-
msgid "item"
|
413 |
-
msgstr ""
|
414 |
-
|
415 |
-
#: includes/classes/class-wcal-abandoned-orders-table.php:248
|
416 |
-
msgid "items"
|
417 |
-
msgstr ""
|
418 |
-
|
419 |
-
#: includes/classes/class-wcal-abandoned-orders-table.php:252
|
420 |
-
msgid "Abandoned"
|
421 |
-
msgstr ""
|
422 |
-
|
423 |
-
#: includes/classes/class-wcal-abandoned-orders-table.php:254
|
424 |
-
msgid "Abandoned but new"
|
425 |
-
msgstr ""
|
426 |
-
|
427 |
-
#: includes/classes/class-wcal-abandoned-orders-table.php:254
|
428 |
-
msgid "cart created after this"
|
429 |
-
msgstr ""
|
430 |
-
|
431 |
-
#: includes/classes/class-wcal-product-report-table.php:82
|
432 |
-
msgid "product_id"
|
433 |
-
msgstr ""
|
434 |
-
|
435 |
-
#: includes/classes/class-wcal-product-report-table.php:83
|
436 |
-
msgid "product_ids"
|
437 |
-
msgstr ""
|
438 |
-
|
439 |
-
#: includes/classes/class-wcal-product-report-table.php:106
|
440 |
-
msgid "Product Name"
|
441 |
-
msgstr ""
|
442 |
-
|
443 |
-
#: includes/classes/class-wcal-product-report-table.php:107
|
444 |
-
msgid "Number of Times Abandoned"
|
445 |
-
msgstr ""
|
446 |
-
|
447 |
-
#: includes/classes/class-wcal-product-report-table.php:108
|
448 |
-
msgid "Number of Times Recovered"
|
449 |
-
msgstr ""
|
450 |
-
|
451 |
-
#: includes/classes/class-wcal-recover-orders-table.php:76
|
452 |
-
msgid "rec_abandoned_id"
|
453 |
-
msgstr ""
|
454 |
-
|
455 |
-
#: includes/classes/class-wcal-recover-orders-table.php:77
|
456 |
-
msgid "rec_abandoned_ids"
|
457 |
-
msgstr ""
|
458 |
-
|
459 |
-
#: includes/classes/class-wcal-recover-orders-table.php:105
|
460 |
-
msgid "Customer Name"
|
461 |
-
msgstr ""
|
462 |
-
|
463 |
-
#: includes/classes/class-wcal-recover-orders-table.php:107
|
464 |
-
msgid "Cart Abandoned Date"
|
465 |
-
msgstr ""
|
466 |
-
|
467 |
-
#: includes/classes/class-wcal-recover-orders-table.php:108
|
468 |
-
msgid "Cart Recovered Date"
|
469 |
-
msgstr ""
|
470 |
-
|
471 |
-
#: includes/classes/class-wcal-recover-orders-table.php:139
|
472 |
-
msgid "View Details"
|
473 |
-
msgstr ""
|
474 |
-
|
475 |
-
#: includes/classes/class-wcal-templates-table.php:43
|
476 |
-
msgid "template_id"
|
477 |
-
msgstr ""
|
478 |
-
|
479 |
-
#: includes/classes/class-wcal-templates-table.php:44
|
480 |
-
msgid "template_ids"
|
481 |
-
msgstr ""
|
482 |
-
|
483 |
-
#: includes/classes/class-wcal-templates-table.php:72
|
484 |
-
msgid "Sr"
|
485 |
-
msgstr ""
|
486 |
-
|
487 |
-
#: includes/classes/class-wcal-templates-table.php:73
|
488 |
-
msgid "Name Of Template"
|
489 |
-
msgstr ""
|
490 |
-
|
491 |
-
#: includes/classes/class-wcal-templates-table.php:74
|
492 |
-
msgid "Sent After Set Time"
|
493 |
-
msgstr ""
|
494 |
-
|
495 |
-
#: includes/classes/class-wcal-templates-table.php:75
|
496 |
-
msgid "Active ?"
|
497 |
-
msgstr ""
|
498 |
-
|
499 |
-
#: includes/classes/class-wcal-templates-table.php:119
|
500 |
-
msgid "Edit"
|
501 |
-
msgstr ""
|
502 |
-
|
503 |
-
#: includes/classes/class-wcal-templates-table.php:156
|
504 |
-
msgid " "
|
505 |
msgstr ""
|
1 |
+
# SOME DESCRIPTIVE TITLE.
|
2 |
+
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
3 |
+
# This file is distributed under the same license as the PACKAGE package.
|
4 |
+
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
5 |
+
#
|
6 |
+
#, fuzzy
|
7 |
+
msgid ""
|
8 |
+
msgstr ""
|
9 |
+
"Project-Id-Version: PACKAGE VERSION\n"
|
10 |
+
"Report-Msgid-Bugs-To: \n"
|
11 |
+
"POT-Creation-Date: 2016-12-27 18:29+0530\n"
|
12 |
+
"PO-Revision-Date: 2016-12-27 18:30+0500\n"
|
13 |
+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14 |
+
"Language-Team: LANGUAGE <LL@li.org>\n"
|
15 |
+
"Language: \n"
|
16 |
+
"MIME-Version: 1.0\n"
|
17 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
18 |
+
"Content-Transfer-Encoding: 8bit\n"
|
19 |
+
"Plural-Forms: \n"
|
20 |
+
"X-Generator: Eazy Po 0.9.5.3\n"
|
21 |
+
|
22 |
+
#: woocommerce-ac.php:28
|
23 |
+
msgid "Once Every Fifteen Minutes"
|
24 |
+
msgstr ""
|
25 |
+
|
26 |
+
#: woocommerce-ac.php:298 woocommerce-ac.php:1317
|
27 |
+
msgid "This order was abandoned & subsequently recovered."
|
28 |
+
msgstr ""
|
29 |
+
|
30 |
+
#: woocommerce-ac.php:323
|
31 |
+
msgid ""
|
32 |
+
"The Lite & Pro version of Abandoned Cart plugin for WooCommerce (from Tyche "
|
33 |
+
"Softwares) are active on your website. <br> In this case, the abandoned "
|
34 |
+
"carts will be captured in both plugins & email reminders will also be sent "
|
35 |
+
"from both plugins. <br> It is recommended that you deactivate the Lite "
|
36 |
+
"version & keep the Pro version active."
|
37 |
+
msgstr ""
|
38 |
+
|
39 |
+
#: woocommerce-ac.php:350
|
40 |
+
msgid "HTML Email Template"
|
41 |
+
msgstr ""
|
42 |
+
|
43 |
+
#: woocommerce-ac.php:356
|
44 |
+
msgid "Abandoned cart Email Template"
|
45 |
+
msgstr ""
|
46 |
+
|
47 |
+
#: woocommerce-ac.php:490 woocommerce-ac.php:1471
|
48 |
+
msgid "Settings"
|
49 |
+
msgstr ""
|
50 |
+
|
51 |
+
#: woocommerce-ac.php:497
|
52 |
+
msgid "Cart abandoned cut-off time"
|
53 |
+
msgstr ""
|
54 |
+
|
55 |
+
#: woocommerce-ac.php:501
|
56 |
+
msgid ""
|
57 |
+
"Consider cart abandoned after X minutes of item being added to cart & order "
|
58 |
+
"not placed."
|
59 |
+
msgstr ""
|
60 |
+
|
61 |
+
#: woocommerce-ac.php:506
|
62 |
+
msgid "Email admin On Order Recovery"
|
63 |
+
msgstr ""
|
64 |
+
|
65 |
+
#: woocommerce-ac.php:510
|
66 |
+
msgid "Sends email to Admin if an Abandoned Cart Order is recovered."
|
67 |
+
msgstr ""
|
68 |
+
|
69 |
+
#: woocommerce-ac.php:558
|
70 |
+
msgid ""
|
71 |
+
"Abandoned cart cut off time should be numeric and has to be greater than 0."
|
72 |
+
msgstr ""
|
73 |
+
|
74 |
+
#: woocommerce-ac.php:769 woocommerce-ac.php:816
|
75 |
+
msgid "New Customer Order - Recovered"
|
76 |
+
msgstr ""
|
77 |
+
|
78 |
+
#: woocommerce-ac.php:843
|
79 |
+
msgid "Abandoned Carts"
|
80 |
+
msgstr ""
|
81 |
+
|
82 |
+
#: woocommerce-ac.php:1469
|
83 |
+
msgid "Abandoned Orders"
|
84 |
+
msgstr ""
|
85 |
+
|
86 |
+
#: woocommerce-ac.php:1470
|
87 |
+
msgid "Email Templates"
|
88 |
+
msgstr ""
|
89 |
+
|
90 |
+
#: woocommerce-ac.php:1472
|
91 |
+
msgid "Recovered Orders"
|
92 |
+
msgstr ""
|
93 |
+
|
94 |
+
#: woocommerce-ac.php:1473
|
95 |
+
msgid "Product Report"
|
96 |
+
msgstr ""
|
97 |
+
|
98 |
+
#: woocommerce-ac.php:1570
|
99 |
+
msgid "You do not have sufficient permissions to access this page."
|
100 |
+
msgstr ""
|
101 |
+
|
102 |
+
#: woocommerce-ac.php:1574
|
103 |
+
msgid "WooCommerce - Abandon Cart Lite"
|
104 |
+
msgstr ""
|
105 |
+
|
106 |
+
#: woocommerce-ac.php:1640
|
107 |
+
msgid "The Abandoned cart has been successfully deleted."
|
108 |
+
msgstr ""
|
109 |
+
|
110 |
+
#: woocommerce-ac.php:1646
|
111 |
+
msgid "The Template has been successfully deleted."
|
112 |
+
msgstr ""
|
113 |
+
|
114 |
+
#: woocommerce-ac.php:1660
|
115 |
+
msgid ""
|
116 |
+
"Change settings for sending email notifications to Customers after X minute."
|
117 |
+
msgstr ""
|
118 |
+
|
119 |
+
#: woocommerce-ac.php:1673
|
120 |
+
msgid ""
|
121 |
+
"The list below shows all Abandoned Carts which have remained in cart for a "
|
122 |
+
"time higher than the \"Cart abandoned cut-off time\" setting."
|
123 |
+
msgstr ""
|
124 |
+
|
125 |
+
#: woocommerce-ac.php:1694
|
126 |
+
msgid ""
|
127 |
+
"Add email templates at different intervals to maximize the possibility of "
|
128 |
+
"recovering your abandoned carts."
|
129 |
+
msgstr ""
|
130 |
+
|
131 |
+
#: woocommerce-ac.php:2011
|
132 |
+
msgid "The Email Template has been successfully added."
|
133 |
+
msgstr ""
|
134 |
+
|
135 |
+
#: woocommerce-ac.php:2014
|
136 |
+
msgid ""
|
137 |
+
" There was a problem adding the email template. Please contact the plugin "
|
138 |
+
"author via <a href= \"https://wordpress.org/support/plugin/woocommerce-"
|
139 |
+
"abandoned-cart\">support forum</a>."
|
140 |
+
msgstr ""
|
141 |
+
|
142 |
+
#: woocommerce-ac.php:2019
|
143 |
+
msgid "The Email Template has been successfully updated."
|
144 |
+
msgstr ""
|
145 |
+
|
146 |
+
#: woocommerce-ac.php:2022
|
147 |
+
msgid ""
|
148 |
+
" There was a problem updating the email template. Please contact the plugin "
|
149 |
+
"author via <a href= \"https://wordpress.org/support/plugin/woocommerce-"
|
150 |
+
"abandoned-cart\">support forum</a>."
|
151 |
+
msgstr ""
|
152 |
+
|
153 |
+
#: woocommerce-ac.php:2028
|
154 |
+
msgid "Add New Template"
|
155 |
+
msgstr ""
|
156 |
+
|
157 |
+
#: woocommerce-ac.php:2120
|
158 |
+
msgid ""
|
159 |
+
"The Report below shows how many Abandoned Carts we were able to recover for "
|
160 |
+
"you by sending automatic emails to encourage shoppers."
|
161 |
+
msgstr ""
|
162 |
+
|
163 |
+
#: woocommerce-ac.php:2172
|
164 |
+
msgid "Start Date:"
|
165 |
+
msgstr ""
|
166 |
+
|
167 |
+
#: woocommerce-ac.php:2174
|
168 |
+
msgid "End Date:"
|
169 |
+
msgstr ""
|
170 |
+
|
171 |
+
#: woocommerce-ac.php:2176
|
172 |
+
msgid "Go"
|
173 |
+
msgstr ""
|
174 |
+
|
175 |
+
#: woocommerce-ac.php:2182
|
176 |
+
msgid "During the selected range "
|
177 |
+
msgstr ""
|
178 |
+
|
179 |
+
#: woocommerce-ac.php:2187
|
180 |
+
msgid "carts totaling"
|
181 |
+
msgstr ""
|
182 |
+
|
183 |
+
#: woocommerce-ac.php:2193
|
184 |
+
msgid " were abandoned. We were able to recover"
|
185 |
+
msgstr ""
|
186 |
+
|
187 |
+
#: woocommerce-ac.php:2200
|
188 |
+
msgid " of them, which led to an extra"
|
189 |
+
msgstr ""
|
190 |
+
|
191 |
+
#: woocommerce-ac.php:2226 woocommerce-ac.php:2964
|
192 |
+
#: cron/wcal_send_email.php:310
|
193 |
+
msgid "Item"
|
194 |
+
msgstr ""
|
195 |
+
|
196 |
+
#: woocommerce-ac.php:2227 woocommerce-ac.php:2965
|
197 |
+
#: cron/wcal_send_email.php:311
|
198 |
+
msgid "Name"
|
199 |
+
msgstr ""
|
200 |
+
|
201 |
+
#: woocommerce-ac.php:2228 woocommerce-ac.php:2966
|
202 |
+
#: cron/wcal_send_email.php:312
|
203 |
+
msgid "Quantity"
|
204 |
+
msgstr ""
|
205 |
+
|
206 |
+
#: woocommerce-ac.php:2229 woocommerce-ac.php:2968
|
207 |
+
#: cron/wcal_send_email.php:314
|
208 |
+
msgid "Line Subtotal"
|
209 |
+
msgstr ""
|
210 |
+
|
211 |
+
#: woocommerce-ac.php:2230
|
212 |
+
msgid "Line Total"
|
213 |
+
msgstr ""
|
214 |
+
|
215 |
+
#: woocommerce-ac.php:2474
|
216 |
+
msgid "Customer Details"
|
217 |
+
msgstr ""
|
218 |
+
|
219 |
+
#: woocommerce-ac.php:2478
|
220 |
+
msgid "Billing Details"
|
221 |
+
msgstr ""
|
222 |
+
|
223 |
+
#: woocommerce-ac.php:2479
|
224 |
+
msgid "Name:"
|
225 |
+
msgstr ""
|
226 |
+
|
227 |
+
#: woocommerce-ac.php:2482 woocommerce-ac.php:2502
|
228 |
+
msgid "Address:"
|
229 |
+
msgstr ""
|
230 |
+
|
231 |
+
#: woocommerce-ac.php:2492
|
232 |
+
msgid "Email:"
|
233 |
+
msgstr ""
|
234 |
+
|
235 |
+
#: woocommerce-ac.php:2496
|
236 |
+
msgid "Phone:"
|
237 |
+
msgstr ""
|
238 |
+
|
239 |
+
#: woocommerce-ac.php:2501
|
240 |
+
msgid "Shipping Details"
|
241 |
+
msgstr ""
|
242 |
+
|
243 |
+
#: woocommerce-ac.php:2586
|
244 |
+
msgid "Template Name:"
|
245 |
+
msgstr ""
|
246 |
+
|
247 |
+
#: woocommerce-ac.php:2597
|
248 |
+
msgid "Enter a template name for reference"
|
249 |
+
msgstr ""
|
250 |
+
|
251 |
+
#: woocommerce-ac.php:2603
|
252 |
+
msgid "Send From This Name:"
|
253 |
+
msgstr ""
|
254 |
+
|
255 |
+
#: woocommerce-ac.php:2614
|
256 |
+
msgid "Enter the name that should appear in the email sent"
|
257 |
+
msgstr ""
|
258 |
+
|
259 |
+
#: woocommerce-ac.php:2620
|
260 |
+
msgid "Send From This Email Address:"
|
261 |
+
msgstr ""
|
262 |
+
|
263 |
+
#: woocommerce-ac.php:2630
|
264 |
+
msgid ""
|
265 |
+
"Which email address should be shown in the \"From Email\" field for this "
|
266 |
+
"email?"
|
267 |
+
msgstr ""
|
268 |
+
|
269 |
+
#: woocommerce-ac.php:2636
|
270 |
+
msgid "Send Reply Emails to:"
|
271 |
+
msgstr ""
|
272 |
+
|
273 |
+
#: woocommerce-ac.php:2647
|
274 |
+
msgid ""
|
275 |
+
"When a contact receives your email and clicks reply, which email address "
|
276 |
+
"should that reply be sent to?"
|
277 |
+
msgstr ""
|
278 |
+
|
279 |
+
#: woocommerce-ac.php:2653
|
280 |
+
msgid "Subject:"
|
281 |
+
msgstr ""
|
282 |
+
|
283 |
+
#: woocommerce-ac.php:2664
|
284 |
+
msgid "Enter the subject that should appear in the email sent"
|
285 |
+
msgstr ""
|
286 |
+
|
287 |
+
#: woocommerce-ac.php:2670
|
288 |
+
msgid "Email Body:"
|
289 |
+
msgstr ""
|
290 |
+
|
291 |
+
#: woocommerce-ac.php:2698
|
292 |
+
msgid "Message to be sent in the reminder email."
|
293 |
+
msgstr ""
|
294 |
+
|
295 |
+
#: woocommerce-ac.php:2705
|
296 |
+
msgid "Use WooCommerce Template Style:"
|
297 |
+
msgstr ""
|
298 |
+
|
299 |
+
#: woocommerce-ac.php:2720
|
300 |
+
msgid ""
|
301 |
+
"Use WooCommerce default style template for abandoned cart reminder emails."
|
302 |
+
msgstr ""
|
303 |
+
|
304 |
+
#: woocommerce-ac.php:2727
|
305 |
+
msgid "Email Template Header Text: "
|
306 |
+
msgstr ""
|
307 |
+
|
308 |
+
#: woocommerce-ac.php:2742
|
309 |
+
msgid ""
|
310 |
+
"Enter the header which will appear in the abandoned WooCommerce email sent. "
|
311 |
+
"This is only applicable when only used when \"Use WooCommerce Template Style:"
|
312 |
+
"\" is checked."
|
313 |
+
msgstr ""
|
314 |
+
|
315 |
+
#: woocommerce-ac.php:2748
|
316 |
+
msgid "Active:"
|
317 |
+
msgstr ""
|
318 |
+
|
319 |
+
#: woocommerce-ac.php:2773
|
320 |
+
msgid ""
|
321 |
+
"The email template will be sent to customers only if the \"Active\" checkbox "
|
322 |
+
"is enabled. Leave this unchecked if you want to add the email template but "
|
323 |
+
"not send it to customers."
|
324 |
+
msgstr ""
|
325 |
+
|
326 |
+
#: woocommerce-ac.php:2779
|
327 |
+
msgid "Send this email:"
|
328 |
+
msgstr ""
|
329 |
+
|
330 |
+
#: woocommerce-ac.php:2825
|
331 |
+
msgid "after cart is abandoned."
|
332 |
+
msgstr ""
|
333 |
+
|
334 |
+
#: woocommerce-ac.php:2832
|
335 |
+
msgid "Send a test email to:"
|
336 |
+
msgstr ""
|
337 |
+
|
338 |
+
#: woocommerce-ac.php:2837
|
339 |
+
msgid "Enter the email id to which the test email needs to be sent."
|
340 |
+
msgstr ""
|
341 |
+
|
342 |
+
#: woocommerce-ac.php:2961 cron/wcal_send_email.php:307
|
343 |
+
msgid "Your Shopping Cart"
|
344 |
+
msgstr ""
|
345 |
+
|
346 |
+
#: woocommerce-ac.php:2967 cron/wcal_send_email.php:313
|
347 |
+
msgid "Price"
|
348 |
+
msgstr ""
|
349 |
+
|
350 |
+
#: woocommerce-ac.php:2972
|
351 |
+
msgid "Men\\'\\s Formal Shoes"
|
352 |
+
msgstr ""
|
353 |
+
|
354 |
+
#: woocommerce-ac.php:2979
|
355 |
+
msgid "Woman\\'\\s Hand Bags"
|
356 |
+
msgstr ""
|
357 |
+
|
358 |
+
#: woocommerce-ac.php:2988 cron/wcal_send_email.php:381
|
359 |
+
msgid "Cart Total:"
|
360 |
+
msgstr ""
|
361 |
+
|
362 |
+
#: cron/wcal_send_email.php:191
|
363 |
+
msgid "Abandoned cart reminder"
|
364 |
+
msgstr ""
|
365 |
+
|
366 |
+
#: includes/classes/class-wcal-abandoned-orders-table.php:42
|
367 |
+
msgid "abandoned_order_id"
|
368 |
+
msgstr ""
|
369 |
+
|
370 |
+
#: includes/classes/class-wcal-abandoned-orders-table.php:43
|
371 |
+
msgid "abandoned_order_ids"
|
372 |
+
msgstr ""
|
373 |
+
|
374 |
+
#: includes/classes/class-wcal-abandoned-orders-table.php:76
|
375 |
+
msgid "Id"
|
376 |
+
msgstr ""
|
377 |
+
|
378 |
+
#: includes/classes/class-wcal-abandoned-orders-table.php:77
|
379 |
+
#: includes/classes/class-wcal-recover-orders-table.php:106
|
380 |
+
msgid "Email Address"
|
381 |
+
msgstr ""
|
382 |
+
|
383 |
+
#: includes/classes/class-wcal-abandoned-orders-table.php:78
|
384 |
+
msgid "Customer"
|
385 |
+
msgstr ""
|
386 |
+
|
387 |
+
#: includes/classes/class-wcal-abandoned-orders-table.php:79
|
388 |
+
#: includes/classes/class-wcal-recover-orders-table.php:109
|
389 |
+
msgid "Order Total"
|
390 |
+
msgstr ""
|
391 |
+
|
392 |
+
#: includes/classes/class-wcal-abandoned-orders-table.php:80
|
393 |
+
msgid "Abandoned Date"
|
394 |
+
msgstr ""
|
395 |
+
|
396 |
+
#: includes/classes/class-wcal-abandoned-orders-table.php:81
|
397 |
+
msgid "Status of Cart"
|
398 |
+
msgstr ""
|
399 |
+
|
400 |
+
#: includes/classes/class-wcal-abandoned-orders-table.php:127
|
401 |
+
msgid "View order"
|
402 |
+
msgstr ""
|
403 |
+
|
404 |
+
#: includes/classes/class-wcal-abandoned-orders-table.php:128
|
405 |
+
#: includes/classes/class-wcal-abandoned-orders-table.php:394
|
406 |
+
#: includes/classes/class-wcal-templates-table.php:120
|
407 |
+
#: includes/classes/class-wcal-templates-table.php:256
|
408 |
+
msgid "Delete"
|
409 |
+
msgstr ""
|
410 |
+
|
411 |
+
#: includes/classes/class-wcal-abandoned-orders-table.php:246
|
412 |
+
msgid "item"
|
413 |
+
msgstr ""
|
414 |
+
|
415 |
+
#: includes/classes/class-wcal-abandoned-orders-table.php:248
|
416 |
+
msgid "items"
|
417 |
+
msgstr ""
|
418 |
+
|
419 |
+
#: includes/classes/class-wcal-abandoned-orders-table.php:252
|
420 |
+
msgid "Abandoned"
|
421 |
+
msgstr ""
|
422 |
+
|
423 |
+
#: includes/classes/class-wcal-abandoned-orders-table.php:254
|
424 |
+
msgid "Abandoned but new"
|
425 |
+
msgstr ""
|
426 |
+
|
427 |
+
#: includes/classes/class-wcal-abandoned-orders-table.php:254
|
428 |
+
msgid "cart created after this"
|
429 |
+
msgstr ""
|
430 |
+
|
431 |
+
#: includes/classes/class-wcal-product-report-table.php:82
|
432 |
+
msgid "product_id"
|
433 |
+
msgstr ""
|
434 |
+
|
435 |
+
#: includes/classes/class-wcal-product-report-table.php:83
|
436 |
+
msgid "product_ids"
|
437 |
+
msgstr ""
|
438 |
+
|
439 |
+
#: includes/classes/class-wcal-product-report-table.php:106
|
440 |
+
msgid "Product Name"
|
441 |
+
msgstr ""
|
442 |
+
|
443 |
+
#: includes/classes/class-wcal-product-report-table.php:107
|
444 |
+
msgid "Number of Times Abandoned"
|
445 |
+
msgstr ""
|
446 |
+
|
447 |
+
#: includes/classes/class-wcal-product-report-table.php:108
|
448 |
+
msgid "Number of Times Recovered"
|
449 |
+
msgstr ""
|
450 |
+
|
451 |
+
#: includes/classes/class-wcal-recover-orders-table.php:76
|
452 |
+
msgid "rec_abandoned_id"
|
453 |
+
msgstr ""
|
454 |
+
|
455 |
+
#: includes/classes/class-wcal-recover-orders-table.php:77
|
456 |
+
msgid "rec_abandoned_ids"
|
457 |
+
msgstr ""
|
458 |
+
|
459 |
+
#: includes/classes/class-wcal-recover-orders-table.php:105
|
460 |
+
msgid "Customer Name"
|
461 |
+
msgstr ""
|
462 |
+
|
463 |
+
#: includes/classes/class-wcal-recover-orders-table.php:107
|
464 |
+
msgid "Cart Abandoned Date"
|
465 |
+
msgstr ""
|
466 |
+
|
467 |
+
#: includes/classes/class-wcal-recover-orders-table.php:108
|
468 |
+
msgid "Cart Recovered Date"
|
469 |
+
msgstr ""
|
470 |
+
|
471 |
+
#: includes/classes/class-wcal-recover-orders-table.php:139
|
472 |
+
msgid "View Details"
|
473 |
+
msgstr ""
|
474 |
+
|
475 |
+
#: includes/classes/class-wcal-templates-table.php:43
|
476 |
+
msgid "template_id"
|
477 |
+
msgstr ""
|
478 |
+
|
479 |
+
#: includes/classes/class-wcal-templates-table.php:44
|
480 |
+
msgid "template_ids"
|
481 |
+
msgstr ""
|
482 |
+
|
483 |
+
#: includes/classes/class-wcal-templates-table.php:72
|
484 |
+
msgid "Sr"
|
485 |
+
msgstr ""
|
486 |
+
|
487 |
+
#: includes/classes/class-wcal-templates-table.php:73
|
488 |
+
msgid "Name Of Template"
|
489 |
+
msgstr ""
|
490 |
+
|
491 |
+
#: includes/classes/class-wcal-templates-table.php:74
|
492 |
+
msgid "Sent After Set Time"
|
493 |
+
msgstr ""
|
494 |
+
|
495 |
+
#: includes/classes/class-wcal-templates-table.php:75
|
496 |
+
msgid "Active ?"
|
497 |
+
msgstr ""
|
498 |
+
|
499 |
+
#: includes/classes/class-wcal-templates-table.php:119
|
500 |
+
msgid "Edit"
|
501 |
+
msgstr ""
|
502 |
+
|
503 |
+
#: includes/classes/class-wcal-templates-table.php:156
|
504 |
+
msgid " "
|
505 |
msgstr ""
|
woocommerce-abandoned-cart/i18n/languages/{woocommerce-ac-de_DE.po → woocommerce-abandoned-cart_DE.po}
RENAMED
File without changes
|
woocommerce-abandoned-cart/i18n/languages/woocommerce-ac.mo
DELETED
Binary file
|
woocommerce-abandoned-cart/includes/classes/class-wcal-abandoned-orders-table.php
CHANGED
@@ -39,8 +39,8 @@ class WCAL_Abandoned_Orders_Table extends WP_List_Table {
|
|
39 |
global $status, $page;
|
40 |
// Set parent defaults
|
41 |
parent::__construct( array(
|
42 |
-
'singular' => __( 'abandoned_order_id', 'woocommerce-
|
43 |
-
'plural' => __( 'abandoned_order_ids', 'woocommerce-
|
44 |
'ajax' => false // Does this table support ajax?
|
45 |
) );
|
46 |
$this->process_bulk_action();
|
@@ -73,12 +73,12 @@ class WCAL_Abandoned_Orders_Table extends WP_List_Table {
|
|
73 |
$columns = array();
|
74 |
$columns = array(
|
75 |
'cb' => '<input type="checkbox" />',
|
76 |
-
'id' => __( 'Id', 'woocommerce-
|
77 |
-
'email' => __( 'Email Address', 'woocommerce-
|
78 |
-
'customer' => __( 'Customer', 'woocommerce-
|
79 |
-
'order_total' => __( 'Order Total', 'woocommerce-
|
80 |
-
'date' => __( 'Abandoned Date', 'woocommerce-
|
81 |
-
'status' => __( 'Status of Cart', 'woocommerce-
|
82 |
);
|
83 |
return apply_filters( 'wcal_abandoned_orders_columns', $columns );
|
84 |
}
|
@@ -122,8 +122,8 @@ class WCAL_Abandoned_Orders_Table extends WP_List_Table {
|
|
122 |
$abandoned_order_id = 0;
|
123 |
if( isset( $abandoned_row_info->email ) ) {
|
124 |
$abandoned_order_id = $abandoned_row_info->id ;
|
125 |
-
$row_actions['edit'] = '<a href="' . wp_nonce_url( add_query_arg( array( 'action' => 'orderdetails', 'id' => $abandoned_row_info->id ), $this->base_url ), 'abandoned_order_nonce') . '">' . __( 'View order', 'woocommerce-
|
126 |
-
$row_actions['delete'] = '<a href="' . wp_nonce_url( add_query_arg( array( 'action' => 'wcal_delete', 'abandoned_order_id' => $abandoned_row_info->id ), $this->base_url ), 'abandoned_order_nonce') . '">' . __( 'Delete', 'woocommerce-
|
127 |
$email = $abandoned_row_info->email;
|
128 |
$value = $email . $this->row_actions( $row_actions );
|
129 |
}
|
@@ -294,7 +294,7 @@ class WCAL_Abandoned_Orders_Table extends WP_List_Table {
|
|
294 |
}
|
295 |
$line_total = 0;
|
296 |
|
297 |
-
if( count( $cart_details ) > 0 ) {
|
298 |
foreach( $cart_details as $k => $v ) {
|
299 |
if( $v->line_subtotal_tax != 0 && $v->line_subtotal_tax > 0 ) {
|
300 |
$line_total = $line_total + $v->line_total + $v->line_subtotal_tax;
|
@@ -307,22 +307,22 @@ class WCAL_Abandoned_Orders_Table extends WP_List_Table {
|
|
307 |
$line_total = wc_price( $line_total );
|
308 |
$quantity_total = 0;
|
309 |
|
310 |
-
if
|
311 |
foreach( $cart_details as $k => $v ) {
|
312 |
$quantity_total = $quantity_total + $v->quantity;
|
313 |
}
|
314 |
}
|
315 |
|
316 |
if ( 1 == $quantity_total ) {
|
317 |
-
$item_disp = __("item", "woocommerce-
|
318 |
} else {
|
319 |
-
$item_disp = __("items", "woocommerce-
|
320 |
}
|
321 |
|
322 |
if( $value->cart_ignored == 0 && $value->recovered_cart == 0 ) {
|
323 |
-
$ac_status = __( "Abandoned", "woocommerce-
|
324 |
} elseif( $value->cart_ignored == 1 && $value->recovered_cart == 0 ) {
|
325 |
-
$ac_status = __( "Abandoned but new","woocommerce-
|
326 |
} else {
|
327 |
$ac_status = "";
|
328 |
}
|
@@ -461,7 +461,7 @@ class WCAL_Abandoned_Orders_Table extends WP_List_Table {
|
|
461 |
|
462 |
public function get_bulk_actions() {
|
463 |
return array(
|
464 |
-
'wcal_delete' => __( 'Delete', 'woocommerce-
|
465 |
);
|
466 |
}
|
467 |
|
39 |
global $status, $page;
|
40 |
// Set parent defaults
|
41 |
parent::__construct( array(
|
42 |
+
'singular' => __( 'abandoned_order_id', 'woocommerce-abandoned-cart' ), //singular name of the listed records
|
43 |
+
'plural' => __( 'abandoned_order_ids', 'woocommerce-abandoned-cart' ), //plural name of the listed records
|
44 |
'ajax' => false // Does this table support ajax?
|
45 |
) );
|
46 |
$this->process_bulk_action();
|
73 |
$columns = array();
|
74 |
$columns = array(
|
75 |
'cb' => '<input type="checkbox" />',
|
76 |
+
'id' => __( 'Id', 'woocommerce-abandoned-cart' ),
|
77 |
+
'email' => __( 'Email Address', 'woocommerce-abandoned-cart' ),
|
78 |
+
'customer' => __( 'Customer', 'woocommerce-abandoned-cart' ),
|
79 |
+
'order_total' => __( 'Order Total', 'woocommerce-abandoned-cart' ),
|
80 |
+
'date' => __( 'Abandoned Date', 'woocommerce-abandoned-cart' ),
|
81 |
+
'status' => __( 'Status of Cart', 'woocommerce-abandoned-cart' )
|
82 |
);
|
83 |
return apply_filters( 'wcal_abandoned_orders_columns', $columns );
|
84 |
}
|
122 |
$abandoned_order_id = 0;
|
123 |
if( isset( $abandoned_row_info->email ) ) {
|
124 |
$abandoned_order_id = $abandoned_row_info->id ;
|
125 |
+
$row_actions['edit'] = '<a href="' . wp_nonce_url( add_query_arg( array( 'action' => 'orderdetails', 'id' => $abandoned_row_info->id ), $this->base_url ), 'abandoned_order_nonce') . '">' . __( 'View order', 'woocommerce-abandoned-cart' ) . '</a>';
|
126 |
+
$row_actions['delete'] = '<a href="' . wp_nonce_url( add_query_arg( array( 'action' => 'wcal_delete', 'abandoned_order_id' => $abandoned_row_info->id ), $this->base_url ), 'abandoned_order_nonce') . '">' . __( 'Delete', 'woocommerce-abandoned-cart' ) . '</a>';
|
127 |
$email = $abandoned_row_info->email;
|
128 |
$value = $email . $this->row_actions( $row_actions );
|
129 |
}
|
294 |
}
|
295 |
$line_total = 0;
|
296 |
|
297 |
+
if( count( get_object_vars( $cart_details ) ) > 0 ) {
|
298 |
foreach( $cart_details as $k => $v ) {
|
299 |
if( $v->line_subtotal_tax != 0 && $v->line_subtotal_tax > 0 ) {
|
300 |
$line_total = $line_total + $v->line_total + $v->line_subtotal_tax;
|
307 |
$line_total = wc_price( $line_total );
|
308 |
$quantity_total = 0;
|
309 |
|
310 |
+
if( count( get_object_vars( $cart_details ) ) > 0 ) {
|
311 |
foreach( $cart_details as $k => $v ) {
|
312 |
$quantity_total = $quantity_total + $v->quantity;
|
313 |
}
|
314 |
}
|
315 |
|
316 |
if ( 1 == $quantity_total ) {
|
317 |
+
$item_disp = __("item", "woocommerce-abandoned-cart");
|
318 |
} else {
|
319 |
+
$item_disp = __("items", "woocommerce-abandoned-cart");
|
320 |
}
|
321 |
|
322 |
if( $value->cart_ignored == 0 && $value->recovered_cart == 0 ) {
|
323 |
+
$ac_status = __( "Abandoned", "woocommerce-abandoned-cart" );
|
324 |
} elseif( $value->cart_ignored == 1 && $value->recovered_cart == 0 ) {
|
325 |
+
$ac_status = __( "Abandoned but new","woocommerce-abandoned-cart" )."</br>". __( "cart created after this", "woocommerce-abandoned-cart" );
|
326 |
} else {
|
327 |
$ac_status = "";
|
328 |
}
|
461 |
|
462 |
public function get_bulk_actions() {
|
463 |
return array(
|
464 |
+
'wcal_delete' => __( 'Delete', 'woocommerce-abandoned-cart' )
|
465 |
);
|
466 |
}
|
467 |
|
woocommerce-abandoned-cart/includes/classes/class-wcal-product-report-table.php
CHANGED
@@ -79,8 +79,8 @@ class WCAL_Product_Report_Table extends WP_List_Table {
|
|
79 |
global $status, $page;
|
80 |
// Set parent defaults
|
81 |
parent::__construct( array(
|
82 |
-
'singular' => __( 'product_id', 'woocommerce-
|
83 |
-
'plural' => __( 'product_ids', 'woocommerce-
|
84 |
'ajax' => false // Does this table support ajax?
|
85 |
) );
|
86 |
$this->base_url = admin_url( 'admin.php?page=woocommerce_ac_page&action=stats' );
|
@@ -103,9 +103,9 @@ class WCAL_Product_Report_Table extends WP_List_Table {
|
|
103 |
|
104 |
public function get_columns() {
|
105 |
$columns = array(
|
106 |
-
'product_name' => __( 'Product Name', 'woocommerce-
|
107 |
-
'abandoned_number' => __( 'Number of Times Abandoned', 'woocommerce-
|
108 |
-
'recover_number' => __( 'Number of Times Recovered', 'woocommerce-
|
109 |
);
|
110 |
return apply_filters( 'wcal_product_report_columns', $columns );
|
111 |
}
|
@@ -141,7 +141,7 @@ class WCAL_Product_Report_Table extends WP_List_Table {
|
|
141 |
if( isset( $recovered_cart_info->cart ) ){
|
142 |
$cart_details = $recovered_cart_info->cart;
|
143 |
}
|
144 |
-
if ( count( $cart_details ) > 0) {
|
145 |
foreach ( $cart_details as $k => $v ) {
|
146 |
$quantity_total = $quantity_total + $v->quantity;
|
147 |
}
|
79 |
global $status, $page;
|
80 |
// Set parent defaults
|
81 |
parent::__construct( array(
|
82 |
+
'singular' => __( 'product_id', 'woocommerce-abandoned-cart' ), //singular name of the listed records
|
83 |
+
'plural' => __( 'product_ids', 'woocommerce-abandoned-cart' ), //plural name of the listed records
|
84 |
'ajax' => false // Does this table support ajax?
|
85 |
) );
|
86 |
$this->base_url = admin_url( 'admin.php?page=woocommerce_ac_page&action=stats' );
|
103 |
|
104 |
public function get_columns() {
|
105 |
$columns = array(
|
106 |
+
'product_name' => __( 'Product Name', 'woocommerce-abandoned-cart' ),
|
107 |
+
'abandoned_number' => __( 'Number of Times Abandoned', 'woocommerce-abandoned-cart' ),
|
108 |
+
'recover_number' => __( 'Number of Times Recovered', 'woocommerce-abandoned-cart' )
|
109 |
);
|
110 |
return apply_filters( 'wcal_product_report_columns', $columns );
|
111 |
}
|
141 |
if( isset( $recovered_cart_info->cart ) ){
|
142 |
$cart_details = $recovered_cart_info->cart;
|
143 |
}
|
144 |
+
if ( count( get_object_vars( $cart_details ) ) > 0) {
|
145 |
foreach ( $cart_details as $k => $v ) {
|
146 |
$quantity_total = $quantity_total + $v->quantity;
|
147 |
}
|
woocommerce-abandoned-cart/includes/classes/class-wcal-recover-orders-table.php
CHANGED
@@ -73,8 +73,8 @@ class wcal_Recover_Orders_Table extends WP_List_Table {
|
|
73 |
global $status, $page;
|
74 |
// Set parent defaults
|
75 |
parent::__construct( array(
|
76 |
-
'singular' => __( 'rec_abandoned_id', 'woocommerce-
|
77 |
-
'plural' => __( 'rec_abandoned_ids', 'woocommerce-
|
78 |
'ajax' => false // Does this table support ajax?
|
79 |
) );
|
80 |
$this->base_url = admin_url( 'admin.php?page=woocommerce_ac_page&action=stats' );
|
@@ -102,11 +102,11 @@ class wcal_Recover_Orders_Table extends WP_List_Table {
|
|
102 |
|
103 |
public function get_columns() {
|
104 |
$columns = array(
|
105 |
-
'user_name' => __( 'Customer Name', 'woocommerce-
|
106 |
-
'user_email_id' => __( 'Email Address', 'woocommerce-
|
107 |
-
'created_on' => __( 'Cart Abandoned Date', 'woocommerce-
|
108 |
-
'recovered_date' => __( 'Cart Recovered Date' , 'woocommerce-
|
109 |
-
'order_total' => __( 'Order Total', 'woocommerce-
|
110 |
);
|
111 |
return apply_filters( 'wcal_recovered_orders_columns', $columns );
|
112 |
}
|
@@ -136,7 +136,7 @@ class wcal_Recover_Orders_Table extends WP_List_Table {
|
|
136 |
|
137 |
if( isset( $recovered_orders_row_info->user_name ) ) {
|
138 |
$recovered_id = $recovered_orders_row_info->recovered_id ;
|
139 |
-
$row_actions['view_details'] = "<a target=_blank href = post.php?post=$recovered_id&action=edit>". __( 'View Details', 'woocommerce-
|
140 |
$user_name = $recovered_orders_row_info->user_name;
|
141 |
$value = $user_name . $this->row_actions( $row_actions );
|
142 |
}
|
@@ -216,7 +216,7 @@ class wcal_Recover_Orders_Table extends WP_List_Table {
|
|
216 |
}
|
217 |
$line_total = 0;
|
218 |
|
219 |
-
if ( isset( $product_details ) && count( $product_details ) > 0 && $product_details != false ) {
|
220 |
foreach ( $product_details as $k => $v ) {
|
221 |
if( $v->line_subtotal_tax != 0 && $v->line_subtotal_tax > 0 ) {
|
222 |
$line_total = $line_total + $v->line_total + $v->line_subtotal_tax;
|
73 |
global $status, $page;
|
74 |
// Set parent defaults
|
75 |
parent::__construct( array(
|
76 |
+
'singular' => __( 'rec_abandoned_id', 'woocommerce-abandoned-cart' ), //singular name of the listed records
|
77 |
+
'plural' => __( 'rec_abandoned_ids', 'woocommerce-abandoned-cart' ), //plural name of the listed records
|
78 |
'ajax' => false // Does this table support ajax?
|
79 |
) );
|
80 |
$this->base_url = admin_url( 'admin.php?page=woocommerce_ac_page&action=stats' );
|
102 |
|
103 |
public function get_columns() {
|
104 |
$columns = array(
|
105 |
+
'user_name' => __( 'Customer Name', 'woocommerce-abandoned-cart' ),
|
106 |
+
'user_email_id' => __( 'Email Address', 'woocommerce-abandoned-cart' ),
|
107 |
+
'created_on' => __( 'Cart Abandoned Date', 'woocommerce-abandoned-cart' ),
|
108 |
+
'recovered_date' => __( 'Cart Recovered Date' , 'woocommerce-abandoned-cart'),
|
109 |
+
'order_total' => __( 'Order Total', 'woocommerce-abandoned-cart' )
|
110 |
);
|
111 |
return apply_filters( 'wcal_recovered_orders_columns', $columns );
|
112 |
}
|
136 |
|
137 |
if( isset( $recovered_orders_row_info->user_name ) ) {
|
138 |
$recovered_id = $recovered_orders_row_info->recovered_id ;
|
139 |
+
$row_actions['view_details'] = "<a target=_blank href = post.php?post=$recovered_id&action=edit>". __( 'View Details', 'woocommerce-abandoned-cart' )."</a>";
|
140 |
$user_name = $recovered_orders_row_info->user_name;
|
141 |
$value = $user_name . $this->row_actions( $row_actions );
|
142 |
}
|
216 |
}
|
217 |
$line_total = 0;
|
218 |
|
219 |
+
if ( isset( $product_details ) && count( get_object_vars( $product_details ) ) > 0 && $product_details != false ) {
|
220 |
foreach ( $product_details as $k => $v ) {
|
221 |
if( $v->line_subtotal_tax != 0 && $v->line_subtotal_tax > 0 ) {
|
222 |
$line_total = $line_total + $v->line_total + $v->line_subtotal_tax;
|
woocommerce-abandoned-cart/includes/classes/class-wcal-templates-table.php
CHANGED
@@ -40,8 +40,8 @@ class WCAL_Templates_Table extends WP_List_Table {
|
|
40 |
global $status, $page;
|
41 |
// Set parent defaults
|
42 |
parent::__construct( array(
|
43 |
-
'singular' => __( 'template_id', 'woocommerce-
|
44 |
-
'plural' => __( 'template_ids', 'woocommerce-
|
45 |
'ajax' => false // Does this table support ajax?
|
46 |
) );
|
47 |
$this->process_bulk_action();
|
@@ -69,10 +69,10 @@ class WCAL_Templates_Table extends WP_List_Table {
|
|
69 |
public function get_columns() {
|
70 |
$columns = array(
|
71 |
'cb' => '<input type="checkbox" />',
|
72 |
-
'sr' => __( 'Sr', 'woocommerce-
|
73 |
-
'template_name' => __( 'Name Of Template', 'woocommerce-
|
74 |
-
'sent_time' => __( 'Sent After Set Time', 'woocommerce-
|
75 |
-
'activate' => __( 'Active ?', 'woocommerce-
|
76 |
);
|
77 |
return apply_filters( 'wcal_templates_columns', $columns );
|
78 |
}
|
@@ -116,8 +116,8 @@ class WCAL_Templates_Table extends WP_List_Table {
|
|
116 |
if( isset( $template_row_info->template_name ) ) {
|
117 |
$template_id = $template_row_info->id ;
|
118 |
|
119 |
-
$row_actions['edit'] = '<a href="' . wp_nonce_url( add_query_arg( array( 'action' => 'emailtemplates', 'mode'=>'edittemplate', 'id' => $template_row_info->id ), $this->base_url ), 'abandoned_order_nonce') . '">' . __( 'Edit', 'woocommerce-
|
120 |
-
$row_actions['delete'] = '<a href="' . wp_nonce_url( add_query_arg( array( 'action' => 'wcal_delete_template', 'template_id' => $template_row_info->id ), $this->base_url ), 'abandoned_order_nonce') . '">' . __( 'Delete', 'woocommerce-
|
121 |
|
122 |
$email = $template_row_info->template_name;
|
123 |
$value = $email . $this->row_actions( $row_actions );
|
@@ -152,7 +152,7 @@ class WCAL_Templates_Table extends WP_List_Table {
|
|
152 |
$return_templates_data[ $i ]->sr = $i+1;
|
153 |
$return_templates_data[ $i ]->id = $id;
|
154 |
$return_templates_data[ $i ]->template_name = $value->template_name;
|
155 |
-
$return_templates_data[ $i ]->sent_time = __( $frequency . " " . $day_or_hour . "
|
156 |
$return_templates_data[ $i ]->activate = $active;
|
157 |
$return_templates_data[ $i ]->is_active = $is_active;
|
158 |
$i++;
|
@@ -239,7 +239,7 @@ class WCAL_Templates_Table extends WP_List_Table {
|
|
239 |
} else {
|
240 |
$active = "off";
|
241 |
}
|
242 |
-
$active_text = __( $active, 'woocommerce-
|
243 |
//$value = '<a href="#" onclick="wcal_activate_email_template('. $id.', '.$is_active.' )"> '.$active_text.'</a>';
|
244 |
$value = '<button type="button" class="wcal-switch wcal-toggle-template-status" '
|
245 |
. 'wcal-template-id="'. $id .'" '
|
@@ -256,7 +256,7 @@ class WCAL_Templates_Table extends WP_List_Table {
|
|
256 |
|
257 |
public function get_bulk_actions() {
|
258 |
return array(
|
259 |
-
'wcal_delete_template' => __( 'Delete', 'woocommerce-
|
260 |
);
|
261 |
}
|
262 |
}
|
40 |
global $status, $page;
|
41 |
// Set parent defaults
|
42 |
parent::__construct( array(
|
43 |
+
'singular' => __( 'template_id', 'woocommerce-abandoned-cart' ), //singular name of the listed records
|
44 |
+
'plural' => __( 'template_ids', 'woocommerce-abandoned-cart' ), //plural name of the listed records
|
45 |
'ajax' => false // Does this table support ajax?
|
46 |
) );
|
47 |
$this->process_bulk_action();
|
69 |
public function get_columns() {
|
70 |
$columns = array(
|
71 |
'cb' => '<input type="checkbox" />',
|
72 |
+
'sr' => __( 'Sr', 'woocommerce-abandoned-cart' ),
|
73 |
+
'template_name' => __( 'Name Of Template', 'woocommerce-abandoned-cart' ),
|
74 |
+
'sent_time' => __( 'Sent After Set Time', 'woocommerce-abandoned-cart' ),
|
75 |
+
'activate' => __( 'Active ?', 'woocommerce-abandoned-cart' )
|
76 |
);
|
77 |
return apply_filters( 'wcal_templates_columns', $columns );
|
78 |
}
|
116 |
if( isset( $template_row_info->template_name ) ) {
|
117 |
$template_id = $template_row_info->id ;
|
118 |
|
119 |
+
$row_actions['edit'] = '<a href="' . wp_nonce_url( add_query_arg( array( 'action' => 'emailtemplates', 'mode'=>'edittemplate', 'id' => $template_row_info->id ), $this->base_url ), 'abandoned_order_nonce') . '">' . __( 'Edit', 'woocommerce-abandoned-cart' ) . '</a>';
|
120 |
+
$row_actions['delete'] = '<a href="' . wp_nonce_url( add_query_arg( array( 'action' => 'wcal_delete_template', 'template_id' => $template_row_info->id ), $this->base_url ), 'abandoned_order_nonce') . '">' . __( 'Delete', 'woocommerce-abandoned-cart' ) . '</a>';
|
121 |
|
122 |
$email = $template_row_info->template_name;
|
123 |
$value = $email . $this->row_actions( $row_actions );
|
152 |
$return_templates_data[ $i ]->sr = $i+1;
|
153 |
$return_templates_data[ $i ]->id = $id;
|
154 |
$return_templates_data[ $i ]->template_name = $value->template_name;
|
155 |
+
$return_templates_data[ $i ]->sent_time = __( $frequency . " " . $day_or_hour . "After Abandonment", 'woocommerce-abandoned-cart' );
|
156 |
$return_templates_data[ $i ]->activate = $active;
|
157 |
$return_templates_data[ $i ]->is_active = $is_active;
|
158 |
$i++;
|
239 |
} else {
|
240 |
$active = "off";
|
241 |
}
|
242 |
+
$active_text = __( $active, 'woocommerce-abandoned-cart' );
|
243 |
//$value = '<a href="#" onclick="wcal_activate_email_template('. $id.', '.$is_active.' )"> '.$active_text.'</a>';
|
244 |
$value = '<button type="button" class="wcal-switch wcal-toggle-template-status" '
|
245 |
. 'wcal-template-id="'. $id .'" '
|
256 |
|
257 |
public function get_bulk_actions() {
|
258 |
return array(
|
259 |
+
'wcal_delete_template' => __( 'Delete', 'woocommerce-abandoned-cart' )
|
260 |
);
|
261 |
}
|
262 |
}
|
woocommerce-abandoned-cart/includes/wcal_admin_notice.php
CHANGED
@@ -25,7 +25,7 @@ class Wcal_Admin_Notice {
|
|
25 |
|
26 |
$wcal_ac_pro_link = 'https://www.tychesoftwares.com/store/premium-plugins/woocommerce-abandoned-cart-pro/checkout?edd_action=add_to_cart&download_id=20&utm_source=wpnotice&utm_medium=first&utm_campaign=AbandonedCartLitePlugin';
|
27 |
|
28 |
-
$message = wp_kses_post ( __( 'Thank you for using Abandoned Cart Lite for WooCommerce! You can use the Pro version for recovering more sales with some additional features. <strong><a target="_blank" href= "'.$wcal_ac_pro_link.'">Get it now!</a></strong>', 'woocommerce-
|
29 |
|
30 |
$add_query_arguments = add_query_arg( 'wcal_pro_first_notice_ignore', '0' );
|
31 |
$cancel_button = '<a href="'.$add_query_arguments.'" class="dashicons dashicons-dismiss dashicons-dismiss-icon" style="position: absolute; top: 8px; right: 8px; color: #222; opacity: 0.4; text-decoration: none !important;"></a>';
|
@@ -43,7 +43,7 @@ class Wcal_Admin_Notice {
|
|
43 |
|
44 |
$wcal_ac_pro_link = 'https://www.tychesoftwares.com/store/premium-plugins/woocommerce-abandoned-cart-pro/checkout?edd_action=add_to_cart&download_id=20&utm_source=wpnotice&utm_medium=second&utm_campaign=AbandonedCartLitePlugin';
|
45 |
|
46 |
-
$message = wp_kses_post ( __( 'Abandoned Cart Pro plugin allows you to recover more revenue by offering discount coupons in the abandoned cart email notifications. <strong><a target="_blank" href= "'.$wcal_ac_pro_link.'">Grab it now!</a></strong>', 'woocommerce-
|
47 |
|
48 |
$add_query_arguments = add_query_arg( 'wcal_pro_second_notice_ignore', '0' );
|
49 |
$cancel_button = '<a href="'.$add_query_arguments.'" class="dashicons dashicons-dismiss dashicons-dismiss-icon" style="position: absolute; top: 8px; right: 8px; color: #222; opacity: 0.4; text-decoration: none !important;"></a>';
|
@@ -66,7 +66,7 @@ class Wcal_Admin_Notice {
|
|
66 |
|
67 |
$wcal_ordd_lite_link = admin_url( '/plugin-install.php?s=order+delivery+date+tyche+softwares&tab=search&type=term' );
|
68 |
|
69 |
-
$message = wp_kses_post ( __( 'Reduce cart abandonment rate by 57% with our FREE Order Delivery Date plugin. Also increase customer satisfaction with this simple plugin. <strong><a target="_blank" href= "'.$wcal_ordd_lite_link.'">Install Now</a></strong>.', 'woocommerce-
|
70 |
$add_query_arguments = add_query_arg( 'wcal_pro_third_notice_ignore', '0' );
|
71 |
$cancel_button = '<a href="'.$add_query_arguments.'" class="dashicons dashicons-dismiss dashicons-dismiss-icon" style="position: absolute; top: 8px; right: 8px; color: #222; opacity: 0.4; text-decoration: none !important;"></a>';
|
72 |
printf( '<div class="%1$s" style="%2$s"><p>%3$s %4$s</p></div>', $class, $style, $message, $cancel_button );
|
@@ -90,7 +90,7 @@ class Wcal_Admin_Notice {
|
|
90 |
|
91 |
$wcal_pro_diff = 'https://www.tychesoftwares.com/differences-between-pro-and-lite-versions-of-abandoned-cart-for-woocommerce-plugin/';
|
92 |
|
93 |
-
$message = wp_kses_post ( __( 'Using Abandoned Cart Pro plugin, you can add more merge tags, one-click Cart & Checkout page button, send customised abandoned cart reminder email to specific customers & <strong><a target="_blank" href= "'.$wcal_pro_diff.'">much more</a></strong>. <br>Grab 20% discount on the purchase using ACPRO20 discount code and save $24. Coupon is limited to first 20 customers only. <strong><a target="_blank" href= "'.$wcal_ac_pro_link.'">Purchase now</a></strong>.', 'woocommerce-
|
94 |
|
95 |
$add_query_arguments = add_query_arg( 'wcal_pro_fourth_notice_ignore', '0' );
|
96 |
|
@@ -117,7 +117,7 @@ class Wcal_Admin_Notice {
|
|
117 |
|
118 |
$wcal_pro_diff = 'https://www.tychesoftwares.com/differences-between-pro-and-lite-versions-of-abandoned-cart-for-woocommerce-plugin/';
|
119 |
|
120 |
-
$message = wp_kses_post ( __( 'Using Abandoned Cart Pro plugin, you can add more merge tags, one-click Cart & Checkout page button, send customised abandoned cart reminder email to specific customers & <strong><a target="_blank" href= "'.$wcal_pro_diff.'">much more</a></strong>. <br>Grab 20% discount on the purchase using ABPRO20 discount code and save $24. Coupon is limited to first 20 customers only. <strong><a target="_blank" href= "'.$wcal_ac_pro_link.'">Purchase now</a></strong>.', 'woocommerce-
|
121 |
|
122 |
$add_query_arguments = add_query_arg( 'wcal_pro_fourth_notice_ignore', '0' );
|
123 |
|
25 |
|
26 |
$wcal_ac_pro_link = 'https://www.tychesoftwares.com/store/premium-plugins/woocommerce-abandoned-cart-pro/checkout?edd_action=add_to_cart&download_id=20&utm_source=wpnotice&utm_medium=first&utm_campaign=AbandonedCartLitePlugin';
|
27 |
|
28 |
+
$message = wp_kses_post ( __( 'Thank you for using Abandoned Cart Lite for WooCommerce! You can use the Pro version for recovering more sales with some additional features. <strong><a target="_blank" href= "'.$wcal_ac_pro_link.'">Get it now!</a></strong>', 'woocommerce-abandoned-cart' ) );
|
29 |
|
30 |
$add_query_arguments = add_query_arg( 'wcal_pro_first_notice_ignore', '0' );
|
31 |
$cancel_button = '<a href="'.$add_query_arguments.'" class="dashicons dashicons-dismiss dashicons-dismiss-icon" style="position: absolute; top: 8px; right: 8px; color: #222; opacity: 0.4; text-decoration: none !important;"></a>';
|
43 |
|
44 |
$wcal_ac_pro_link = 'https://www.tychesoftwares.com/store/premium-plugins/woocommerce-abandoned-cart-pro/checkout?edd_action=add_to_cart&download_id=20&utm_source=wpnotice&utm_medium=second&utm_campaign=AbandonedCartLitePlugin';
|
45 |
|
46 |
+
$message = wp_kses_post ( __( 'Abandoned Cart Pro plugin allows you to recover more revenue by offering discount coupons in the abandoned cart email notifications. <strong><a target="_blank" href= "'.$wcal_ac_pro_link.'">Grab it now!</a></strong>', 'woocommerce-abandoned-cart' ) );
|
47 |
|
48 |
$add_query_arguments = add_query_arg( 'wcal_pro_second_notice_ignore', '0' );
|
49 |
$cancel_button = '<a href="'.$add_query_arguments.'" class="dashicons dashicons-dismiss dashicons-dismiss-icon" style="position: absolute; top: 8px; right: 8px; color: #222; opacity: 0.4; text-decoration: none !important;"></a>';
|
66 |
|
67 |
$wcal_ordd_lite_link = admin_url( '/plugin-install.php?s=order+delivery+date+tyche+softwares&tab=search&type=term' );
|
68 |
|
69 |
+
$message = wp_kses_post ( __( 'Reduce cart abandonment rate by 57% with our FREE Order Delivery Date plugin. Also increase customer satisfaction with this simple plugin. <strong><a target="_blank" href= "'.$wcal_ordd_lite_link.'">Install Now</a></strong>.', 'woocommerce-abandoned-cart' ) );
|
70 |
$add_query_arguments = add_query_arg( 'wcal_pro_third_notice_ignore', '0' );
|
71 |
$cancel_button = '<a href="'.$add_query_arguments.'" class="dashicons dashicons-dismiss dashicons-dismiss-icon" style="position: absolute; top: 8px; right: 8px; color: #222; opacity: 0.4; text-decoration: none !important;"></a>';
|
72 |
printf( '<div class="%1$s" style="%2$s"><p>%3$s %4$s</p></div>', $class, $style, $message, $cancel_button );
|
90 |
|
91 |
$wcal_pro_diff = 'https://www.tychesoftwares.com/differences-between-pro-and-lite-versions-of-abandoned-cart-for-woocommerce-plugin/';
|
92 |
|
93 |
+
$message = wp_kses_post ( __( 'Using Abandoned Cart Pro plugin, you can add more merge tags, one-click Cart & Checkout page button, send customised abandoned cart reminder email to specific customers & <strong><a target="_blank" href= "'.$wcal_pro_diff.'">much more</a></strong>. <br>Grab 20% discount on the purchase using ACPRO20 discount code and save $24. Coupon is limited to first 20 customers only. <strong><a target="_blank" href= "'.$wcal_ac_pro_link.'">Purchase now</a></strong>.', 'woocommerce-abandoned-cart' ) );
|
94 |
|
95 |
$add_query_arguments = add_query_arg( 'wcal_pro_fourth_notice_ignore', '0' );
|
96 |
|
117 |
|
118 |
$wcal_pro_diff = 'https://www.tychesoftwares.com/differences-between-pro-and-lite-versions-of-abandoned-cart-for-woocommerce-plugin/';
|
119 |
|
120 |
+
$message = wp_kses_post ( __( 'Using Abandoned Cart Pro plugin, you can add more merge tags, one-click Cart & Checkout page button, send customised abandoned cart reminder email to specific customers & <strong><a target="_blank" href= "'.$wcal_pro_diff.'">much more</a></strong>. <br>Grab 20% discount on the purchase using ABPRO20 discount code and save $24. Coupon is limited to first 20 customers only. <strong><a target="_blank" href= "'.$wcal_ac_pro_link.'">Purchase now</a></strong>.', 'woocommerce-abandoned-cart' ) );
|
121 |
|
122 |
$add_query_arguments = add_query_arg( 'wcal_pro_fourth_notice_ignore', '0' );
|
123 |
|
woocommerce-abandoned-cart/includes/wcal_ts_tracking.php
CHANGED
@@ -47,10 +47,10 @@ class Wcal_TS_Tracking {
|
|
47 |
<div class="wcal-message wcal-tracker notice notice-info is-dismissible" style="position: relative;">
|
48 |
<div style="position: absolute;"><img class="site-logo" src="<?php echo plugins_url(); ?>/woocommerce-abandoned-cart/assets/images/site-logo-new.jpg"></div>
|
49 |
<p style="margin: 10px 0 10px 130px; font-size: medium;">
|
50 |
-
<?php print( __( 'Want to help make Abandoned Cart even more awesome? Allow Abandoned Cart to collect non-sensitive diagnostic data and usage information and get 20% off on your next purchase. <a href="https://www.tychesoftwares.com/abandoned-cart-lite-usage-tracking/" target="_blank">Find out more</a>. <br><br>', 'woocommerce-
|
51 |
<p class="submit">
|
52 |
-
<a class="button-primary button button-large" href="<?php echo esc_url( wp_nonce_url( add_query_arg( 'wcal_tracker_optin', 'true' ), 'wcal_tracker_optin', 'wcal_tracker_nonce' ) ); ?>"><?php esc_html_e( 'Allow', 'woocommerce-
|
53 |
-
<a class="button-secondary button button-large skip" href="<?php echo esc_url( wp_nonce_url( add_query_arg( 'wcal_tracker_optout', 'true' ), 'wcal_tracker_optout', 'wcal_tracker_nonce' ) ); ?>"><?php esc_html_e( 'No thanks', 'woocommerce-
|
54 |
</p>
|
55 |
</div>
|
56 |
<?php endif;
|
47 |
<div class="wcal-message wcal-tracker notice notice-info is-dismissible" style="position: relative;">
|
48 |
<div style="position: absolute;"><img class="site-logo" src="<?php echo plugins_url(); ?>/woocommerce-abandoned-cart/assets/images/site-logo-new.jpg"></div>
|
49 |
<p style="margin: 10px 0 10px 130px; font-size: medium;">
|
50 |
+
<?php print( __( 'Want to help make Abandoned Cart even more awesome? Allow Abandoned Cart to collect non-sensitive diagnostic data and usage information and get 20% off on your next purchase. <a href="https://www.tychesoftwares.com/abandoned-cart-lite-usage-tracking/" target="_blank">Find out more</a>. <br><br>', 'woocommerce-abandoned-cart' ) ); ?></p>
|
51 |
<p class="submit">
|
52 |
+
<a class="button-primary button button-large" href="<?php echo esc_url( wp_nonce_url( add_query_arg( 'wcal_tracker_optin', 'true' ), 'wcal_tracker_optin', 'wcal_tracker_nonce' ) ); ?>"><?php esc_html_e( 'Allow', 'woocommerce-abandoned-cart' ); ?></a>
|
53 |
+
<a class="button-secondary button button-large skip" href="<?php echo esc_url( wp_nonce_url( add_query_arg( 'wcal_tracker_optout', 'true' ), 'wcal_tracker_optout', 'wcal_tracker_nonce' ) ); ?>"><?php esc_html_e( 'No thanks', 'woocommerce-abandoned-cart' ); ?></a>
|
54 |
</p>
|
55 |
</div>
|
56 |
<?php endif;
|
woocommerce-abandoned-cart/includes/welcome.php
CHANGED
@@ -54,8 +54,8 @@ class Wcal_Welcome {
|
|
54 |
|
55 |
// About Page
|
56 |
add_dashboard_page(
|
57 |
-
sprintf( esc_html__( 'Welcome to Abandoned Cart Lite %s', 'woocommerce-
|
58 |
-
esc_html__( 'Welcome to Abandoned Cart Lite', 'woocommerce-
|
59 |
$this->minimum_capability,
|
60 |
'wcal-about',
|
61 |
array( $this, 'about_screen' )
|
@@ -109,19 +109,19 @@ class Wcal_Welcome {
|
|
109 |
|
110 |
<div class="feature-section clearfix introduction">
|
111 |
|
112 |
-
<h3><?php esc_html_e( "Get Started with Abandoned Cart Lite", 'woocommerce-
|
113 |
|
114 |
<div class="video feature-section-item" style="float:left;padding-right:10px;">
|
115 |
<img src="<?php echo WCAL_PLUGIN_URL . '/assets/images/abandoned-cart-lite-email-templates.png' ?>"
|
116 |
-
alt="<?php esc_attr_e( 'WooCommerce Abandoned Cart Lite', 'woocommerce-
|
117 |
</div>
|
118 |
|
119 |
<div class="content feature-section-item last-feature">
|
120 |
-
<h3><?php esc_html_e( 'Activate Email Template', 'woocommerce-
|
121 |
|
122 |
-
<p><?php esc_html_e( 'To start sending out abandoned cart notification emails, simply activate the email template from under WooCommerce -> Abandoned Carts -> Email Templates page.', 'woocommerce-
|
123 |
<a href="admin.php?page=woocommerce_ac_page&action=emailtemplates" target="_blank" class="button-secondary">
|
124 |
-
<?php esc_html_e( 'Click Here to go to Email Templates page', 'woocommerce-
|
125 |
<span class="dashicons dashicons-external"></span>
|
126 |
</a>
|
127 |
</div>
|
@@ -131,22 +131,22 @@ class Wcal_Welcome {
|
|
131 |
|
132 |
<div class="content">
|
133 |
|
134 |
-
<h3><?php esc_html_e( "Know more about Abandoned Cart Pro", 'woocommerce-
|
135 |
|
136 |
<p><?php _e( 'The Abandoned Cart Pro plugin gives you features where you are able to recover more sales compared to the Lite plugin. Here are some notable features the Pro version provides.' ); ?></p>
|
137 |
|
138 |
<div class="feature-section clearfix introduction">
|
139 |
<div class="video feature-section-item" style="float:left;padding-right:10px;">
|
140 |
<img src="https://www.tychesoftwares.com/wp-content/uploads/2017/08/atc_frontend.png"
|
141 |
-
alt="<?php esc_attr_e( 'WooCommerce Abandoned Cart Lite', 'woocommerce-
|
142 |
</div>
|
143 |
|
144 |
<div class="content feature-section-item last-feature">
|
145 |
-
<h3><?php esc_html_e( 'Capture Visitor Emails on click of Add to Cart button', 'woocommerce-
|
146 |
|
147 |
-
<p><?php esc_html_e( 'The ability to capture the email address early in the order process is very important to reduce cart abandonment by unknown users as well as to be able to recover their carts if they abandon it. This ultimately leads to increase in your store sales.', 'woocommerce-
|
148 |
<a href="https://www.tychesoftwares.com/capture-guest-user-email-address-before-checkout-page-with-woocommerce-abandoned-cart-pro/?utm_source=wpaboutpage&utm_medium=link&utm_campaign=AbandonedCartLitePlugin" target="_blank" class="button-secondary">
|
149 |
-
<?php esc_html_e( 'Learn More', 'woocommerce-
|
150 |
<span class="dashicons dashicons-external"></span>
|
151 |
</a>
|
152 |
</div>
|
@@ -155,32 +155,32 @@ class Wcal_Welcome {
|
|
155 |
<div class="feature-section clearfix">
|
156 |
<div class="content feature-section-item">
|
157 |
|
158 |
-
<h3><?php esc_html_e( 'Set different cut-off times for visitors & logged-in users', 'woocommerce-
|
159 |
|
160 |
-
<p><?php esc_html_e( 'The provision for setting two separate cut-off times for different roles is mainly because sometimes if the store admin wants the visitor carts to be captured earlier than the registered user carts, then these different settings can play an important role.', 'woocommerce-
|
161 |
<a href="https://www.tychesoftwares.com/capturing-abandoned-carts-woocommerce-abandoned-cart-pro-plugin/?utm_source=wpaboutpage&utm_medium=link&utm_campaign=AbandonedCartLitePlugin" target="_blank" class="button-secondary">
|
162 |
-
<?php esc_html_e( 'Learn More', 'woocommerce-
|
163 |
<span class="dashicons dashicons-external"></span>
|
164 |
</a>
|
165 |
</div>
|
166 |
|
167 |
<div class="content feature-section-item last-feature">
|
168 |
-
<img src="<?php echo WCAL_PLUGIN_URL . 'assets/images/abandon-cart-cut-off-time.png'; ?>" alt="<?php esc_attr_e( 'WooCommerce Abandoned Cart Lite', 'woocommerce-
|
169 |
</div>
|
170 |
</div>
|
171 |
|
172 |
|
173 |
<div class="feature-section clearfix introduction">
|
174 |
<div class="video feature-section-item" style="float:left;padding-right:10px;">
|
175 |
-
<img src="<?php echo WCAL_PLUGIN_URL . 'assets/images/email-templates-send-time.png'; ?>" alt="<?php esc_attr_e( 'WooCommerce Abandoned Cart Lite', 'woocommerce-
|
176 |
</div>
|
177 |
|
178 |
<div class="content feature-section-item last-feature">
|
179 |
-
<h3><?php esc_html_e( 'Send abandoned cart recovery email in minutes of cart being abandoned', 'woocommerce-
|
180 |
|
181 |
-
<p><?php esc_html_e( 'The ability to send the abandoned cart recovery email within first few minutes of cart being abandoned is a big advantage. In the Lite plugin, the earliest an email can be sent is after 1 hour. Whereas in the Pro version, the first recovery email gets sent 15 minutes after the cart is abandoned. This increases the recovery chances manifold.', 'woocommerce-
|
182 |
<a href="https://www.tychesoftwares.com/understanding-the-default-email-templates-of-abandoned-cart-pro-for-woocommerce-plugin/?utm_source=wpaboutpage&utm_medium=link&utm_campaign=AbandonedCartLitePlugin" target="_blank" class="button-secondary">
|
183 |
-
<?php esc_html_e( 'Learn More', 'woocommerce-
|
184 |
<span class="dashicons dashicons-external"></span>
|
185 |
</a>
|
186 |
</div>
|
@@ -189,22 +189,22 @@ class Wcal_Welcome {
|
|
189 |
<div class="feature-section clearfix">
|
190 |
<div class="content feature-section-item">
|
191 |
|
192 |
-
<h3><?php esc_html_e( 'Full range of merge tags that allow you to personalize the abandoned cart email', 'woocommerce-
|
193 |
|
194 |
-
<p><?php esc_html_e( 'The Lite version has only 3 merge tags available to personalize the abandoned cart recovery emails. The Pro version instead, has 20 different merge tags that can be used effectively to personalize each email that gets sent out to the customers for recovering their abandoned carts.', 'woocommerce-
|
195 |
<a href="https://www.tychesoftwares.com/understanding-the-default-email-templates-of-abandoned-cart-pro-for-woocommerce-plugin/?utm_source=wpaboutpage&utm_medium=link&utm_campaign=AbandonedCartLitePlugin" target="_blank" class="button-secondary">
|
196 |
-
<?php esc_html_e( 'Learn More', 'woocommerce-
|
197 |
<span class="dashicons dashicons-external"></span>
|
198 |
</a>
|
199 |
</div>
|
200 |
|
201 |
<div class="content feature-section-item last-feature">
|
202 |
-
<img src="https://www.tychesoftwares.com/wp-content/uploads/2016/10/drop-down-of-AC.png" alt="<?php esc_attr_e( 'WooCommerce Abandoned Cart Lite', 'woocommerce-
|
203 |
</div>
|
204 |
</div>
|
205 |
|
206 |
<a href="https://www.tychesoftwares.com/differences-between-pro-and-lite-versions-of-abandoned-cart-for-woocommerce-plugin/?utm_source=wpaboutpage&utm_medium=link&utm_campaign=AbandonedCartLitePlugin" target="_blank" class="button-secondary">
|
207 |
-
<?php esc_html_e( 'View full list of differences between Lite & Pro plugin', 'woocommerce-
|
208 |
<span class="dashicons dashicons-external"></span>
|
209 |
</a>
|
210 |
</div>
|
@@ -213,11 +213,11 @@ class Wcal_Welcome {
|
|
213 |
|
214 |
<div class="content feature-section-item">
|
215 |
|
216 |
-
<h3><?php esc_html_e( 'Getting to Know Tyche Softwares', 'woocommerce-
|
217 |
|
218 |
<ul class="ul-disc">
|
219 |
-
<li><a href="https://tychesoftwares.com/?utm_source=wpaboutpage&utm_medium=link&utm_campaign=AbandonedCartLitePlugin" target="_blank"><?php esc_html_e( 'Visit the Tyche Softwares Website', 'woocommerce-
|
220 |
-
<li><a href="https://tychesoftwares.com/premium-plugins/?utm_source=wpaboutpage&utm_medium=link&utm_campaign=AbandonedCartLitePlugin" target="_blank"><?php esc_html_e( 'View all Premium Plugins', 'woocommerce-
|
221 |
<ul class="ul-disc">
|
222 |
<li><a href="https://www.tychesoftwares.com/store/premium-plugins/woocommerce-abandoned-cart-pro/?utm_source=wpaboutpage&utm_medium=link&utm_campaign=AbandonedCartLitePlugin" target="_blank">Abandoned Cart Pro Plugin for WooCommerce</a></li>
|
223 |
<li><a href="https://www.tychesoftwares.com/store/premium-plugins/woocommerce-booking-plugin/?utm_source=wpaboutpage&utm_medium=link&utm_campaign=AbandonedCartLitePlugin" target="_blank">Booking & Appointment Plugin for WooCommerce</a></li>
|
@@ -226,7 +226,7 @@ class Wcal_Welcome {
|
|
226 |
<li><a href="https://www.tychesoftwares.com/store/premium-plugins/deposits-for-woocommerce/?utm_source=wpaboutpage&utm_medium=link&utm_campaign=AbandonedCartLitePlugin" target="_blank">Deposits for WooCommerce</a></li>
|
227 |
</ul>
|
228 |
</li>
|
229 |
-
<li><a href="https://tychesoftwares.com/about/?utm_source=wpaboutpage&utm_medium=link&utm_campaign=AbandonedCartLitePlugin" target="_blank"><?php esc_html_e( 'Meet the team', 'woocommerce-
|
230 |
</ul>
|
231 |
|
232 |
</div>
|
@@ -234,7 +234,7 @@ class Wcal_Welcome {
|
|
234 |
|
235 |
<div class="content feature-section-item">
|
236 |
|
237 |
-
<h3><?php esc_html_e( 'Current Offers', 'woocommerce-
|
238 |
|
239 |
<p>Buy all our <a href="https://tychesoftwares.com/premium-plugins/?utm_source=wpaboutpage&utm_medium=link&utm_campaign=AbandonedCartLitePlugin" target="_blank">premium plugins</a> at 30% off till 31st December 2017</p>
|
240 |
|
54 |
|
55 |
// About Page
|
56 |
add_dashboard_page(
|
57 |
+
sprintf( esc_html__( 'Welcome to Abandoned Cart Lite %s', 'woocommerce-abandoned-cart' ), $display_version ),
|
58 |
+
esc_html__( 'Welcome to Abandoned Cart Lite', 'woocommerce-abandoned-cart' ),
|
59 |
$this->minimum_capability,
|
60 |
'wcal-about',
|
61 |
array( $this, 'about_screen' )
|
109 |
|
110 |
<div class="feature-section clearfix introduction">
|
111 |
|
112 |
+
<h3><?php esc_html_e( "Get Started with Abandoned Cart Lite", 'woocommerce-abandoned-cart' ); ?></h3>
|
113 |
|
114 |
<div class="video feature-section-item" style="float:left;padding-right:10px;">
|
115 |
<img src="<?php echo WCAL_PLUGIN_URL . '/assets/images/abandoned-cart-lite-email-templates.png' ?>"
|
116 |
+
alt="<?php esc_attr_e( 'WooCommerce Abandoned Cart Lite', 'woocommerce-abandoned-cart' ); ?>" style="width:600px;">
|
117 |
</div>
|
118 |
|
119 |
<div class="content feature-section-item last-feature">
|
120 |
+
<h3><?php esc_html_e( 'Activate Email Template', 'woocommerce-abandoned-cart' ); ?></h3>
|
121 |
|
122 |
+
<p><?php esc_html_e( 'To start sending out abandoned cart notification emails, simply activate the email template from under WooCommerce -> Abandoned Carts -> Email Templates page.', 'woocommerce-abandoned-cart' ); ?></p>
|
123 |
<a href="admin.php?page=woocommerce_ac_page&action=emailtemplates" target="_blank" class="button-secondary">
|
124 |
+
<?php esc_html_e( 'Click Here to go to Email Templates page', 'woocommerce-abandoned-cart' ); ?>
|
125 |
<span class="dashicons dashicons-external"></span>
|
126 |
</a>
|
127 |
</div>
|
131 |
|
132 |
<div class="content">
|
133 |
|
134 |
+
<h3><?php esc_html_e( "Know more about Abandoned Cart Pro", 'woocommerce-abandoned-cart' ); ?></h3>
|
135 |
|
136 |
<p><?php _e( 'The Abandoned Cart Pro plugin gives you features where you are able to recover more sales compared to the Lite plugin. Here are some notable features the Pro version provides.' ); ?></p>
|
137 |
|
138 |
<div class="feature-section clearfix introduction">
|
139 |
<div class="video feature-section-item" style="float:left;padding-right:10px;">
|
140 |
<img src="https://www.tychesoftwares.com/wp-content/uploads/2017/08/atc_frontend.png"
|
141 |
+
alt="<?php esc_attr_e( 'WooCommerce Abandoned Cart Lite', 'woocommerce-abandoned-cart' ); ?>" style="width:500px;">
|
142 |
</div>
|
143 |
|
144 |
<div class="content feature-section-item last-feature">
|
145 |
+
<h3><?php esc_html_e( 'Capture Visitor Emails on click of Add to Cart button', 'woocommerce-abandoned-cart' ); ?></h3>
|
146 |
|
147 |
+
<p><?php esc_html_e( 'The ability to capture the email address early in the order process is very important to reduce cart abandonment by unknown users as well as to be able to recover their carts if they abandon it. This ultimately leads to increase in your store sales.', 'woocommerce-abandoned-cart' ); ?></p>
|
148 |
<a href="https://www.tychesoftwares.com/capture-guest-user-email-address-before-checkout-page-with-woocommerce-abandoned-cart-pro/?utm_source=wpaboutpage&utm_medium=link&utm_campaign=AbandonedCartLitePlugin" target="_blank" class="button-secondary">
|
149 |
+
<?php esc_html_e( 'Learn More', 'woocommerce-abandoned-cart' ); ?>
|
150 |
<span class="dashicons dashicons-external"></span>
|
151 |
</a>
|
152 |
</div>
|
155 |
<div class="feature-section clearfix">
|
156 |
<div class="content feature-section-item">
|
157 |
|
158 |
+
<h3><?php esc_html_e( 'Set different cut-off times for visitors & logged-in users', 'woocommerce-abandoned-cart' ); ?></h3>
|
159 |
|
160 |
+
<p><?php esc_html_e( 'The provision for setting two separate cut-off times for different roles is mainly because sometimes if the store admin wants the visitor carts to be captured earlier than the registered user carts, then these different settings can play an important role.', 'woocommerce-abandoned-cart' ); ?></p>
|
161 |
<a href="https://www.tychesoftwares.com/capturing-abandoned-carts-woocommerce-abandoned-cart-pro-plugin/?utm_source=wpaboutpage&utm_medium=link&utm_campaign=AbandonedCartLitePlugin" target="_blank" class="button-secondary">
|
162 |
+
<?php esc_html_e( 'Learn More', 'woocommerce-abandoned-cart' ); ?>
|
163 |
<span class="dashicons dashicons-external"></span>
|
164 |
</a>
|
165 |
</div>
|
166 |
|
167 |
<div class="content feature-section-item last-feature">
|
168 |
+
<img src="<?php echo WCAL_PLUGIN_URL . 'assets/images/abandon-cart-cut-off-time.png'; ?>" alt="<?php esc_attr_e( 'WooCommerce Abandoned Cart Lite', 'woocommerce-abandoned-cart' ); ?>" style="width:450px;">
|
169 |
</div>
|
170 |
</div>
|
171 |
|
172 |
|
173 |
<div class="feature-section clearfix introduction">
|
174 |
<div class="video feature-section-item" style="float:left;padding-right:10px;">
|
175 |
+
<img src="<?php echo WCAL_PLUGIN_URL . 'assets/images/email-templates-send-time.png'; ?>" alt="<?php esc_attr_e( 'WooCommerce Abandoned Cart Lite', 'woocommerce-abandoned-cart' ); ?>" style="width:450px;">
|
176 |
</div>
|
177 |
|
178 |
<div class="content feature-section-item last-feature">
|
179 |
+
<h3><?php esc_html_e( 'Send abandoned cart recovery email in minutes of cart being abandoned', 'woocommerce-abandoned-cart' ); ?></h3>
|
180 |
|
181 |
+
<p><?php esc_html_e( 'The ability to send the abandoned cart recovery email within first few minutes of cart being abandoned is a big advantage. In the Lite plugin, the earliest an email can be sent is after 1 hour. Whereas in the Pro version, the first recovery email gets sent 15 minutes after the cart is abandoned. This increases the recovery chances manifold.', 'woocommerce-abandoned-cart' ); ?></p>
|
182 |
<a href="https://www.tychesoftwares.com/understanding-the-default-email-templates-of-abandoned-cart-pro-for-woocommerce-plugin/?utm_source=wpaboutpage&utm_medium=link&utm_campaign=AbandonedCartLitePlugin" target="_blank" class="button-secondary">
|
183 |
+
<?php esc_html_e( 'Learn More', 'woocommerce-abandoned-cart' ); ?>
|
184 |
<span class="dashicons dashicons-external"></span>
|
185 |
</a>
|
186 |
</div>
|
189 |
<div class="feature-section clearfix">
|
190 |
<div class="content feature-section-item">
|
191 |
|
192 |
+
<h3><?php esc_html_e( 'Full range of merge tags that allow you to personalize the abandoned cart email', 'woocommerce-abandoned-cart' ); ?></h3>
|
193 |
|
194 |
+
<p><?php esc_html_e( 'The Lite version has only 3 merge tags available to personalize the abandoned cart recovery emails. The Pro version instead, has 20 different merge tags that can be used effectively to personalize each email that gets sent out to the customers for recovering their abandoned carts.', 'woocommerce-abandoned-cart' ); ?></p>
|
195 |
<a href="https://www.tychesoftwares.com/understanding-the-default-email-templates-of-abandoned-cart-pro-for-woocommerce-plugin/?utm_source=wpaboutpage&utm_medium=link&utm_campaign=AbandonedCartLitePlugin" target="_blank" class="button-secondary">
|
196 |
+
<?php esc_html_e( 'Learn More', 'woocommerce-abandoned-cart' ); ?>
|
197 |
<span class="dashicons dashicons-external"></span>
|
198 |
</a>
|
199 |
</div>
|
200 |
|
201 |
<div class="content feature-section-item last-feature">
|
202 |
+
<img src="https://www.tychesoftwares.com/wp-content/uploads/2016/10/drop-down-of-AC.png" alt="<?php esc_attr_e( 'WooCommerce Abandoned Cart Lite', 'woocommerce-abandoned-cart' ); ?>" style="width:450px;">
|
203 |
</div>
|
204 |
</div>
|
205 |
|
206 |
<a href="https://www.tychesoftwares.com/differences-between-pro-and-lite-versions-of-abandoned-cart-for-woocommerce-plugin/?utm_source=wpaboutpage&utm_medium=link&utm_campaign=AbandonedCartLitePlugin" target="_blank" class="button-secondary">
|
207 |
+
<?php esc_html_e( 'View full list of differences between Lite & Pro plugin', 'woocommerce-abandoned-cart' ); ?>
|
208 |
<span class="dashicons dashicons-external"></span>
|
209 |
</a>
|
210 |
</div>
|
213 |
|
214 |
<div class="content feature-section-item">
|
215 |
|
216 |
+
<h3><?php esc_html_e( 'Getting to Know Tyche Softwares', 'woocommerce-abandoned-cart' ); ?></h3>
|
217 |
|
218 |
<ul class="ul-disc">
|
219 |
+
<li><a href="https://tychesoftwares.com/?utm_source=wpaboutpage&utm_medium=link&utm_campaign=AbandonedCartLitePlugin" target="_blank"><?php esc_html_e( 'Visit the Tyche Softwares Website', 'woocommerce-abandoned-cart' ); ?></a></li>
|
220 |
+
<li><a href="https://tychesoftwares.com/premium-plugins/?utm_source=wpaboutpage&utm_medium=link&utm_campaign=AbandonedCartLitePlugin" target="_blank"><?php esc_html_e( 'View all Premium Plugins', 'woocommerce-abandoned-cart' ); ?></a>
|
221 |
<ul class="ul-disc">
|
222 |
<li><a href="https://www.tychesoftwares.com/store/premium-plugins/woocommerce-abandoned-cart-pro/?utm_source=wpaboutpage&utm_medium=link&utm_campaign=AbandonedCartLitePlugin" target="_blank">Abandoned Cart Pro Plugin for WooCommerce</a></li>
|
223 |
<li><a href="https://www.tychesoftwares.com/store/premium-plugins/woocommerce-booking-plugin/?utm_source=wpaboutpage&utm_medium=link&utm_campaign=AbandonedCartLitePlugin" target="_blank">Booking & Appointment Plugin for WooCommerce</a></li>
|
226 |
<li><a href="https://www.tychesoftwares.com/store/premium-plugins/deposits-for-woocommerce/?utm_source=wpaboutpage&utm_medium=link&utm_campaign=AbandonedCartLitePlugin" target="_blank">Deposits for WooCommerce</a></li>
|
227 |
</ul>
|
228 |
</li>
|
229 |
+
<li><a href="https://tychesoftwares.com/about/?utm_source=wpaboutpage&utm_medium=link&utm_campaign=AbandonedCartLitePlugin" target="_blank"><?php esc_html_e( 'Meet the team', 'woocommerce-abandoned-cart' ); ?></a></li>
|
230 |
</ul>
|
231 |
|
232 |
</div>
|
234 |
|
235 |
<div class="content feature-section-item">
|
236 |
|
237 |
+
<h3><?php esc_html_e( 'Current Offers', 'woocommerce-abandoned-cart' ); ?></h3>
|
238 |
|
239 |
<p>Buy all our <a href="https://tychesoftwares.com/premium-plugins/?utm_source=wpaboutpage&utm_medium=link&utm_campaign=AbandonedCartLitePlugin" target="_blank">premium plugins</a> at 30% off till 31st December 2017</p>
|
240 |
|
woocommerce-abandoned-cart/readme.txt
CHANGED
@@ -4,7 +4,7 @@ Contributors: ashokrane, pinal.shah, bhavik.kiri, chetnapatel, tychesoftwares
|
|
4 |
Tags: abandon cart, cart recovery, increase woocommerce conversion rate , recover woocommerce cart, increase sales with woocommerce
|
5 |
Author URI: https://www.tychesoftwares.com/
|
6 |
Requires at least: 1.3
|
7 |
-
Tested up to: 4.9.
|
8 |
Stable tag: trunk
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
@@ -188,6 +188,19 @@ You can refer **[here](https://www.tychesoftwares.com/differences-between-pro-an
|
|
188 |
|
189 |
== Changelog ==
|
190 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
191 |
= 4.6 (31.01-2018) =
|
192 |
|
193 |
* This version has 7 bugs fixes.
|
4 |
Tags: abandon cart, cart recovery, increase woocommerce conversion rate , recover woocommerce cart, increase sales with woocommerce
|
5 |
Author URI: https://www.tychesoftwares.com/
|
6 |
Requires at least: 1.3
|
7 |
+
Tested up to: 4.9.4
|
8 |
Stable tag: trunk
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
188 |
|
189 |
== Changelog ==
|
190 |
|
191 |
+
= 4.7 (16.02-2018) =
|
192 |
+
|
193 |
+
|
194 |
+
*
|
195 |
+
This version has 2 bug fixes.
|
196 |
+
|
197 |
+
|
198 |
+
|
199 |
+
* Bug Fixed - Due to the introduction of language packs through translate.wordpress.org, our plugin was not prepared for localization. So, we changed textdomain from "woocommerce-ac" to "woocommerce-abandoned-cart".
|
200 |
+
|
201 |
+
|
202 |
+
* Bug Fixed - Warning error messages had been displayed on Abandoned Orders tab and Recovered Orders tab with PHP 7.2. This issue has been fixed.
|
203 |
+
|
204 |
= 4.6 (31.01-2018) =
|
205 |
|
206 |
* This version has 7 bugs fixes.
|
woocommerce-abandoned-cart/views/wcal-email-template-preview.php
CHANGED
@@ -1,56 +1,56 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Admin View: Abandoned Cart reminder Email Template Preview
|
4 |
-
*/
|
5 |
-
if ( ! defined( 'ABSPATH' ) ) {
|
6 |
-
exit; // Exit if accessed directly
|
7 |
-
}
|
8 |
-
$current_time_stamp = current_time( 'timestamp' );
|
9 |
-
$date_format = date_i18n( get_option( 'date_format' ), $current_time_stamp );
|
10 |
-
$time_format = date_i18n( get_option( 'time_format' ), $current_time_stamp );
|
11 |
-
$test_date = $date_format . ' ' . $time_format;
|
12 |
-
$wcal_price = wc_price( '150' );
|
13 |
-
$wcal_total_price = wc_price( '300' );
|
14 |
-
?>
|
15 |
-
<html>
|
16 |
-
<head>
|
17 |
-
<title>My document title</title>
|
18 |
-
</head>
|
19 |
-
<body>
|
20 |
-
<p align="center"> Hello John Carter, </p>
|
21 |
-
<p> </p>
|
22 |
-
<p align="center"> We're following up with you, because we noticed that on <?php echo "$test_date"; ?> you attempted to purchase the following products on <?php echo get_option( 'blogname' );?>. </p>
|
23 |
-
<p> </p>
|
24 |
-
<p>
|
25 |
-
<table border="0" cellspacing="5" align="center"><caption><b>Cart Details</b></caption>
|
26 |
-
<tbody>
|
27 |
-
<tr>
|
28 |
-
<th></th>
|
29 |
-
<th>Product</th>
|
30 |
-
<th>Price</th>
|
31 |
-
<th>Quantity</th>
|
32 |
-
<th>Total</th>
|
33 |
-
</tr>
|
34 |
-
<tr style="background-color:#f4f5f4;">
|
35 |
-
<td><img src = "<?php echo plugins_url();?>/woocommerce-abandoned-cart/assets/images/spectre.jpg" height="40px" width="40px"></td><td>Spectre</td><td> <?php echo "$wcal_price"; ?></td><td>2</td><td><?php echo "$wcal_total_price"; ?> </td>
|
36 |
-
</tr>
|
37 |
-
<tr>
|
38 |
-
<td> </td>
|
39 |
-
<td> </td>
|
40 |
-
<td> </td>
|
41 |
-
<th>Cart Total:</th>
|
42 |
-
<td><?php echo "$wcal_total_price"; ?></td>
|
43 |
-
</tr>
|
44 |
-
</tbody>
|
45 |
-
</table>
|
46 |
-
</p>
|
47 |
-
<p> </p>
|
48 |
-
<p align="center"> If you had any purchase troubles, could you please Contact to share them? </p>
|
49 |
-
<p> </p>
|
50 |
-
<p align="center"> Otherwise, how about giving us another chance? Shop <a href="<?php echo get_option( 'siteurl' );?>"><?php echo get_option( 'blogname' );?></a>. </p>
|
51 |
-
<hr></hr>
|
52 |
-
<p align="center"> You may <a href="<?php echo get_option( 'siteurl' );?>">unsubscribe</a> to stop receiving these emails. </p>
|
53 |
-
<p> </p>
|
54 |
-
<p align="center"> <a href="<?php echo get_option( 'siteurl' );?>"><?php echo get_option( 'blogname' );?></a> appreciates your business. </p>
|
55 |
-
</body>
|
56 |
</html>
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Admin View: Abandoned Cart reminder Email Template Preview
|
4 |
+
*/
|
5 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
6 |
+
exit; // Exit if accessed directly
|
7 |
+
}
|
8 |
+
$current_time_stamp = current_time( 'timestamp' );
|
9 |
+
$date_format = date_i18n( get_option( 'date_format' ), $current_time_stamp );
|
10 |
+
$time_format = date_i18n( get_option( 'time_format' ), $current_time_stamp );
|
11 |
+
$test_date = $date_format . ' ' . $time_format;
|
12 |
+
$wcal_price = wc_price( '150' );
|
13 |
+
$wcal_total_price = wc_price( '300' );
|
14 |
+
?>
|
15 |
+
<html>
|
16 |
+
<head>
|
17 |
+
<title>My document title</title>
|
18 |
+
</head>
|
19 |
+
<body>
|
20 |
+
<p align="center"> Hello John Carter, </p>
|
21 |
+
<p> </p>
|
22 |
+
<p align="center"> We're following up with you, because we noticed that on <?php echo "$test_date"; ?> you attempted to purchase the following products on <?php echo get_option( 'blogname' );?>. </p>
|
23 |
+
<p> </p>
|
24 |
+
<p>
|
25 |
+
<table border="0" cellspacing="5" align="center"><caption><b>Cart Details</b></caption>
|
26 |
+
<tbody>
|
27 |
+
<tr>
|
28 |
+
<th></th>
|
29 |
+
<th>Product</th>
|
30 |
+
<th>Price</th>
|
31 |
+
<th>Quantity</th>
|
32 |
+
<th>Total</th>
|
33 |
+
</tr>
|
34 |
+
<tr style="background-color:#f4f5f4;">
|
35 |
+
<td><img src = "<?php echo plugins_url();?>/woocommerce-abandoned-cart/assets/images/spectre.jpg" height="40px" width="40px"></td><td>Spectre</td><td> <?php echo "$wcal_price"; ?></td><td>2</td><td><?php echo "$wcal_total_price"; ?> </td>
|
36 |
+
</tr>
|
37 |
+
<tr>
|
38 |
+
<td> </td>
|
39 |
+
<td> </td>
|
40 |
+
<td> </td>
|
41 |
+
<th>Cart Total:</th>
|
42 |
+
<td><?php echo "$wcal_total_price"; ?></td>
|
43 |
+
</tr>
|
44 |
+
</tbody>
|
45 |
+
</table>
|
46 |
+
</p>
|
47 |
+
<p> </p>
|
48 |
+
<p align="center"> If you had any purchase troubles, could you please Contact to share them? </p>
|
49 |
+
<p> </p>
|
50 |
+
<p align="center"> Otherwise, how about giving us another chance? Shop <a href="<?php echo get_option( 'siteurl' );?>"><?php echo get_option( 'blogname' );?></a>. </p>
|
51 |
+
<hr></hr>
|
52 |
+
<p align="center"> You may <a href="<?php echo get_option( 'siteurl' );?>">unsubscribe</a> to stop receiving these emails. </p>
|
53 |
+
<p> </p>
|
54 |
+
<p align="center"> <a href="<?php echo get_option( 'siteurl' );?>"><?php echo get_option( 'blogname' );?></a> appreciates your business. </p>
|
55 |
+
</body>
|
56 |
</html>
|
woocommerce-abandoned-cart/views/wcal-wc-email-template-preview.php
CHANGED
@@ -1,51 +1,51 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Admin View: Abandoned Cart reminder Email Template Preview
|
4 |
-
*/
|
5 |
-
if( ! defined( 'ABSPATH' ) ) {
|
6 |
-
exit; // Exit if accessed directly
|
7 |
-
}
|
8 |
-
$current_time_stamp = current_time( 'timestamp' );
|
9 |
-
$date_format = date_i18n( get_option( 'date_format' ), $current_time_stamp );
|
10 |
-
$time_format = date_i18n( get_option( 'time_format' ), $current_time_stamp );
|
11 |
-
$test_date = $date_format . ' ' . $time_format;
|
12 |
-
$wcal_price = wc_price( '150' );
|
13 |
-
$wcal_total_price = wc_price( '300' );
|
14 |
-
?>
|
15 |
-
<body>
|
16 |
-
<p> Hello John Carter, </p>
|
17 |
-
<p> </p>
|
18 |
-
<p> We're following up with you, because we noticed that on <?php echo "$test_date"; ?> you attempted to purchase the following products on <?php echo get_option( 'blogname' );?>. </p>
|
19 |
-
<p> </p>
|
20 |
-
<p>
|
21 |
-
<table border="0" cellspacing="5" align="center"><caption><b>Cart Details</b></caption>
|
22 |
-
<tbody>
|
23 |
-
<tr>
|
24 |
-
<th></th>
|
25 |
-
<th>Product</th>
|
26 |
-
<th>Price</th>
|
27 |
-
<th>Quantity</th>
|
28 |
-
<th>Total</th>
|
29 |
-
</tr>
|
30 |
-
<tr style="background-color:#f4f5f4;">
|
31 |
-
<td><img src = "<?php echo plugins_url();?>/woocommerce-abandoned-cart/assets/images/spectre.jpg" height="40px" width="40px"></td><td>Spectre</td><td> <?php echo "$wcal_price"; ?> </td><td>2</td><td><?php echo "$wcal_total_price"; ?> </td>
|
32 |
-
</tr>
|
33 |
-
<tr>
|
34 |
-
<td> </td>
|
35 |
-
<td> </td>
|
36 |
-
<td> </td>
|
37 |
-
<th>Cart Total:</th>
|
38 |
-
<td><?php echo "$wcal_total_price"; ?></td>
|
39 |
-
</tr>
|
40 |
-
</tbody>
|
41 |
-
</table>
|
42 |
-
</p>
|
43 |
-
<p> </p>
|
44 |
-
<p> If you had any purchase troubles, could you please Contact to share them? </p>
|
45 |
-
<p> </p>
|
46 |
-
<p> Otherwise, how about giving us another chance? Shop <a href="<?php echo get_option( 'siteurl' );?>"><?php echo get_option( 'blogname' );?></a>. </p>
|
47 |
-
<hr></hr>
|
48 |
-
<p> You may <a href="<?php echo get_option( 'siteurl' );?>">unsubscribe</a> to stop receiving these emails. </p>
|
49 |
-
<p> </p>
|
50 |
-
<p> <a href="<?php echo get_option( 'siteurl' );?>"><?php echo get_option( 'blogname' );?></a> appreciates your business. </p>
|
51 |
-
</body>
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Admin View: Abandoned Cart reminder Email Template Preview
|
4 |
+
*/
|
5 |
+
if( ! defined( 'ABSPATH' ) ) {
|
6 |
+
exit; // Exit if accessed directly
|
7 |
+
}
|
8 |
+
$current_time_stamp = current_time( 'timestamp' );
|
9 |
+
$date_format = date_i18n( get_option( 'date_format' ), $current_time_stamp );
|
10 |
+
$time_format = date_i18n( get_option( 'time_format' ), $current_time_stamp );
|
11 |
+
$test_date = $date_format . ' ' . $time_format;
|
12 |
+
$wcal_price = wc_price( '150' );
|
13 |
+
$wcal_total_price = wc_price( '300' );
|
14 |
+
?>
|
15 |
+
<body>
|
16 |
+
<p> Hello John Carter, </p>
|
17 |
+
<p> </p>
|
18 |
+
<p> We're following up with you, because we noticed that on <?php echo "$test_date"; ?> you attempted to purchase the following products on <?php echo get_option( 'blogname' );?>. </p>
|
19 |
+
<p> </p>
|
20 |
+
<p>
|
21 |
+
<table border="0" cellspacing="5" align="center"><caption><b>Cart Details</b></caption>
|
22 |
+
<tbody>
|
23 |
+
<tr>
|
24 |
+
<th></th>
|
25 |
+
<th>Product</th>
|
26 |
+
<th>Price</th>
|
27 |
+
<th>Quantity</th>
|
28 |
+
<th>Total</th>
|
29 |
+
</tr>
|
30 |
+
<tr style="background-color:#f4f5f4;">
|
31 |
+
<td><img src = "<?php echo plugins_url();?>/woocommerce-abandoned-cart/assets/images/spectre.jpg" height="40px" width="40px"></td><td>Spectre</td><td> <?php echo "$wcal_price"; ?> </td><td>2</td><td><?php echo "$wcal_total_price"; ?> </td>
|
32 |
+
</tr>
|
33 |
+
<tr>
|
34 |
+
<td> </td>
|
35 |
+
<td> </td>
|
36 |
+
<td> </td>
|
37 |
+
<th>Cart Total:</th>
|
38 |
+
<td><?php echo "$wcal_total_price"; ?></td>
|
39 |
+
</tr>
|
40 |
+
</tbody>
|
41 |
+
</table>
|
42 |
+
</p>
|
43 |
+
<p> </p>
|
44 |
+
<p> If you had any purchase troubles, could you please Contact to share them? </p>
|
45 |
+
<p> </p>
|
46 |
+
<p> Otherwise, how about giving us another chance? Shop <a href="<?php echo get_option( 'siteurl' );?>"><?php echo get_option( 'blogname' );?></a>. </p>
|
47 |
+
<hr></hr>
|
48 |
+
<p> You may <a href="<?php echo get_option( 'siteurl' );?>">unsubscribe</a> to stop receiving these emails. </p>
|
49 |
+
<p> </p>
|
50 |
+
<p> <a href="<?php echo get_option( 'siteurl' );?>"><?php echo get_option( 'blogname' );?></a> appreciates your business. </p>
|
51 |
+
</body>
|
woocommerce-abandoned-cart/woocommerce-ac.php
CHANGED
@@ -3,14 +3,14 @@
|
|
3 |
* Plugin Name: Abandoned Cart Lite for WooCommerce
|
4 |
* Plugin URI: http://www.tychesoftwares.com/store/premium-plugins/woocommerce-abandoned-cart-pro
|
5 |
* Description: This plugin captures abandoned carts by logged-in users & emails them about it. <strong><a href="http://www.tychesoftwares.com/store/premium-plugins/woocommerce-abandoned-cart-pro">Click here to get the PRO Version.</a></strong>
|
6 |
-
* Version: 4.
|
7 |
* Author: Tyche Softwares
|
8 |
* Author URI: http://www.tychesoftwares.com/
|
9 |
-
* Text Domain: woocommerce-
|
10 |
* Domain Path: /i18n/languages/
|
11 |
* Requires PHP: 5.6
|
12 |
* WC requires at least: 3.0.0
|
13 |
-
* WC tested up to: 3.
|
14 |
*/
|
15 |
|
16 |
// Deletion Settings
|
@@ -54,7 +54,7 @@ if ( ! wp_next_scheduled( 'woocommerce_ac_send_email_action' ) ) {
|
|
54 |
function wcal_add_tracking_cron_schedule( $schedules ) {
|
55 |
$schedules[ 'daily_once' ] = array(
|
56 |
'interval' => 604800, // one week in seconds
|
57 |
-
'display' => __( 'Once in a Week', 'woocommerce-
|
58 |
);
|
59 |
return $schedules;
|
60 |
}
|
@@ -310,7 +310,7 @@ if( !class_exists( 'woocommerce_abandon_cart_lite' ) ) {
|
|
310 |
public static function wcal_wc_disabled_notice() {
|
311 |
|
312 |
$class = 'notice notice-error is-dismissible';
|
313 |
-
$message = __( 'Abandoned Cart Lite for WooCommerce requires WooCommerce installed and activate.', 'woocommerce-
|
314 |
|
315 |
printf( '<div class="%1$s"><p>%2$s</p></div>', $class, $message );
|
316 |
}
|
@@ -541,7 +541,7 @@ if( !class_exists( 'woocommerce_abandon_cart_lite' ) ) {
|
|
541 |
$query_order = "UPDATE $wcal_ac_table_name SET recovered_cart = '" . $order_id . "', cart_ignored = '1' WHERE id = '".$get_abandoned_id_of_order."' ";
|
542 |
$wpdb->query( $query_order );
|
543 |
|
544 |
-
$order->add_order_note( __( 'This order was abandoned & subsequently recovered.', 'woocommerce-
|
545 |
|
546 |
delete_post_meta( $order_id, 'wcal_recover_order_placed', $get_abandoned_id_of_order );
|
547 |
delete_post_meta( $order_id , 'wcal_recover_order_placed_sent_id', $get_sent_email_id_of_order );
|
@@ -581,7 +581,7 @@ if( !class_exists( 'woocommerce_abandon_cart_lite' ) ) {
|
|
581 |
public function wcal_preview_emails() {
|
582 |
global $woocommerce;
|
583 |
if( isset( $_GET['wcal_preview_woocommerce_mail'] ) ) {
|
584 |
-
if( !wp_verify_nonce( $_REQUEST['_wpnonce'], 'woocommerce-
|
585 |
die( 'Security check' );
|
586 |
}
|
587 |
$message = '';
|
@@ -593,13 +593,13 @@ if( !class_exists( 'woocommerce_abandon_cart_lite' ) ) {
|
|
593 |
include( 'views/wcal-wc-email-template-preview.php' );
|
594 |
$mailer = WC()->mailer();
|
595 |
$message = ob_get_clean();
|
596 |
-
$email_heading = __( 'HTML Email Template', 'woocommerce-
|
597 |
$message = $mailer->wrap_message( $email_heading, $message );
|
598 |
} else {
|
599 |
// load the mailer class
|
600 |
$mailer = WC()->mailer();
|
601 |
// get the preview email subject
|
602 |
-
$email_heading = __( 'Abandoned cart Email Template', 'woocommerce-
|
603 |
// get the preview email content
|
604 |
ob_start();
|
605 |
include( 'views/wcal-wc-email-template-preview.php' );
|
@@ -614,7 +614,7 @@ if( !class_exists( 'woocommerce_abandon_cart_lite' ) ) {
|
|
614 |
}
|
615 |
|
616 |
if ( isset( $_GET['wcal_preview_mail'] ) ) {
|
617 |
-
if ( ! wp_verify_nonce( $_REQUEST['_wpnonce'], 'woocommerce-
|
618 |
die( 'Security check' );
|
619 |
}
|
620 |
// get the preview email content
|
@@ -629,7 +629,12 @@ if( !class_exists( 'woocommerce_abandon_cart_lite' ) ) {
|
|
629 |
|
630 |
// Language Translation
|
631 |
function wcal_update_po_file() {
|
632 |
-
|
|
|
|
|
|
|
|
|
|
|
633 |
$locale = apply_filters( 'plugin_locale', get_locale(), $domain );
|
634 |
if ( $loaded = load_textdomain( $domain, trailingslashit( WP_LANG_DIR ) . $domain . '-' . $locale . '.mo' ) ) {
|
635 |
return $loaded;
|
@@ -780,36 +785,36 @@ if( !class_exists( 'woocommerce_abandon_cart_lite' ) ) {
|
|
780 |
// First, we register a section. This is necessary since all future options must belong to a
|
781 |
add_settings_section(
|
782 |
'ac_lite_general_settings_section', // ID used to identify this section and with which to register options
|
783 |
-
__( 'Settings', 'woocommerce-
|
784 |
array($this, 'ac_lite_general_options_callback' ), // Callback used to render the description of the section
|
785 |
'woocommerce_ac_page' // Page on which to add this section of options
|
786 |
);
|
787 |
|
788 |
add_settings_field(
|
789 |
'ac_lite_cart_abandoned_time',
|
790 |
-
__( 'Cart abandoned cut-off time', 'woocommerce-
|
791 |
array( $this, 'ac_lite_cart_abandoned_time_callback' ),
|
792 |
'woocommerce_ac_page',
|
793 |
'ac_lite_general_settings_section',
|
794 |
-
array( __( 'Consider cart abandoned after X minutes of item being added to cart & order not placed.', 'woocommerce-
|
795 |
);
|
796 |
|
797 |
add_settings_field(
|
798 |
'ac_lite_email_admin_on_recovery',
|
799 |
-
__( 'Email admin On Order Recovery', 'woocommerce-
|
800 |
array( $this, 'ac_lite_email_admin_on_recovery' ),
|
801 |
'woocommerce_ac_page',
|
802 |
'ac_lite_general_settings_section',
|
803 |
-
array( __( 'Sends email to Admin if an Abandoned Cart Order is recovered.', 'woocommerce-
|
804 |
);
|
805 |
|
806 |
add_settings_field(
|
807 |
'ac_lite_track_guest_cart_from_cart_page',
|
808 |
-
__( 'Start tracking from Cart Page', 'woocommerce-
|
809 |
array( $this, 'wcal_track_guest_cart_from_cart_page_callback' ),
|
810 |
'woocommerce_ac_page',
|
811 |
'ac_lite_general_settings_section',
|
812 |
-
array( __( 'Enable tracking of abandoned products & carts even if customer does not visit the checkout page or does not enter any details on the checkout page like Name or Email. Tracking will begin as soon as a visitor adds a product to their cart and visits the cart page.', 'woocommerce-
|
813 |
);
|
814 |
/*
|
815 |
* New section for the Adding the abandoned cart setting.
|
@@ -818,36 +823,36 @@ if( !class_exists( 'woocommerce_abandon_cart_lite' ) ) {
|
|
818 |
|
819 |
add_settings_section(
|
820 |
'ac_email_settings_section', // ID used to identify this section and with which to register options
|
821 |
-
__( 'Settings for abandoned cart recovery emails', 'woocommerce-
|
822 |
array($this, 'wcal_email_callback' ),// Callback used to render the description of the section
|
823 |
'woocommerce_ac_email_page' // Page on which to add this section of options
|
824 |
);
|
825 |
|
826 |
add_settings_field(
|
827 |
'wcal_from_name',
|
828 |
-
__( '"From" Name', 'woocommerce-
|
829 |
array( $this, 'wcal_from_name_callback' ),
|
830 |
'woocommerce_ac_email_page',
|
831 |
'ac_email_settings_section',
|
832 |
-
array( 'Enter the name that should appear in the email sent.', 'woocommerce-
|
833 |
);
|
834 |
|
835 |
add_settings_field(
|
836 |
'wcal_from_email',
|
837 |
-
__( '"From" Address', 'woocommerce-
|
838 |
array( $this, 'wcal_from_email_callback' ),
|
839 |
'woocommerce_ac_email_page',
|
840 |
'ac_email_settings_section',
|
841 |
-
array( 'Email address from which the reminder emails should be sent.', 'woocommerce-
|
842 |
);
|
843 |
|
844 |
add_settings_field(
|
845 |
'wcal_reply_email',
|
846 |
-
__( 'Send Reply Emails to', 'woocommerce-
|
847 |
array( $this, 'wcal_reply_email_callback' ),
|
848 |
'woocommerce_ac_email_page',
|
849 |
'ac_email_settings_section',
|
850 |
-
array( 'When a contact receives your email and clicks reply, which email address should that reply be sent to?', 'woocommerce-
|
851 |
);
|
852 |
|
853 |
// Finally, we register the fields with WordPress
|
@@ -913,7 +918,7 @@ if( !class_exists( 'woocommerce_abandon_cart_lite' ) ) {
|
|
913 |
if ( $input != '' && ( is_numeric( $input) && $input > 0 ) ) {
|
914 |
$output = stripslashes( $input) ;
|
915 |
} else {
|
916 |
-
add_settings_error( 'ac_lite_cart_abandoned_time', 'error found', __( 'Abandoned cart cut off time should be numeric and has to be greater than 0.', 'woocommerce-
|
917 |
}
|
918 |
return $output;
|
919 |
}
|
@@ -1177,9 +1182,9 @@ if( !class_exists( 'woocommerce_abandon_cart_lite' ) ) {
|
|
1177 |
|
1178 |
if ( 'checkout' == $created_via && 'yes' != $recovered_email_sent && true === $wcal_check_order_is_recovered ) { // indicates cart is abandoned
|
1179 |
$order = new WC_Order( $order_id );
|
1180 |
-
$email_heading = __( 'New Customer Order - Recovered', 'woocommerce-
|
1181 |
$blogname = wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES );
|
1182 |
-
$email_subject =
|
1183 |
$user_email = get_option( 'admin_email' );
|
1184 |
$headers[] = "From: Admin <".$user_email.">";
|
1185 |
$headers[] = "Content-Type: text/html";
|
@@ -1224,9 +1229,9 @@ if( !class_exists( 'woocommerce_abandon_cart_lite' ) ) {
|
|
1224 |
$created_via = get_post_meta( $order_id, '_created_via', true );
|
1225 |
$wcal_check_order_is_recovered = woocommerce_abandon_cart_lite::wcal_check_order_is_recovered( $order_id );
|
1226 |
if ( 'checkout' == $created_via && 'yes' != $recovered_email_sent && true === $wcal_check_order_is_recovered ) { // indicates cart is abandoned
|
1227 |
-
$email_heading = __( 'New Customer Order - Recovered', 'woocommerce-
|
1228 |
$blogname = wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES );
|
1229 |
-
$email_subject =
|
1230 |
$user_email = get_option( 'admin_email' );
|
1231 |
$headers[] = "From: Admin <".$user_email.">";
|
1232 |
$headers[] = "Content-Type: text/html";
|
@@ -1263,7 +1268,7 @@ if( !class_exists( 'woocommerce_abandon_cart_lite' ) ) {
|
|
1263 |
|
1264 |
// Add a submenu page.
|
1265 |
function wcal_admin_menu() {
|
1266 |
-
$page = add_submenu_page ( 'woocommerce', __( 'Abandoned Carts', 'woocommerce-
|
1267 |
}
|
1268 |
|
1269 |
// Capture the cart and insert the information of the cart into DataBase
|
@@ -1758,7 +1763,7 @@ if( !class_exists( 'woocommerce_abandon_cart_lite' ) ) {
|
|
1758 |
WHERE id = '".$get_abandoned_id_of_order."' ";
|
1759 |
$wpdb->query( $query_order );
|
1760 |
|
1761 |
-
$order->add_order_note( __( 'This order was abandoned & subsequently recovered.', 'woocommerce-
|
1762 |
|
1763 |
delete_post_meta( $order_id, 'wcal_recover_order_placed', $get_abandoned_id_of_order );
|
1764 |
delete_post_meta( $order_id , 'wcal_recover_order_placed_sent_id', $get_sent_email_id_of_order );
|
@@ -1915,11 +1920,11 @@ if( !class_exists( 'woocommerce_abandon_cart_lite' ) ) {
|
|
1915 |
<div style="background-image: url('<?php echo plugins_url(); ?>/woocommerce-abandoned-cart/assets/images/ac_tab_icon.png') !important;" class="icon32"><br>
|
1916 |
</div>
|
1917 |
<h2 class="nav-tab-wrapper woo-nav-tab-wrapper">
|
1918 |
-
<a href="admin.php?page=woocommerce_ac_page&action=listcart" class="nav-tab <?php if (isset($active_listcart)) echo $active_listcart; ?>"> <?php _e( 'Abandoned Orders', 'woocommerce-
|
1919 |
-
<a href="admin.php?page=woocommerce_ac_page&action=emailtemplates" class="nav-tab <?php if (isset($active_emailtemplates)) echo $active_emailtemplates; ?>"> <?php _e( 'Email Templates', 'woocommerce-
|
1920 |
-
<a href="admin.php?page=woocommerce_ac_page&action=emailsettings" class="nav-tab <?php if (isset($active_settings)) echo $active_settings; ?>"> <?php _e( 'Settings', 'woocommerce-
|
1921 |
-
<a href="admin.php?page=woocommerce_ac_page&action=stats" class="nav-tab <?php if (isset($active_stats)) echo $active_stats; ?>"> <?php _e( 'Recovered Orders', 'woocommerce-
|
1922 |
-
<a href="admin.php?page=woocommerce_ac_page&action=report" class="nav-tab <?php if( isset( $active_report ) ) echo $active_report; ?>"> <?php _e( 'Product Report', 'woocommerce-
|
1923 |
</h2>
|
1924 |
<?php
|
1925 |
}
|
@@ -2014,11 +2019,11 @@ if( !class_exists( 'woocommerce_abandon_cart_lite' ) ) {
|
|
2014 |
global $wpdb;
|
2015 |
// Check the user capabilities
|
2016 |
if ( !current_user_can( 'manage_woocommerce' ) ) {
|
2017 |
-
wp_die( __( 'You do not have sufficient permissions to access this page.', 'woocommerce-
|
2018 |
}
|
2019 |
?>
|
2020 |
<div class="wrap">
|
2021 |
-
<h2><?php _e( 'WooCommerce - Abandon Cart Lite', 'woocommerce-
|
2022 |
<?php
|
2023 |
|
2024 |
if ( isset( $_GET['action'] ) ) {
|
@@ -2066,18 +2071,18 @@ if( !class_exists( 'woocommerce_abandon_cart_lite' ) ) {
|
|
2066 |
|
2067 |
if ( isset( $_GET['wcal_deleted'] ) && 'YES' == $_GET['wcal_deleted'] ) { ?>
|
2068 |
<div id="message" class="updated fade">
|
2069 |
-
<p><strong><?php _e( 'The Abandoned cart has been successfully deleted.', 'woocommerce-
|
2070 |
</div>
|
2071 |
<?php }
|
2072 |
if ( isset( $_GET ['wcal_template_deleted'] ) && 'YES' == $_GET['wcal_template_deleted'] ) { ?>
|
2073 |
<div id="message" class="updated fade">
|
2074 |
-
<p><strong><?php _e( 'The Template has been successfully deleted.', 'woocommerce-
|
2075 |
</div>
|
2076 |
<?php }
|
2077 |
if ( $action == 'emailsettings' ) {
|
2078 |
// Save the field values
|
2079 |
?>
|
2080 |
-
<p><?php _e( 'Change settings for sending email notifications to Customers, to Admin etc.', 'woocommerce-
|
2081 |
<div id="content">
|
2082 |
<?php
|
2083 |
$wcal_general_settings_class = $wcal_email_setting = "";
|
@@ -2096,10 +2101,10 @@ if( !class_exists( 'woocommerce_abandon_cart_lite' ) ) {
|
|
2096 |
?>
|
2097 |
<ul class="subsubsub" id="wcal_general_settings_list">
|
2098 |
<li>
|
2099 |
-
<a href="admin.php?page=woocommerce_ac_page&action=emailsettings&wcal_section=wcal_general_settings" class="<?php echo $wcal_general_settings_class; ?>"><?php _e( 'General Settings', 'woocommerce-
|
2100 |
</li>
|
2101 |
<li>
|
2102 |
-
<a href="admin.php?page=woocommerce_ac_page&action=emailsettings&wcal_section=wcal_email_settings" class="<?php echo $wcal_email_setting; ?>"><?php _e( 'Email Sending Settings', 'woocommerce-
|
2103 |
</li>
|
2104 |
|
2105 |
</ul>
|
@@ -2129,7 +2134,7 @@ if( !class_exists( 'woocommerce_abandon_cart_lite' ) ) {
|
|
2129 |
<?php
|
2130 |
} elseif ( $action == 'listcart' || '' == $action || '-1' == $action || '-1' == $action_two ) {
|
2131 |
?>
|
2132 |
-
<p> <?php _e( 'The list below shows all Abandoned Carts which have remained in cart for a time higher than the "Cart abandoned cut-off time" setting.', 'woocommerce-
|
2133 |
<?php
|
2134 |
$get_all_abandoned_count = wcal_common::wcal_get_abandoned_order_count( 'wcal_all_abandoned' );
|
2135 |
$get_registered_user_ac_count = wcal_common::wcal_get_abandoned_order_count( 'wcal_all_registered' );
|
@@ -2171,24 +2176,24 @@ if( !class_exists( 'woocommerce_abandon_cart_lite' ) ) {
|
|
2171 |
?>
|
2172 |
<ul class="subsubsub" id="wcal_recovered_orders_list">
|
2173 |
<li>
|
2174 |
-
<a href="admin.php?page=woocommerce_ac_page&action=listcart&wcal_section=wcal_all_abandoned" class="<?php echo $wcal_all_abandoned_carts; ?>"><?php _e( "All ", 'woocommerce-
|
2175 |
</li>
|
2176 |
|
2177 |
<?php if ($get_registered_user_ac_count > 0 ) { ?>
|
2178 |
<li>
|
2179 |
-
| <a href="admin.php?page=woocommerce_ac_page&action=listcart&wcal_section=wcal_all_registered" class="<?php echo $wcal_all_registered; ?>"><?php
|
2180 |
</li>
|
2181 |
<?php } ?>
|
2182 |
|
2183 |
<?php if ($get_guest_user_ac_count > 0 ) { ?>
|
2184 |
<li>
|
2185 |
-
| <a href="admin.php?page=woocommerce_ac_page&action=listcart&wcal_section=wcal_all_guest" class="<?php echo $wcal_all_guest; ?>"><?php
|
2186 |
</li>
|
2187 |
<?php } ?>
|
2188 |
|
2189 |
<?php if ($get_visitor_user_ac_count > 0 ) { ?>
|
2190 |
<li>
|
2191 |
-
| <a href="admin.php?page=woocommerce_ac_page&action=listcart&wcal_section=wcal_all_visitor" class="<?php echo $wcal_all_visitor; ?>"><?php _e( "
|
2192 |
</li>
|
2193 |
<?php } ?>
|
2194 |
</ul>
|
@@ -2209,7 +2214,7 @@ if( !class_exists( 'woocommerce_abandon_cart_lite' ) ) {
|
|
2209 |
<?php
|
2210 |
} elseif ( $action == 'emailtemplates' && ( $mode != 'edittemplate' && $mode != 'addnewtemplate' ) ) {
|
2211 |
?>
|
2212 |
-
<p> <?php _e( 'Add email templates at different intervals to maximize the possibility of recovering your abandoned carts.', 'woocommerce-
|
2213 |
<?php
|
2214 |
// Save the field values
|
2215 |
$insert_template_successfuly = $update_template_successfuly = '';
|
@@ -2327,7 +2332,7 @@ if( !class_exists( 'woocommerce_abandon_cart_lite' ) ) {
|
|
2327 |
<div id="message" class="updated fade">
|
2328 |
<p>
|
2329 |
<strong>
|
2330 |
-
<?php _e( 'The Email Template has been successfully added.', 'woocommerce-
|
2331 |
</strong>
|
2332 |
</p>
|
2333 |
</div>
|
@@ -2336,7 +2341,7 @@ if( !class_exists( 'woocommerce_abandon_cart_lite' ) ) {
|
|
2336 |
<div id="message" class="error fade">
|
2337 |
<p>
|
2338 |
<strong>
|
2339 |
-
<?php _e( '
|
2340 |
</strong>
|
2341 |
</p>
|
2342 |
</div>
|
@@ -2347,7 +2352,7 @@ if( !class_exists( 'woocommerce_abandon_cart_lite' ) ) {
|
|
2347 |
<div id="message" class="updated fade">
|
2348 |
<p>
|
2349 |
<strong>
|
2350 |
-
<?php _e( 'The Email Template has been successfully updated.', 'woocommerce-
|
2351 |
</strong>
|
2352 |
</p>
|
2353 |
</div>
|
@@ -2356,7 +2361,7 @@ if( !class_exists( 'woocommerce_abandon_cart_lite' ) ) {
|
|
2356 |
<div id="message" class="error fade">
|
2357 |
<p>
|
2358 |
<strong>
|
2359 |
-
<?php _e( '
|
2360 |
</strong>
|
2361 |
</p>
|
2362 |
</div>
|
@@ -2365,7 +2370,7 @@ if( !class_exists( 'woocommerce_abandon_cart_lite' ) ) {
|
|
2365 |
?>
|
2366 |
<div class="tablenav">
|
2367 |
<p style="float:left;">
|
2368 |
-
<a cursor: pointer; href="<?php echo "admin.php?page=woocommerce_ac_page&action=emailtemplates&mode=addnewtemplate"; ?>" class="button-secondary"><?php _e( 'Add New Template', 'woocommerce-
|
2369 |
</a>
|
2370 |
</p>
|
2371 |
|
@@ -2442,7 +2447,7 @@ if( !class_exists( 'woocommerce_abandon_cart_lite' ) ) {
|
|
2442 |
}
|
2443 |
if ($duration_range == "") $duration_range = "last_seven";
|
2444 |
|
2445 |
-
_e( 'The Report below shows how many Abandoned Carts we were able to recover for you by sending automatic emails to
|
2446 |
?>
|
2447 |
<div id="recovered_stats" class="postbox" style="display:block">
|
2448 |
<div class="inside">
|
@@ -2491,35 +2496,35 @@ if( !class_exists( 'woocommerce_abandon_cart_lite' ) ) {
|
|
2491 |
$end_date_range = $date_sett['end_date'];
|
2492 |
}
|
2493 |
?>
|
2494 |
-
<label class="start_label" for="start_day"> <?php _e( 'Start Date:', 'woocommerce-
|
2495 |
<input type="text" id="start_date" name="start_date" readonly="readonly" value="<?php echo $start_date_range; ?>"/>
|
2496 |
-
<label class="end_label" for="end_day"> <?php _e( 'End Date:', 'woocommerce-
|
2497 |
<input type="text" id="end_date" name="end_date" readonly="readonly" value="<?php echo $end_date_range; ?>"/>
|
2498 |
-
<input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e( 'Go', 'woocommerce-
|
2499 |
</form>
|
2500 |
</div>
|
2501 |
</div>
|
2502 |
<div id="recovered_stats" class="postbox" style="display:block">
|
2503 |
<div class="inside" >
|
2504 |
-
<p style="font-size: 15px"><?php
|
2505 |
<strong>
|
2506 |
<?php $count = $wcal_recover_orders_list->total_abandoned_cart_count;
|
2507 |
echo $count; ?>
|
2508 |
</strong>
|
2509 |
-
<?php _e( 'carts totaling', 'woocommerce-
|
2510 |
<strong>
|
2511 |
<?php $total_of_all_order = $wcal_recover_orders_list->total_order_amount;
|
2512 |
|
2513 |
echo $total_of_all_order; ?>
|
2514 |
</strong>
|
2515 |
-
<?php _e( ' were abandoned. We were able to recover', 'woocommerce-
|
2516 |
<strong>
|
2517 |
<?php
|
2518 |
$recovered_item = $wcal_recover_orders_list->recovered_item;
|
2519 |
|
2520 |
echo $recovered_item; ?>
|
2521 |
</strong>
|
2522 |
-
<?php _e( ' of them, which led to an extra', 'woocommerce-
|
2523 |
<strong>
|
2524 |
<?php
|
2525 |
$recovered_total = $wcal_recover_orders_list->total_recover_amount;
|
@@ -2542,15 +2547,15 @@ if( !class_exists( 'woocommerce_abandon_cart_lite' ) ) {
|
|
2542 |
?>
|
2543 |
<p> </p>
|
2544 |
<div id="ac_order_details" class="postbox" style="display:block">
|
2545 |
-
<h3> <p> <?php
|
2546 |
<div class="inside">
|
2547 |
<table cellpadding="0" cellspacing="0" class="wp-list-table widefat fixed posts">
|
2548 |
<tr>
|
2549 |
-
<th> <?php _e( 'Item', 'woocommerce-
|
2550 |
-
<th> <?php _e( 'Name', 'woocommerce-
|
2551 |
-
<th> <?php _e( 'Quantity', 'woocommerce-
|
2552 |
-
<th> <?php _e( 'Line Subtotal', 'woocommerce-
|
2553 |
-
<th> <?php _e( 'Line Total', 'woocommerce-
|
2554 |
</tr>
|
2555 |
<?php
|
2556 |
$query = "SELECT * FROM `".$wpdb->prefix."ac_abandoned_cart_history_lite` WHERE id = %d ";
|
@@ -2791,15 +2796,15 @@ if( !class_exists( 'woocommerce_abandon_cart_lite' ) ) {
|
|
2791 |
</div>
|
2792 |
</div>
|
2793 |
<div id="ac_order_customer_details" class="postbox" style="display:block">
|
2794 |
-
<h3> <p> <?php _e( 'Customer Details' , 'woocommerce-
|
2795 |
<div class="inside" style="height: 300px;" >
|
2796 |
<div id="order_data" class="panel">
|
2797 |
<div style="width:50%;float:left">
|
2798 |
-
<h3> <p> <?php _e( 'Billing Details' , 'woocommerce-
|
2799 |
-
<p> <strong> <?php _e( 'Name:' , 'woocommerce-
|
2800 |
<?php echo $user_first_name." ".$user_last_name;?>
|
2801 |
</p>
|
2802 |
-
<p> <strong> <?php _e( 'Address:' , 'woocommerce-
|
2803 |
<?php echo $user_billing_company."</br>".
|
2804 |
$user_billing_address_1."</br>".
|
2805 |
$user_billing_address_2."</br>".
|
@@ -2809,17 +2814,17 @@ if( !class_exists( 'woocommerce_abandon_cart_lite' ) ) {
|
|
2809 |
$user_billing_country."</br>";
|
2810 |
?>
|
2811 |
</p>
|
2812 |
-
<p> <strong> <?php _e( 'Email:', 'woocommerce-
|
2813 |
<?php $user_mail_to = "mailto:".$user_email; ?>
|
2814 |
<a href=<?php echo $user_mail_to;?>><?php echo $user_email;?> </a>
|
2815 |
</p>
|
2816 |
-
<p> <strong> <?php _e( 'Phone:', 'woocommerce-
|
2817 |
<?php echo $user_billing_phone;?>
|
2818 |
</p>
|
2819 |
</div>
|
2820 |
<div style="width:50%;float:right">
|
2821 |
-
<h3> <p> <?php _e( 'Shipping Details', 'woocommerce-
|
2822 |
-
<p> <strong> <?php _e( 'Address:', 'woocommerce-
|
2823 |
<?php
|
2824 |
if ( $user_shipping_company == '' &&
|
2825 |
$user_shipping_address_1 == '' &&
|
@@ -2901,12 +2906,12 @@ if( !class_exists( 'woocommerce_abandon_cart_lite' ) ) {
|
|
2901 |
print'<input type="hidden" name="ac_settings_frm" value="'.$button_mode.'">';?>
|
2902 |
<div id="poststuff">
|
2903 |
<div> <!-- <div class="postbox" > -->
|
2904 |
-
<h3 class="hndle"><?php _e( $display_message, 'woocommerce-
|
2905 |
<div>
|
2906 |
<table class="form-table" id="addedit_template">
|
2907 |
<tr>
|
2908 |
<th>
|
2909 |
-
<label for="woocommerce_ac_template_name"><b><?php _e( 'Template Name:', 'woocommerce-
|
2910 |
</th>
|
2911 |
<td>
|
2912 |
<?php
|
@@ -2915,13 +2920,13 @@ if( !class_exists( 'woocommerce_abandon_cart_lite' ) ) {
|
|
2915 |
$template_name = $results[0]->template_name;
|
2916 |
}
|
2917 |
print'<input type="text" name="woocommerce_ac_template_name" id="woocommerce_ac_template_name" class="regular-text" value="'.$template_name.'">';?>
|
2918 |
-
<img class="help_tip" width="16" height="16" data-tip='<?php _e('Enter a template name for reference', 'woocommerce-
|
2919 |
</td>
|
2920 |
</tr>
|
2921 |
|
2922 |
<tr>
|
2923 |
<th>
|
2924 |
-
<label for="woocommerce_ac_email_subject"><b><?php _e( 'Subject:', 'woocommerce-
|
2925 |
</th>
|
2926 |
<td>
|
2927 |
<?php
|
@@ -2930,13 +2935,13 @@ if( !class_exists( 'woocommerce_abandon_cart_lite' ) ) {
|
|
2930 |
$subject_edit= stripslashes ( $results[0]->subject );
|
2931 |
}
|
2932 |
print'<input type="text" name="woocommerce_ac_email_subject" id="woocommerce_ac_email_subject" class="regular-text" value="'.$subject_edit.'">';?>
|
2933 |
-
<img class="help_tip" width="16" height="16" data-tip='<?php _e('Enter the subject that should appear in the email sent', 'woocommerce-
|
2934 |
</td>
|
2935 |
</tr>
|
2936 |
|
2937 |
<tr>
|
2938 |
<th>
|
2939 |
-
<label for="woocommerce_ac_email_body"><b><?php _e( 'Email Body:', 'woocommerce-
|
2940 |
</th>
|
2941 |
<td>
|
2942 |
<?php
|
@@ -2962,14 +2967,14 @@ if( !class_exists( 'woocommerce_abandon_cart_lite' ) ) {
|
|
2962 |
?>
|
2963 |
<?php echo stripslashes( get_option( 'woocommerce_ac_email_body' ) ); ?>
|
2964 |
<span class="description"><?php
|
2965 |
-
|
2966 |
?></span>
|
2967 |
</td>
|
2968 |
</tr>
|
2969 |
|
2970 |
<tr>
|
2971 |
<th>
|
2972 |
-
<label for="is_wc_template"><b><?php _e( 'Use WooCommerce Template Style:', 'woocommerce-
|
2973 |
</th>
|
2974 |
<td>
|
2975 |
<?php
|
@@ -2984,14 +2989,14 @@ if( !class_exists( 'woocommerce_abandon_cart_lite' ) ) {
|
|
2984 |
}
|
2985 |
}
|
2986 |
print'<input type="checkbox" name="is_wc_template" id="is_wc_template" ' . $is_wc_template . '> </input>'; ?>
|
2987 |
-
<img class="help_tip" width="16" height="16" data-tip='<?php _e( 'Use WooCommerce default style template for abandoned cart reminder emails.', 'woocommerce' ) ?>' src="<?php echo plugins_url(); ?>/woocommerce/assets/images/help.png" /> <a target = '_blank' href= <?php echo wp_nonce_url( admin_url( '?wcal_preview_woocommerce_mail=true' ), 'woocommerce-
|
2988 |
-
Click here to preview </a>how the email template will look with WooCommerce Template Style enabled. Alternatively, if this is unchecked, the template will appear as <a target = '_blank' href=<?php echo wp_nonce_url( admin_url( '?wcal_preview_mail=true' ), 'woocommerce-
|
2989 |
</td>
|
2990 |
</tr>
|
2991 |
|
2992 |
<tr>
|
2993 |
<th>
|
2994 |
-
<label for="wcal_wc_email_header"><b><?php _e( 'Email Template Header Text: ', 'woocommerce-
|
2995 |
</th>
|
2996 |
<td>
|
2997 |
|
@@ -3005,13 +3010,13 @@ if( !class_exists( 'woocommerce_abandon_cart_lite' ) ) {
|
|
3005 |
$wcal_wc_email_header = "Abandoned cart reminder";
|
3006 |
}
|
3007 |
print'<input type="text" name="wcal_wc_email_header" id="wcal_wc_email_header" class="regular-text" value="' . $wcal_wc_email_header . '">'; ?>
|
3008 |
-
<img class="help_tip" width="16" height="16" data-tip='<?php _e( 'Enter the header which will appear in the abandoned WooCommerce email sent. This is only applicable when only used when "Use WooCommerce Template Style:" is checked.', 'woocommerce-
|
3009 |
</td>
|
3010 |
</tr>
|
3011 |
|
3012 |
<tr>
|
3013 |
<th>
|
3014 |
-
<label for="woocommerce_ac_email_frequency"><b><?php _e( 'Send this email:', 'woocommerce-
|
3015 |
</th>
|
3016 |
<td>
|
3017 |
<select name="email_frequency" id="email_frequency">
|
@@ -3052,19 +3057,19 @@ if( !class_exists( 'woocommerce_abandon_cart_lite' ) ) {
|
|
3052 |
?>
|
3053 |
</select>
|
3054 |
<span class="description">
|
3055 |
-
<?php
|
3056 |
</span>
|
3057 |
</td>
|
3058 |
</tr>
|
3059 |
|
3060 |
<tr>
|
3061 |
<th>
|
3062 |
-
<label for="woocommerce_ac_email_preview"><b><?php _e( 'Send a test email to:', 'woocommerce-
|
3063 |
</th>
|
3064 |
<td>
|
3065 |
<input type="text" id="send_test_email" name="send_test_email" class="regular-text" >
|
3066 |
<input type="button" value="Send a test email" id="preview_email" onclick="javascript:void(0);">
|
3067 |
-
<img class="help_tip" width="16" height="16" data-tip='<?php _e('Enter the email id to which the test email needs to be sent.', 'woocommerce-
|
3068 |
<div id="preview_email_sent_msg" style="display:none;"></div>
|
3069 |
</td>
|
3070 |
</tr>
|
@@ -3079,7 +3084,7 @@ if( !class_exists( 'woocommerce_abandon_cart_lite' ) ) {
|
|
3079 |
{
|
3080 |
$button_value = "Update Changes";
|
3081 |
}?>
|
3082 |
-
<input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e( $button_value, 'woocommerce-
|
3083 |
</p>
|
3084 |
</form>
|
3085 |
</div>
|
@@ -3091,7 +3096,7 @@ if( !class_exists( 'woocommerce_abandon_cart_lite' ) ) {
|
|
3091 |
|
3092 |
if ( isset( $_GET[ 'page' ] ) && $_GET[ 'page' ] === 'woocommerce_ac_page' ) {
|
3093 |
$footer_text = sprintf( __( 'If you love <strong>Abandoned Cart Lite for WooCommerce</strong>, then please leave us a <a href="https://wordpress.org/support/plugin/woocommerce-abandoned-cart/reviews/?rate=5#new-post" target="_blank" class="ac-rating-link" data-rated="Thanks :)">★★★★★</a>
|
3094 |
-
rating. Thank you in advance. :)', 'woocommerce-
|
3095 |
wc_enqueue_js( "
|
3096 |
jQuery( 'a.ac-rating-link' ).click( function() {
|
3097 |
jQuery( this ).parent().text( jQuery( this ).data( 'rated' ) );
|
@@ -3230,24 +3235,24 @@ if( !class_exists( 'woocommerce_abandon_cart_lite' ) ) {
|
|
3230 |
$headers .= "Content-Type: text/plain" . "\r\n";
|
3231 |
$headers .= "Reply-To: " . $reply_name_preview . " " . "\r\n";
|
3232 |
$var = '<table width = 100%>
|
3233 |
-
<tr> <td colspan="5"> <h3>'.__(
|
3234 |
<tr align="center">
|
3235 |
-
<th>'.__(
|
3236 |
-
<th>'.__(
|
3237 |
-
<th>'.__(
|
3238 |
-
<th>'.__(
|
3239 |
-
<th>'.__(
|
3240 |
</tr>
|
3241 |
<tr align="center">
|
3242 |
<td><img class="demo_img" width="42" height="42" src="'.plugins_url().'/woocommerce-abandoned-cart/assets/images/shoes.jpg"/></td>
|
3243 |
-
<td>'.__( "Men\'\s Formal Shoes",
|
3244 |
<td>1</td>
|
3245 |
<td>' . $wcal_price . '</td>
|
3246 |
<td>' . $wcal_price . '</td>
|
3247 |
</tr>
|
3248 |
<tr align="center">
|
3249 |
<td><img class="demo_img" width="42" height="42" src="'.plugins_url().'/woocommerce-abandoned-cart/assets/images/handbag.jpg"/></td>
|
3250 |
-
<td>'.__( "Woman\'\s Hand Bags",
|
3251 |
<td>1</td>
|
3252 |
<td>' . $wcal_price . '</td>
|
3253 |
<td>' . $wcal_price . '</td>
|
@@ -3256,7 +3261,7 @@ if( !class_exists( 'woocommerce_abandon_cart_lite' ) ) {
|
|
3256 |
<td></td>
|
3257 |
<td></td>
|
3258 |
<td></td>
|
3259 |
-
<td>'.__( "Cart Total:",
|
3260 |
<td>' . $wcal_total_price . '</td>
|
3261 |
</tr>
|
3262 |
</table>';
|
@@ -3264,25 +3269,25 @@ if( !class_exists( 'woocommerce_abandon_cart_lite' ) ) {
|
|
3264 |
$headers = "From: " . $from_email_name . " <" . $from_email_preview . ">" . "\r\n";
|
3265 |
$headers .= "Content-Type: text/html" . "\r\n";
|
3266 |
$headers .= "Reply-To: " . $reply_name_preview . " " . "\r\n";
|
3267 |
-
$var = '<h3>'.__( "Your Shopping Cart",
|
3268 |
<table border="0" cellpadding="10" cellspacing="0" class="templateDataTable">
|
3269 |
<tr align="center">
|
3270 |
-
<th>'.__( "Item",
|
3271 |
-
<th>'.__( "Name",
|
3272 |
-
<th>'.__( "Quantity",
|
3273 |
-
<th>'.__( "Price",
|
3274 |
-
<th>'.__( "Line Subtotal",
|
3275 |
</tr>
|
3276 |
<tr align="center">
|
3277 |
<td><img class="demo_img" width="42" height="42" src="'.plugins_url().'/woocommerce-abandoned-cart/assets/images/shoes.jpg"/></td>
|
3278 |
-
<td>'.__( "Men\'\s Formal Shoes",
|
3279 |
<td>1</td>
|
3280 |
<td>' . $wcal_price . '</td>
|
3281 |
<td>' . $wcal_price . '</td>
|
3282 |
</tr>
|
3283 |
<tr align="center">
|
3284 |
<td><img class="demo_img" width="42" height="42" src="'.plugins_url().'/woocommerce-abandoned-cart/assets/images/handbag.jpg"/></td>
|
3285 |
-
<td>'.__( "Woman\'\s Hand Bags",
|
3286 |
<td>1</td>
|
3287 |
<td>' . $wcal_price . '</td>
|
3288 |
<td>' . $wcal_price . '</td>
|
@@ -3291,7 +3296,7 @@ if( !class_exists( 'woocommerce_abandon_cart_lite' ) ) {
|
|
3291 |
<td></td>
|
3292 |
<td></td>
|
3293 |
<td></td>
|
3294 |
-
<td>'.__( "Cart Total:",
|
3295 |
<td>' . $wcal_total_price . '</td>
|
3296 |
</tr>
|
3297 |
</table>';
|
3 |
* Plugin Name: Abandoned Cart Lite for WooCommerce
|
4 |
* Plugin URI: http://www.tychesoftwares.com/store/premium-plugins/woocommerce-abandoned-cart-pro
|
5 |
* Description: This plugin captures abandoned carts by logged-in users & emails them about it. <strong><a href="http://www.tychesoftwares.com/store/premium-plugins/woocommerce-abandoned-cart-pro">Click here to get the PRO Version.</a></strong>
|
6 |
+
* Version: 4.7
|
7 |
* Author: Tyche Softwares
|
8 |
* Author URI: http://www.tychesoftwares.com/
|
9 |
+
* Text Domain: woocommerce-abandoned-cart
|
10 |
* Domain Path: /i18n/languages/
|
11 |
* Requires PHP: 5.6
|
12 |
* WC requires at least: 3.0.0
|
13 |
+
* WC tested up to: 3.3.1
|
14 |
*/
|
15 |
|
16 |
// Deletion Settings
|
54 |
function wcal_add_tracking_cron_schedule( $schedules ) {
|
55 |
$schedules[ 'daily_once' ] = array(
|
56 |
'interval' => 604800, // one week in seconds
|
57 |
+
'display' => __( 'Once in a Week', 'woocommerce-abandoned-cart' )
|
58 |
);
|
59 |
return $schedules;
|
60 |
}
|
310 |
public static function wcal_wc_disabled_notice() {
|
311 |
|
312 |
$class = 'notice notice-error is-dismissible';
|
313 |
+
$message = __( 'Abandoned Cart Lite for WooCommerce requires WooCommerce installed and activate.', 'woocommerce-abandoned-cart' );
|
314 |
|
315 |
printf( '<div class="%1$s"><p>%2$s</p></div>', $class, $message );
|
316 |
}
|
541 |
$query_order = "UPDATE $wcal_ac_table_name SET recovered_cart = '" . $order_id . "', cart_ignored = '1' WHERE id = '".$get_abandoned_id_of_order."' ";
|
542 |
$wpdb->query( $query_order );
|
543 |
|
544 |
+
$order->add_order_note( __( 'This order was abandoned & subsequently recovered.', 'woocommerce-abandoned-cart' ) );
|
545 |
|
546 |
delete_post_meta( $order_id, 'wcal_recover_order_placed', $get_abandoned_id_of_order );
|
547 |
delete_post_meta( $order_id , 'wcal_recover_order_placed_sent_id', $get_sent_email_id_of_order );
|
581 |
public function wcal_preview_emails() {
|
582 |
global $woocommerce;
|
583 |
if( isset( $_GET['wcal_preview_woocommerce_mail'] ) ) {
|
584 |
+
if( !wp_verify_nonce( $_REQUEST['_wpnonce'], 'woocommerce-abandoned-cart' ) ) {
|
585 |
die( 'Security check' );
|
586 |
}
|
587 |
$message = '';
|
593 |
include( 'views/wcal-wc-email-template-preview.php' );
|
594 |
$mailer = WC()->mailer();
|
595 |
$message = ob_get_clean();
|
596 |
+
$email_heading = __( 'HTML Email Template', 'woocommerce-abandoned-cart' );
|
597 |
$message = $mailer->wrap_message( $email_heading, $message );
|
598 |
} else {
|
599 |
// load the mailer class
|
600 |
$mailer = WC()->mailer();
|
601 |
// get the preview email subject
|
602 |
+
$email_heading = __( 'Abandoned cart Email Template', 'woocommerce-abandoned-cart' );
|
603 |
// get the preview email content
|
604 |
ob_start();
|
605 |
include( 'views/wcal-wc-email-template-preview.php' );
|
614 |
}
|
615 |
|
616 |
if ( isset( $_GET['wcal_preview_mail'] ) ) {
|
617 |
+
if ( ! wp_verify_nonce( $_REQUEST['_wpnonce'], 'woocommerce-abandoned-cart' ) ) {
|
618 |
die( 'Security check' );
|
619 |
}
|
620 |
// get the preview email content
|
629 |
|
630 |
// Language Translation
|
631 |
function wcal_update_po_file() {
|
632 |
+
/*
|
633 |
+
* Due to the introduction of language packs through translate.wordpress.org, loading our textdomain is complex.
|
634 |
+
*
|
635 |
+
* In v4.7, our textdomain changed from "woocommerce-ac" to "woocommerce-abandoned-cart".
|
636 |
+
*/
|
637 |
+
$domain = 'woocommerce-abandoned-cart';
|
638 |
$locale = apply_filters( 'plugin_locale', get_locale(), $domain );
|
639 |
if ( $loaded = load_textdomain( $domain, trailingslashit( WP_LANG_DIR ) . $domain . '-' . $locale . '.mo' ) ) {
|
640 |
return $loaded;
|
785 |
// First, we register a section. This is necessary since all future options must belong to a
|
786 |
add_settings_section(
|
787 |
'ac_lite_general_settings_section', // ID used to identify this section and with which to register options
|
788 |
+
__( 'Settings', 'woocommerce-abandoned-cart' ), // Title to be displayed on the administration page
|
789 |
array($this, 'ac_lite_general_options_callback' ), // Callback used to render the description of the section
|
790 |
'woocommerce_ac_page' // Page on which to add this section of options
|
791 |
);
|
792 |
|
793 |
add_settings_field(
|
794 |
'ac_lite_cart_abandoned_time',
|
795 |
+
__( 'Cart abandoned cut-off time', 'woocommerce-abandoned-cart' ),
|
796 |
array( $this, 'ac_lite_cart_abandoned_time_callback' ),
|
797 |
'woocommerce_ac_page',
|
798 |
'ac_lite_general_settings_section',
|
799 |
+
array( __( 'Consider cart abandoned after X minutes of item being added to cart & order not placed.', 'woocommerce-abandoned-cart' ) )
|
800 |
);
|
801 |
|
802 |
add_settings_field(
|
803 |
'ac_lite_email_admin_on_recovery',
|
804 |
+
__( 'Email admin On Order Recovery', 'woocommerce-abandoned-cart' ),
|
805 |
array( $this, 'ac_lite_email_admin_on_recovery' ),
|
806 |
'woocommerce_ac_page',
|
807 |
'ac_lite_general_settings_section',
|
808 |
+
array( __( 'Sends email to Admin if an Abandoned Cart Order is recovered.', 'woocommerce-abandoned-cart' ) )
|
809 |
);
|
810 |
|
811 |
add_settings_field(
|
812 |
'ac_lite_track_guest_cart_from_cart_page',
|
813 |
+
__( 'Start tracking from Cart Page', 'woocommerce-abandoned-cart' ),
|
814 |
array( $this, 'wcal_track_guest_cart_from_cart_page_callback' ),
|
815 |
'woocommerce_ac_page',
|
816 |
'ac_lite_general_settings_section',
|
817 |
+
array( __( 'Enable tracking of abandoned products & carts even if customer does not visit the checkout page or does not enter any details on the checkout page like Name or Email. Tracking will begin as soon as a visitor adds a product to their cart and visits the cart page.', 'woocommerce-abandoned-cart' ) )
|
818 |
);
|
819 |
/*
|
820 |
* New section for the Adding the abandoned cart setting.
|
823 |
|
824 |
add_settings_section(
|
825 |
'ac_email_settings_section', // ID used to identify this section and with which to register options
|
826 |
+
__( 'Settings for abandoned cart recovery emails', 'woocommerce-abandoned-cart' ), // Title to be displayed on the administration page
|
827 |
array($this, 'wcal_email_callback' ),// Callback used to render the description of the section
|
828 |
'woocommerce_ac_email_page' // Page on which to add this section of options
|
829 |
);
|
830 |
|
831 |
add_settings_field(
|
832 |
'wcal_from_name',
|
833 |
+
__( '"From" Name', 'woocommerce-abandoned-cart' ),
|
834 |
array( $this, 'wcal_from_name_callback' ),
|
835 |
'woocommerce_ac_email_page',
|
836 |
'ac_email_settings_section',
|
837 |
+
array( 'Enter the name that should appear in the email sent.', 'woocommerce-abandoned-cart' )
|
838 |
);
|
839 |
|
840 |
add_settings_field(
|
841 |
'wcal_from_email',
|
842 |
+
__( '"From" Address', 'woocommerce-abandoned-cart' ),
|
843 |
array( $this, 'wcal_from_email_callback' ),
|
844 |
'woocommerce_ac_email_page',
|
845 |
'ac_email_settings_section',
|
846 |
+
array( 'Email address from which the reminder emails should be sent.', 'woocommerce-abandoned-cart' )
|
847 |
);
|
848 |
|
849 |
add_settings_field(
|
850 |
'wcal_reply_email',
|
851 |
+
__( 'Send Reply Emails to', 'woocommerce-abandoned-cart' ),
|
852 |
array( $this, 'wcal_reply_email_callback' ),
|
853 |
'woocommerce_ac_email_page',
|
854 |
'ac_email_settings_section',
|
855 |
+
array( 'When a contact receives your email and clicks reply, which email address should that reply be sent to?', 'woocommerce-abandoned-cart' )
|
856 |
);
|
857 |
|
858 |
// Finally, we register the fields with WordPress
|
918 |
if ( $input != '' && ( is_numeric( $input) && $input > 0 ) ) {
|
919 |
$output = stripslashes( $input) ;
|
920 |
} else {
|
921 |
+
add_settings_error( 'ac_lite_cart_abandoned_time', 'error found', __( 'Abandoned cart cut off time should be numeric and has to be greater than 0.', 'woocommerce-abandoned-cart' ) );
|
922 |
}
|
923 |
return $output;
|
924 |
}
|
1182 |
|
1183 |
if ( 'checkout' == $created_via && 'yes' != $recovered_email_sent && true === $wcal_check_order_is_recovered ) { // indicates cart is abandoned
|
1184 |
$order = new WC_Order( $order_id );
|
1185 |
+
$email_heading = __( 'New Customer Order - Recovered', 'woocommerce-abandoned-cart' );
|
1186 |
$blogname = wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES );
|
1187 |
+
$email_subject = __( 'New Customer Order - Recovered', 'woocommerce-abandoned-cart' );
|
1188 |
$user_email = get_option( 'admin_email' );
|
1189 |
$headers[] = "From: Admin <".$user_email.">";
|
1190 |
$headers[] = "Content-Type: text/html";
|
1229 |
$created_via = get_post_meta( $order_id, '_created_via', true );
|
1230 |
$wcal_check_order_is_recovered = woocommerce_abandon_cart_lite::wcal_check_order_is_recovered( $order_id );
|
1231 |
if ( 'checkout' == $created_via && 'yes' != $recovered_email_sent && true === $wcal_check_order_is_recovered ) { // indicates cart is abandoned
|
1232 |
+
$email_heading = __( 'New Customer Order - Recovered', 'woocommerce-abandoned-cart' );
|
1233 |
$blogname = wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES );
|
1234 |
+
$email_subject = __( 'New Customer Order - Recovered', 'woocommerce-abandoned-cart' );
|
1235 |
$user_email = get_option( 'admin_email' );
|
1236 |
$headers[] = "From: Admin <".$user_email.">";
|
1237 |
$headers[] = "Content-Type: text/html";
|
1268 |
|
1269 |
// Add a submenu page.
|
1270 |
function wcal_admin_menu() {
|
1271 |
+
$page = add_submenu_page ( 'woocommerce', __( 'Abandoned Carts', 'woocommerce-abandoned-cart' ), __( 'Abandoned Carts', 'woocommerce-abandoned-cart' ), 'manage_woocommerce', 'woocommerce_ac_page', array( &$this, 'wcal_menu_page' ) );
|
1272 |
}
|
1273 |
|
1274 |
// Capture the cart and insert the information of the cart into DataBase
|
1763 |
WHERE id = '".$get_abandoned_id_of_order."' ";
|
1764 |
$wpdb->query( $query_order );
|
1765 |
|
1766 |
+
$order->add_order_note( __( 'This order was abandoned & subsequently recovered.', 'woocommerce-abandoned-cart' ) );
|
1767 |
|
1768 |
delete_post_meta( $order_id, 'wcal_recover_order_placed', $get_abandoned_id_of_order );
|
1769 |
delete_post_meta( $order_id , 'wcal_recover_order_placed_sent_id', $get_sent_email_id_of_order );
|
1920 |
<div style="background-image: url('<?php echo plugins_url(); ?>/woocommerce-abandoned-cart/assets/images/ac_tab_icon.png') !important;" class="icon32"><br>
|
1921 |
</div>
|
1922 |
<h2 class="nav-tab-wrapper woo-nav-tab-wrapper">
|
1923 |
+
<a href="admin.php?page=woocommerce_ac_page&action=listcart" class="nav-tab <?php if (isset($active_listcart)) echo $active_listcart; ?>"> <?php _e( 'Abandoned Orders', 'woocommerce-abandoned-cart' );?> </a>
|
1924 |
+
<a href="admin.php?page=woocommerce_ac_page&action=emailtemplates" class="nav-tab <?php if (isset($active_emailtemplates)) echo $active_emailtemplates; ?>"> <?php _e( 'Email Templates', 'woocommerce-abandoned-cart' );?> </a>
|
1925 |
+
<a href="admin.php?page=woocommerce_ac_page&action=emailsettings" class="nav-tab <?php if (isset($active_settings)) echo $active_settings; ?>"> <?php _e( 'Settings', 'woocommerce-abandoned-cart' );?> </a>
|
1926 |
+
<a href="admin.php?page=woocommerce_ac_page&action=stats" class="nav-tab <?php if (isset($active_stats)) echo $active_stats; ?>"> <?php _e( 'Recovered Orders', 'woocommerce-abandoned-cart' );?> </a>
|
1927 |
+
<a href="admin.php?page=woocommerce_ac_page&action=report" class="nav-tab <?php if( isset( $active_report ) ) echo $active_report; ?>"> <?php _e( 'Product Report', 'woocommerce-abandoned-cart' );?> </a>
|
1928 |
</h2>
|
1929 |
<?php
|
1930 |
}
|
2019 |
global $wpdb;
|
2020 |
// Check the user capabilities
|
2021 |
if ( !current_user_can( 'manage_woocommerce' ) ) {
|
2022 |
+
wp_die( __( 'You do not have sufficient permissions to access this page.', 'woocommerce-abandoned-cart' ) );
|
2023 |
}
|
2024 |
?>
|
2025 |
<div class="wrap">
|
2026 |
+
<h2><?php _e( 'WooCommerce - Abandon Cart Lite', 'woocommerce-abandoned-cart' ); ?></h2>
|
2027 |
<?php
|
2028 |
|
2029 |
if ( isset( $_GET['action'] ) ) {
|
2071 |
|
2072 |
if ( isset( $_GET['wcal_deleted'] ) && 'YES' == $_GET['wcal_deleted'] ) { ?>
|
2073 |
<div id="message" class="updated fade">
|
2074 |
+
<p><strong><?php _e( 'The Abandoned cart has been successfully deleted.', 'woocommerce-abandoned-cart' ); ?></strong></p>
|
2075 |
</div>
|
2076 |
<?php }
|
2077 |
if ( isset( $_GET ['wcal_template_deleted'] ) && 'YES' == $_GET['wcal_template_deleted'] ) { ?>
|
2078 |
<div id="message" class="updated fade">
|
2079 |
+
<p><strong><?php _e( 'The Template has been successfully deleted.', 'woocommerce-abandoned-cart' ); ?></strong></p>
|
2080 |
</div>
|
2081 |
<?php }
|
2082 |
if ( $action == 'emailsettings' ) {
|
2083 |
// Save the field values
|
2084 |
?>
|
2085 |
+
<p><?php _e( 'Change settings for sending email notifications to Customers, to Admin etc.', 'woocommerce-abandoned-cart' ); ?></p>
|
2086 |
<div id="content">
|
2087 |
<?php
|
2088 |
$wcal_general_settings_class = $wcal_email_setting = "";
|
2101 |
?>
|
2102 |
<ul class="subsubsub" id="wcal_general_settings_list">
|
2103 |
<li>
|
2104 |
+
<a href="admin.php?page=woocommerce_ac_page&action=emailsettings&wcal_section=wcal_general_settings" class="<?php echo $wcal_general_settings_class; ?>"><?php _e( 'General Settings', 'woocommerce-abandoned-cart' );?> </a> |
|
2105 |
</li>
|
2106 |
<li>
|
2107 |
+
<a href="admin.php?page=woocommerce_ac_page&action=emailsettings&wcal_section=wcal_email_settings" class="<?php echo $wcal_email_setting; ?>"><?php _e( 'Email Sending Settings', 'woocommerce-abandoned-cart' );?> </a>
|
2108 |
</li>
|
2109 |
|
2110 |
</ul>
|
2134 |
<?php
|
2135 |
} elseif ( $action == 'listcart' || '' == $action || '-1' == $action || '-1' == $action_two ) {
|
2136 |
?>
|
2137 |
+
<p> <?php _e( 'The list below shows all Abandoned Carts which have remained in cart for a time higher than the "Cart abandoned cut-off time" setting.', 'woocommerce-abandoned-cart' );?> </p>
|
2138 |
<?php
|
2139 |
$get_all_abandoned_count = wcal_common::wcal_get_abandoned_order_count( 'wcal_all_abandoned' );
|
2140 |
$get_registered_user_ac_count = wcal_common::wcal_get_abandoned_order_count( 'wcal_all_registered' );
|
2176 |
?>
|
2177 |
<ul class="subsubsub" id="wcal_recovered_orders_list">
|
2178 |
<li>
|
2179 |
+
<a href="admin.php?page=woocommerce_ac_page&action=listcart&wcal_section=wcal_all_abandoned" class="<?php echo $wcal_all_abandoned_carts; ?>"><?php _e( "All ", 'woocommerce-abandoned-cart' ) ;?> <span class = "count" > <?php echo "( $get_all_abandoned_count )" ?> </span></a>
|
2180 |
</li>
|
2181 |
|
2182 |
<?php if ($get_registered_user_ac_count > 0 ) { ?>
|
2183 |
<li>
|
2184 |
+
| <a href="admin.php?page=woocommerce_ac_page&action=listcart&wcal_section=wcal_all_registered" class="<?php echo $wcal_all_registered; ?>"><?php printf( __( 'Registered %s', 'woocommerce-abandoned-cart' ), $wcal_user_reg_text ); ?> <span class = "count" > <?php echo "( $get_registered_user_ac_count )" ?> </span></a>
|
2185 |
</li>
|
2186 |
<?php } ?>
|
2187 |
|
2188 |
<?php if ($get_guest_user_ac_count > 0 ) { ?>
|
2189 |
<li>
|
2190 |
+
| <a href="admin.php?page=woocommerce_ac_page&action=listcart&wcal_section=wcal_all_guest" class="<?php echo $wcal_all_guest; ?>"><?php printf( __( 'Guest %s', 'woocommerce-abandoned-cart' ), $wcal_user_gus_text ); ?> <span class = "count" > <?php echo "( $get_guest_user_ac_count )" ?> </span></a>
|
2191 |
</li>
|
2192 |
<?php } ?>
|
2193 |
|
2194 |
<?php if ($get_visitor_user_ac_count > 0 ) { ?>
|
2195 |
<li>
|
2196 |
+
| <a href="admin.php?page=woocommerce_ac_page&action=listcart&wcal_section=wcal_all_visitor" class="<?php echo $wcal_all_visitor; ?>"><?php _e( "Carts without Customer Details", 'woocommerce-abandoned-cart' ); ?> <span class = "count" > <?php echo "( $get_visitor_user_ac_count )" ?> </span></a>
|
2197 |
</li>
|
2198 |
<?php } ?>
|
2199 |
</ul>
|
2214 |
<?php
|
2215 |
} elseif ( $action == 'emailtemplates' && ( $mode != 'edittemplate' && $mode != 'addnewtemplate' ) ) {
|
2216 |
?>
|
2217 |
+
<p> <?php _e( 'Add email templates at different intervals to maximize the possibility of recovering your abandoned carts.', 'woocommerce-abandoned-cart' );?> </p>
|
2218 |
<?php
|
2219 |
// Save the field values
|
2220 |
$insert_template_successfuly = $update_template_successfuly = '';
|
2332 |
<div id="message" class="updated fade">
|
2333 |
<p>
|
2334 |
<strong>
|
2335 |
+
<?php _e( 'The Email Template has been successfully added.', 'woocommerce-abandoned-cart' ); ?>
|
2336 |
</strong>
|
2337 |
</p>
|
2338 |
</div>
|
2341 |
<div id="message" class="error fade">
|
2342 |
<p>
|
2343 |
<strong>
|
2344 |
+
<?php _e( 'There was a problem adding the email template. Please contact the plugin author via <a href= "https://wordpress.org/support/plugin/woocommerce-abandoned-cart">support forum</a>.', 'woocommerce-abandoned-cart' ); ?>
|
2345 |
</strong>
|
2346 |
</p>
|
2347 |
</div>
|
2352 |
<div id="message" class="updated fade">
|
2353 |
<p>
|
2354 |
<strong>
|
2355 |
+
<?php _e( 'The Email Template has been successfully updated.', 'woocommerce-abandoned-cart' ); ?>
|
2356 |
</strong>
|
2357 |
</p>
|
2358 |
</div>
|
2361 |
<div id="message" class="error fade">
|
2362 |
<p>
|
2363 |
<strong>
|
2364 |
+
<?php _e( 'There was a problem updating the email template. Please contact the plugin author via <a href= "https://wordpress.org/support/plugin/woocommerce-abandoned-cart">support forum</a>.', 'woocommerce-abandoned-cart' ); ?>
|
2365 |
</strong>
|
2366 |
</p>
|
2367 |
</div>
|
2370 |
?>
|
2371 |
<div class="tablenav">
|
2372 |
<p style="float:left;">
|
2373 |
+
<a cursor: pointer; href="<?php echo "admin.php?page=woocommerce_ac_page&action=emailtemplates&mode=addnewtemplate"; ?>" class="button-secondary"><?php _e( 'Add New Template', 'woocommerce-abandoned-cart' ); ?>
|
2374 |
</a>
|
2375 |
</p>
|
2376 |
|
2447 |
}
|
2448 |
if ($duration_range == "") $duration_range = "last_seven";
|
2449 |
|
2450 |
+
_e( 'The Report below shows how many Abandoned Carts we were able to recover for you by sending automatic emails to encourage shoppers.', 'woocommerce-abandoned-cart');
|
2451 |
?>
|
2452 |
<div id="recovered_stats" class="postbox" style="display:block">
|
2453 |
<div class="inside">
|
2496 |
$end_date_range = $date_sett['end_date'];
|
2497 |
}
|
2498 |
?>
|
2499 |
+
<label class="start_label" for="start_day"> <?php _e( 'Start Date:', 'woocommerce-abandoned-cart' ); ?> </label>
|
2500 |
<input type="text" id="start_date" name="start_date" readonly="readonly" value="<?php echo $start_date_range; ?>"/>
|
2501 |
+
<label class="end_label" for="end_day"> <?php _e( 'End Date:', 'woocommerce-abandoned-cart' ); ?> </label>
|
2502 |
<input type="text" id="end_date" name="end_date" readonly="readonly" value="<?php echo $end_date_range; ?>"/>
|
2503 |
+
<input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e( 'Go', 'woocommerce-abandoned-cart' ); ?>" />
|
2504 |
</form>
|
2505 |
</div>
|
2506 |
</div>
|
2507 |
<div id="recovered_stats" class="postbox" style="display:block">
|
2508 |
<div class="inside" >
|
2509 |
+
<p style="font-size: 15px"><?php _e( 'During the selected range ', 'woocommerce-abandoned-cart' ); ?>
|
2510 |
<strong>
|
2511 |
<?php $count = $wcal_recover_orders_list->total_abandoned_cart_count;
|
2512 |
echo $count; ?>
|
2513 |
</strong>
|
2514 |
+
<?php _e( 'carts totaling', 'woocommerce-abandoned-cart' ); ?>
|
2515 |
<strong>
|
2516 |
<?php $total_of_all_order = $wcal_recover_orders_list->total_order_amount;
|
2517 |
|
2518 |
echo $total_of_all_order; ?>
|
2519 |
</strong>
|
2520 |
+
<?php _e( ' were abandoned. We were able to recover', 'woocommerce-abandoned-cart' ); ?>
|
2521 |
<strong>
|
2522 |
<?php
|
2523 |
$recovered_item = $wcal_recover_orders_list->recovered_item;
|
2524 |
|
2525 |
echo $recovered_item; ?>
|
2526 |
</strong>
|
2527 |
+
<?php _e( ' of them, which led to an extra', 'woocommerce-abandoned-cart' ); ?>
|
2528 |
<strong>
|
2529 |
<?php
|
2530 |
$recovered_total = $wcal_recover_orders_list->total_recover_amount;
|
2547 |
?>
|
2548 |
<p> </p>
|
2549 |
<div id="ac_order_details" class="postbox" style="display:block">
|
2550 |
+
<h3> <p> <?php printf( __( 'Abandoned Order #%s Details', 'woocommerce-abandoned-cart' ), $ac_order_id); ?> </p> </h3>
|
2551 |
<div class="inside">
|
2552 |
<table cellpadding="0" cellspacing="0" class="wp-list-table widefat fixed posts">
|
2553 |
<tr>
|
2554 |
+
<th> <?php _e( 'Item', 'woocommerce-abandoned-cart' ); ?> </th>
|
2555 |
+
<th> <?php _e( 'Name', 'woocommerce-abandoned-cart' ); ?> </th>
|
2556 |
+
<th> <?php _e( 'Quantity', 'woocommerce-abandoned-cart' ); ?> </th>
|
2557 |
+
<th> <?php _e( 'Line Subtotal', 'woocommerce-abandoned-cart' ); ?> </th>
|
2558 |
+
<th> <?php _e( 'Line Total', 'woocommerce-abandoned-cart' ); ?> </th>
|
2559 |
</tr>
|
2560 |
<?php
|
2561 |
$query = "SELECT * FROM `".$wpdb->prefix."ac_abandoned_cart_history_lite` WHERE id = %d ";
|
2796 |
</div>
|
2797 |
</div>
|
2798 |
<div id="ac_order_customer_details" class="postbox" style="display:block">
|
2799 |
+
<h3> <p> <?php _e( 'Customer Details' , 'woocommerce-abandoned-cart' ); ?> </p> </h3>
|
2800 |
<div class="inside" style="height: 300px;" >
|
2801 |
<div id="order_data" class="panel">
|
2802 |
<div style="width:50%;float:left">
|
2803 |
+
<h3> <p> <?php _e( 'Billing Details' , 'woocommerce-abandoned-cart' ); ?> </p> </h3>
|
2804 |
+
<p> <strong> <?php _e( 'Name:' , 'woocommerce-abandoned-cart' ); ?> </strong>
|
2805 |
<?php echo $user_first_name." ".$user_last_name;?>
|
2806 |
</p>
|
2807 |
+
<p> <strong> <?php _e( 'Address:' , 'woocommerce-abandoned-cart' ); ?> </strong>
|
2808 |
<?php echo $user_billing_company."</br>".
|
2809 |
$user_billing_address_1."</br>".
|
2810 |
$user_billing_address_2."</br>".
|
2814 |
$user_billing_country."</br>";
|
2815 |
?>
|
2816 |
</p>
|
2817 |
+
<p> <strong> <?php _e( 'Email:', 'woocommerce-abandoned-cart' ); ?> </strong>
|
2818 |
<?php $user_mail_to = "mailto:".$user_email; ?>
|
2819 |
<a href=<?php echo $user_mail_to;?>><?php echo $user_email;?> </a>
|
2820 |
</p>
|
2821 |
+
<p> <strong> <?php _e( 'Phone:', 'woocommerce-abandoned-cart' ); ?> </strong>
|
2822 |
<?php echo $user_billing_phone;?>
|
2823 |
</p>
|
2824 |
</div>
|
2825 |
<div style="width:50%;float:right">
|
2826 |
+
<h3> <p> <?php _e( 'Shipping Details', 'woocommerce-abandoned-cart' ); ?> </p> </h3>
|
2827 |
+
<p> <strong> <?php _e( 'Address:', 'woocommerce-abandoned-cart' ); ?> </strong>
|
2828 |
<?php
|
2829 |
if ( $user_shipping_company == '' &&
|
2830 |
$user_shipping_address_1 == '' &&
|
2906 |
print'<input type="hidden" name="ac_settings_frm" value="'.$button_mode.'">';?>
|
2907 |
<div id="poststuff">
|
2908 |
<div> <!-- <div class="postbox" > -->
|
2909 |
+
<h3 class="hndle"><?php _e( $display_message, 'woocommerce-abandoned-cart' ); ?></h3>
|
2910 |
<div>
|
2911 |
<table class="form-table" id="addedit_template">
|
2912 |
<tr>
|
2913 |
<th>
|
2914 |
+
<label for="woocommerce_ac_template_name"><b><?php _e( 'Template Name:', 'woocommerce-abandoned-cart');?></b></label>
|
2915 |
</th>
|
2916 |
<td>
|
2917 |
<?php
|
2920 |
$template_name = $results[0]->template_name;
|
2921 |
}
|
2922 |
print'<input type="text" name="woocommerce_ac_template_name" id="woocommerce_ac_template_name" class="regular-text" value="'.$template_name.'">';?>
|
2923 |
+
<img class="help_tip" width="16" height="16" data-tip='<?php _e('Enter a template name for reference', 'woocommerce-abandoned-cart') ?>' src="<?php echo plugins_url(); ?>/woocommerce/assets/images/help.png" />
|
2924 |
</td>
|
2925 |
</tr>
|
2926 |
|
2927 |
<tr>
|
2928 |
<th>
|
2929 |
+
<label for="woocommerce_ac_email_subject"><b><?php _e( 'Subject:', 'woocommerce-abandoned-cart' ); ?></b></label>
|
2930 |
</th>
|
2931 |
<td>
|
2932 |
<?php
|
2935 |
$subject_edit= stripslashes ( $results[0]->subject );
|
2936 |
}
|
2937 |
print'<input type="text" name="woocommerce_ac_email_subject" id="woocommerce_ac_email_subject" class="regular-text" value="'.$subject_edit.'">';?>
|
2938 |
+
<img class="help_tip" width="16" height="16" data-tip='<?php _e('Enter the subject that should appear in the email sent', 'woocommerce-abandoned-cart') ?>' src="<?php echo plugins_url(); ?>/woocommerce/assets/images/help.png" />
|
2939 |
</td>
|
2940 |
</tr>
|
2941 |
|
2942 |
<tr>
|
2943 |
<th>
|
2944 |
+
<label for="woocommerce_ac_email_body"><b><?php _e( 'Email Body:', 'woocommerce-abandoned-cart' ); ?></b></label>
|
2945 |
</th>
|
2946 |
<td>
|
2947 |
<?php
|
2967 |
?>
|
2968 |
<?php echo stripslashes( get_option( 'woocommerce_ac_email_body' ) ); ?>
|
2969 |
<span class="description"><?php
|
2970 |
+
_e( 'Message to be sent in the reminder email.', 'woocommerce-abandoned-cart' );
|
2971 |
?></span>
|
2972 |
</td>
|
2973 |
</tr>
|
2974 |
|
2975 |
<tr>
|
2976 |
<th>
|
2977 |
+
<label for="is_wc_template"><b><?php _e( 'Use WooCommerce Template Style:', 'woocommerce-abandoned-cart' ); ?></b></label>
|
2978 |
</th>
|
2979 |
<td>
|
2980 |
<?php
|
2989 |
}
|
2990 |
}
|
2991 |
print'<input type="checkbox" name="is_wc_template" id="is_wc_template" ' . $is_wc_template . '> </input>'; ?>
|
2992 |
+
<img class="help_tip" width="16" height="16" data-tip='<?php _e( 'Use WooCommerce default style template for abandoned cart reminder emails.', 'woocommerce' ) ?>' src="<?php echo plugins_url(); ?>/woocommerce/assets/images/help.png" /> <a target = '_blank' href= <?php echo wp_nonce_url( admin_url( '?wcal_preview_woocommerce_mail=true' ), 'woocommerce-abandoned-cart' ) ; ?> >
|
2993 |
+
Click here to preview </a>how the email template will look with WooCommerce Template Style enabled. Alternatively, if this is unchecked, the template will appear as <a target = '_blank' href=<?php echo wp_nonce_url( admin_url( '?wcal_preview_mail=true' ), 'woocommerce-abandoned-cart' ) ; ?>>shown here</a>. <br> <strong>Note: </strong>When this setting is enabled, then "Send From This Name:" & "Send From This Email Address:" will be overwritten with WooCommerce -> Settings -> Email -> Email Sender Options.
|
2994 |
</td>
|
2995 |
</tr>
|
2996 |
|
2997 |
<tr>
|
2998 |
<th>
|
2999 |
+
<label for="wcal_wc_email_header"><b><?php _e( 'Email Template Header Text: ', 'woocommerce-abandoned-cart' ); ?></b></label>
|
3000 |
</th>
|
3001 |
<td>
|
3002 |
|
3010 |
$wcal_wc_email_header = "Abandoned cart reminder";
|
3011 |
}
|
3012 |
print'<input type="text" name="wcal_wc_email_header" id="wcal_wc_email_header" class="regular-text" value="' . $wcal_wc_email_header . '">'; ?>
|
3013 |
+
<img class="help_tip" width="16" height="16" data-tip='<?php _e( 'Enter the header which will appear in the abandoned WooCommerce email sent. This is only applicable when only used when "Use WooCommerce Template Style:" is checked.', 'woocommerce-abandoned-cart' ) ?>' src="<?php echo plugins_url(); ?>/woocommerce/assets/images/help.png" />
|
3014 |
</td>
|
3015 |
</tr>
|
3016 |
|
3017 |
<tr>
|
3018 |
<th>
|
3019 |
+
<label for="woocommerce_ac_email_frequency"><b><?php _e( 'Send this email:', 'woocommerce-abandoned-cart' ); ?></b></label>
|
3020 |
</th>
|
3021 |
<td>
|
3022 |
<select name="email_frequency" id="email_frequency">
|
3057 |
?>
|
3058 |
</select>
|
3059 |
<span class="description">
|
3060 |
+
<?php _e( 'after cart is abandoned.', 'woocommerce-abandoned-cart' ); ?>
|
3061 |
</span>
|
3062 |
</td>
|
3063 |
</tr>
|
3064 |
|
3065 |
<tr>
|
3066 |
<th>
|
3067 |
+
<label for="woocommerce_ac_email_preview"><b><?php _e( 'Send a test email to:', 'woocommerce-abandoned-cart' ); ?></b></label>
|
3068 |
</th>
|
3069 |
<td>
|
3070 |
<input type="text" id="send_test_email" name="send_test_email" class="regular-text" >
|
3071 |
<input type="button" value="Send a test email" id="preview_email" onclick="javascript:void(0);">
|
3072 |
+
<img class="help_tip" width="16" height="16" data-tip='<?php _e('Enter the email id to which the test email needs to be sent.', 'woocommerce-abandoned-cart') ?>' src="<?php echo plugins_url(); ?>/woocommerce/assets/images/help.png" />
|
3073 |
<div id="preview_email_sent_msg" style="display:none;"></div>
|
3074 |
</td>
|
3075 |
</tr>
|
3084 |
{
|
3085 |
$button_value = "Update Changes";
|
3086 |
}?>
|
3087 |
+
<input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e( $button_value, 'woocommerce-abandoned-cart' ); ?>" />
|
3088 |
</p>
|
3089 |
</form>
|
3090 |
</div>
|
3096 |
|
3097 |
if ( isset( $_GET[ 'page' ] ) && $_GET[ 'page' ] === 'woocommerce_ac_page' ) {
|
3098 |
$footer_text = sprintf( __( 'If you love <strong>Abandoned Cart Lite for WooCommerce</strong>, then please leave us a <a href="https://wordpress.org/support/plugin/woocommerce-abandoned-cart/reviews/?rate=5#new-post" target="_blank" class="ac-rating-link" data-rated="Thanks :)">★★★★★</a>
|
3099 |
+
rating. Thank you in advance. :)', 'woocommerce-abandoned-cart' ) );
|
3100 |
wc_enqueue_js( "
|
3101 |
jQuery( 'a.ac-rating-link' ).click( function() {
|
3102 |
jQuery( this ).parent().text( jQuery( this ).data( 'rated' ) );
|
3235 |
$headers .= "Content-Type: text/plain" . "\r\n";
|
3236 |
$headers .= "Reply-To: " . $reply_name_preview . " " . "\r\n";
|
3237 |
$var = '<table width = 100%>
|
3238 |
+
<tr> <td colspan="5"> <h3>'.__( 'Your Shopping Cart', 'woocommerce-abandoned-cart' ).'</h3> </td></tr>
|
3239 |
<tr align="center">
|
3240 |
+
<th>'.__( 'Item', 'woocommerce-abandoned-cart' ).'</th>
|
3241 |
+
<th>'.__( 'Name', 'woocommerce-abandoned-cart' ).'</th>
|
3242 |
+
<th>'.__( 'Quantity', 'woocommerce-abandoned-cart' ).'</th>
|
3243 |
+
<th>'.__( 'Price', 'woocommerce-abandoned-cart' ).'</th>
|
3244 |
+
<th>'.__( 'Line Subtotal', 'woocommerce-abandoned-cart' ).'</th>
|
3245 |
</tr>
|
3246 |
<tr align="center">
|
3247 |
<td><img class="demo_img" width="42" height="42" src="'.plugins_url().'/woocommerce-abandoned-cart/assets/images/shoes.jpg"/></td>
|
3248 |
+
<td>'.__( "Men\'\s Formal Shoes", 'woocommerce-abandoned-cart' ).'</td>
|
3249 |
<td>1</td>
|
3250 |
<td>' . $wcal_price . '</td>
|
3251 |
<td>' . $wcal_price . '</td>
|
3252 |
</tr>
|
3253 |
<tr align="center">
|
3254 |
<td><img class="demo_img" width="42" height="42" src="'.plugins_url().'/woocommerce-abandoned-cart/assets/images/handbag.jpg"/></td>
|
3255 |
+
<td>'.__( "Woman\'\s Hand Bags", 'woocommerce-abandoned-cart' ).'</td>
|
3256 |
<td>1</td>
|
3257 |
<td>' . $wcal_price . '</td>
|
3258 |
<td>' . $wcal_price . '</td>
|
3261 |
<td></td>
|
3262 |
<td></td>
|
3263 |
<td></td>
|
3264 |
+
<td>'.__( "Cart Total:", 'woocommerce-abandoned-cart' ).'</td>
|
3265 |
<td>' . $wcal_total_price . '</td>
|
3266 |
</tr>
|
3267 |
</table>';
|
3269 |
$headers = "From: " . $from_email_name . " <" . $from_email_preview . ">" . "\r\n";
|
3270 |
$headers .= "Content-Type: text/html" . "\r\n";
|
3271 |
$headers .= "Reply-To: " . $reply_name_preview . " " . "\r\n";
|
3272 |
+
$var = '<h3>'.__( "Your Shopping Cart", 'woocommerce-abandoned-cart' ).'</h3>
|
3273 |
<table border="0" cellpadding="10" cellspacing="0" class="templateDataTable">
|
3274 |
<tr align="center">
|
3275 |
+
<th>'.__( "Item", 'woocommerce-abandoned-cart' ).'</th>
|
3276 |
+
<th>'.__( "Name", 'woocommerce-abandoned-cart' ).'</th>
|
3277 |
+
<th>'.__( "Quantity", 'woocommerce-abandoned-cart' ).'</th>
|
3278 |
+
<th>'.__( "Price", 'woocommerce-abandoned-cart' ).'</th>
|
3279 |
+
<th>'.__( "Line Subtotal", 'woocommerce-abandoned-cart' ).'</th>
|
3280 |
</tr>
|
3281 |
<tr align="center">
|
3282 |
<td><img class="demo_img" width="42" height="42" src="'.plugins_url().'/woocommerce-abandoned-cart/assets/images/shoes.jpg"/></td>
|
3283 |
+
<td>'.__( "Men\'\s Formal Shoes", 'woocommerce-abandoned-cart' ).'</td>
|
3284 |
<td>1</td>
|
3285 |
<td>' . $wcal_price . '</td>
|
3286 |
<td>' . $wcal_price . '</td>
|
3287 |
</tr>
|
3288 |
<tr align="center">
|
3289 |
<td><img class="demo_img" width="42" height="42" src="'.plugins_url().'/woocommerce-abandoned-cart/assets/images/handbag.jpg"/></td>
|
3290 |
+
<td>'.__( "Woman\'\s Hand Bags", 'woocommerce-abandoned-cart' ).'</td>
|
3291 |
<td>1</td>
|
3292 |
<td>' . $wcal_price . '</td>
|
3293 |
<td>' . $wcal_price . '</td>
|
3296 |
<td></td>
|
3297 |
<td></td>
|
3298 |
<td></td>
|
3299 |
+
<td>'.__( "Cart Total:", 'woocommerce-abandoned-cart' ).'</td>
|
3300 |
<td>' . $wcal_total_price . '</td>
|
3301 |
</tr>
|
3302 |
</table>';
|