WooCommerce Cart Abandonment Recovery - Version 1.2.19

Version Description

Download this release

Release Info

Developer cartflowswp
Plugin Icon 128x128 WooCommerce Cart Abandonment Recovery
Version 1.2.19
Comparing to
See all releases

Code changes from version 1.2.18 to 1.2.19

admin/assets/js/admin-settings.js CHANGED
@@ -212,7 +212,10 @@
212
  type: 'POST',
213
  data: sample_data,
214
  success( data ) {
215
- if ( data.status === 'success' ) {
 
 
 
216
  $(
217
  '#wcf_ca_' +
218
  event.data.order_status +
@@ -256,6 +259,23 @@
256
  .fadeOut();
257
  }
258
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
259
  };
260
 
261
  ToolTipHover = {
212
  type: 'POST',
213
  data: sample_data,
214
  success( data ) {
215
+ const response = ZapierSettings.handle_zapier_response(
216
+ data
217
+ );
218
+ if ( response ) {
219
  $(
220
  '#wcf_ca_' +
221
  event.data.order_status +
259
  .fadeOut();
260
  }
261
  },
262
+ handle_zapier_response( data ) {
263
+ let status = false;
264
+ if (
265
+ typeof data === 'object' &&
266
+ [ 'success', 'accepted' ].includes( data.status )
267
+ ) {
268
+ status = true;
269
+ } else if ( typeof data === 'string' ) {
270
+ const resp_string = data.toLowerCase();
271
+
272
+ if ( [ 'success', 'accepted' ].includes( resp_string ) ) {
273
+ status = true;
274
+ }
275
+ }
276
+
277
+ return status;
278
+ },
279
  };
280
 
281
  ToolTipHover = {
changelog.txt CHANGED
@@ -1,3 +1,9 @@
 
 
 
 
 
 
1
  Version 1.2.18 - Friday, 27th May 2022
2
  - New: Allowing entering multiple email addresses to receive weekly report emails.
3
  - Improvement: Updated the weekly report email content.
1
+ Version 1.2.19 - Tuesday, 6th September 2022
2
+ - New: Added `woo_ca_recovery_email_data` filter for email data before sending the recovery email.
3
+ - Improvement: Updated default cron time for abandoned carts to 20 min and limited the minimum cron run time.
4
+ - Improvement: Showing shipping name on the abandoned list if billing email is empty.
5
+ - Improvement: Handling test webhook response for pabbly and integromat webhooks.
6
+
7
  Version 1.2.18 - Friday, 27th May 2022
8
  - New: Allowing entering multiple email addresses to receive weekly report emails.
9
  - Improvement: Updated the weekly report email content.
classes/class-cartflows-ca-loader.php CHANGED
@@ -81,7 +81,7 @@ if ( ! class_exists( 'CARTFLOWS_CA_Loader' ) ) {
81
  define( 'CARTFLOWS_CA_BASE', plugin_basename( CARTFLOWS_CA_FILE ) );
82
  define( 'CARTFLOWS_CA_DIR', plugin_dir_path( CARTFLOWS_CA_FILE ) );
83
  define( 'CARTFLOWS_CA_URL', plugins_url( '/', CARTFLOWS_CA_FILE ) );
84
- define( 'CARTFLOWS_CA_VER', '1.2.18' );
85
 
86
  define( 'CARTFLOWS_CA_SLUG', 'cartflows_ca' );
87
 
81
  define( 'CARTFLOWS_CA_BASE', plugin_basename( CARTFLOWS_CA_FILE ) );
82
  define( 'CARTFLOWS_CA_DIR', plugin_dir_path( CARTFLOWS_CA_FILE ) );
83
  define( 'CARTFLOWS_CA_URL', plugins_url( '/', CARTFLOWS_CA_FILE ) );
84
+ define( 'CARTFLOWS_CA_VER', '1.2.19' );
85
 
86
  define( 'CARTFLOWS_CA_SLUG', 'cartflows_ca' );
87
 
classes/class-cartflows-ca-settings.php CHANGED
@@ -726,9 +726,9 @@ class Cartflows_Ca_Settings {
726
  * @since 1.1.5
727
  */
728
  public static function wcf_ca_cron_run_time_callback( $args ) {
729
- $wcf_ca_cron_run_time = apply_filters( 'woo_ca_update_order_cron_interval', get_option( 'wcf_ca_cron_run_time', 15 ) );
730
  printf(
731
- '<input class="wcf-ca-trigger-input wcf-ca-email-inputs" type="number" id="wcf_ca_cron_run_time" name="wcf_ca_cron_run_time" value="%s" />',
732
  esc_attr( $wcf_ca_cron_run_time )
733
  );
734
 
726
  * @since 1.1.5
727
  */
728
  public static function wcf_ca_cron_run_time_callback( $args ) {
729
+ $wcf_ca_cron_run_time = apply_filters( 'woo_ca_update_order_cron_interval', get_option( 'wcf_ca_cron_run_time', 20 ) );
730
  printf(
731
+ '<input class="wcf-ca-trigger-input wcf-ca-email-inputs" type="number" min="10" id="wcf_ca_cron_run_time" name="wcf_ca_cron_run_time" value="%s" />',
732
  esc_attr( $wcf_ca_cron_run_time )
733
  );
734
 
languages/woo-cart-abandonment-recovery.pot CHANGED
@@ -2,14 +2,14 @@
2
  # This file is distributed under the same license as the WooCommerce Cart Abandonment Recovery plugin.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: WooCommerce Cart Abandonment Recovery 1.2.18\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woo-cart-abandonment-recovery\n"
7
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
8
  "Language-Team: LANGUAGE <LL@li.org>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "POT-Creation-Date: 2022-05-25T08:39:39+00:00\n"
13
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
  "X-Generator: WP-CLI 2.5.0\n"
15
  "X-Domain: woo-cart-abandonment-recovery\n"
@@ -265,12 +265,12 @@ msgid "Auto-create the special coupon for the abandoned cart to send over the em
265
  msgstr ""
266
 
267
  #: classes/class-cartflows-ca-settings.php:327
268
- #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:567
269
  msgid "Discount Type"
270
  msgstr ""
271
 
272
  #: classes/class-cartflows-ca-settings.php:336
273
- #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:599
274
  msgid "Coupon Amount"
275
  msgstr ""
276
 
@@ -326,14 +326,14 @@ msgid "Add UTM parameter per line."
326
  msgstr ""
327
 
328
  #: classes/class-cartflows-ca-settings.php:620
329
- #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:637
330
- #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:733
331
  msgid "Hour(s)"
332
  msgstr ""
333
 
334
  #: classes/class-cartflows-ca-settings.php:621
335
- #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:638
336
- #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:734
337
  msgid "Day(s)"
338
  msgstr ""
339
 
@@ -345,7 +345,7 @@ msgstr ""
345
  #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates-table.php:88
346
  #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates-table.php:122
347
  #: modules/cart-abandonment/classes/class-cartflows-ca-order-table.php:86
348
- #: modules/cart-abandonment/classes/class-cartflows-ca-order-table.php:138
349
  msgid "Delete"
350
  msgstr ""
351
 
@@ -383,29 +383,29 @@ msgid "Settings"
383
  msgstr ""
384
 
385
  #: classes/class-cartflows-ca-tabs.php:450
386
- #: modules/cart-abandonment/classes/class-cartflows-ca-email-schedule.php:321
387
  msgid "Item"
388
  msgstr ""
389
 
390
  #: classes/class-cartflows-ca-tabs.php:451
391
- #: modules/cart-abandonment/classes/class-cartflows-ca-email-schedule.php:322
392
- #: modules/cart-abandonment/classes/class-cartflows-ca-order-table.php:236
393
  #: modules/cart-abandonment/includes/cartflows-ca-single-report-details.php:176
394
  msgid "Name"
395
  msgstr ""
396
 
397
  #: classes/class-cartflows-ca-tabs.php:452
398
- #: modules/cart-abandonment/classes/class-cartflows-ca-email-schedule.php:323
399
  msgid "Quantity"
400
  msgstr ""
401
 
402
  #: classes/class-cartflows-ca-tabs.php:453
403
- #: modules/cart-abandonment/classes/class-cartflows-ca-email-schedule.php:324
404
  msgid "Price"
405
  msgstr ""
406
 
407
  #: classes/class-cartflows-ca-tabs.php:454
408
- #: modules/cart-abandonment/classes/class-cartflows-ca-email-schedule.php:325
409
  msgid "Line Subtotal"
410
  msgstr ""
411
 
@@ -422,7 +422,7 @@ msgid "Shipping"
422
  msgstr ""
423
 
424
  #: classes/class-cartflows-ca-tabs.php:473
425
- #: modules/cart-abandonment/classes/class-cartflows-ca-order-table.php:238
426
  msgid "Cart Total"
427
  msgstr ""
428
 
@@ -442,19 +442,19 @@ msgstr ""
442
  msgid "Mail sending failed!"
443
  msgstr ""
444
 
445
- #: modules/cart-abandonment/classes/class-cartflows-ca-email-schedule.php:85
446
  msgid "there"
447
  msgstr ""
448
 
449
- #: modules/cart-abandonment/classes/class-cartflows-ca-email-schedule.php:124
450
  msgid "Don't remind me again."
451
  msgstr ""
452
 
453
- #: modules/cart-abandonment/classes/class-cartflows-ca-email-schedule.php:143
454
  msgid "Admin"
455
  msgstr ""
456
 
457
- #: modules/cart-abandonment/classes/class-cartflows-ca-email-schedule.php:314
458
  msgid "Cart Total ( Cart Total + Shipping + Tax )"
459
  msgstr ""
460
 
@@ -483,203 +483,203 @@ msgstr ""
483
  msgid "Activate Template"
484
  msgstr ""
485
 
486
- #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:132
487
  msgid "Admin Firstname"
488
  msgstr ""
489
 
490
- #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:133
491
  msgid "Admin Company"
492
  msgstr ""
493
 
494
- #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:134
495
  msgid "Abandoned Product Details Table"
496
  msgstr ""
497
 
498
- #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:135
499
  msgid "Abandoned Product Names"
500
  msgstr ""
501
 
502
- #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:136
503
  msgid "Cart Checkout URL"
504
  msgstr ""
505
 
506
- #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:137
507
  msgid "Coupon Code"
508
  msgstr ""
509
 
510
- #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:138
511
  msgid "Customer First Name"
512
  msgstr ""
513
 
514
- #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:139
515
  msgid "Customer Last Name"
516
  msgstr ""
517
 
518
- #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:140
519
  msgid "Customer Full Name"
520
  msgstr ""
521
 
522
- #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:141
523
  msgid "Cart Abandonment Date"
524
  msgstr ""
525
 
526
- #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:142
527
  msgid "Site URL"
528
  msgstr ""
529
 
530
- #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:143
531
  msgid "Unsubscribe Link"
532
  msgstr ""
533
 
534
- #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:145
535
  msgid "Triggering..."
536
  msgstr ""
537
 
538
- #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:146
539
  msgid "Trigger Failed."
540
  msgstr ""
541
 
542
- #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:147
543
  msgid "Trigger Success."
544
  msgstr ""
545
 
546
- #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:148
547
  msgid "Please verify webhook URL."
548
  msgstr ""
549
 
550
- #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:149
551
  msgid "Webhook URL is required."
552
  msgstr ""
553
 
554
- #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:170
555
  msgid "Something went wrong"
556
  msgstr ""
557
 
558
- #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:177
559
  msgid "Activated"
560
  msgstr ""
561
 
562
- #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:180
563
  msgid "Deactivated"
564
  msgstr ""
565
 
566
- #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:241
567
  msgid "The Email Template has been successfully added."
568
  msgstr ""
569
 
570
- #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:251
571
  msgid "The Email Template has been cloned successfully."
572
  msgstr ""
573
 
574
- #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:261
575
  msgid "The Email Template has been successfully deleted."
576
  msgstr ""
577
 
578
- #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:270
579
  msgid "The Email Template has been successfully updated."
580
  msgstr ""
581
 
582
- #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:280
583
  msgid "Default Email Templates has been restored successfully."
584
  msgstr ""
585
 
586
- #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:447
587
  msgid "Activate Template now?"
588
  msgstr ""
589
 
590
- #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:467
591
  msgid "Template Name:"
592
  msgstr ""
593
 
594
- #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:482
595
  msgid "Email Subject:"
596
  msgstr ""
597
 
598
- #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:497
599
  msgid "Email Body:"
600
  msgstr ""
601
 
602
- #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:526
603
  msgid "Use WooCommerce email style"
604
  msgstr ""
605
 
606
- #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:539
607
  msgid "Email will be sent in WooCommerce email format. Also the sender name and sender email address will be replaced by the Woocommerce Email sender options."
608
  msgstr ""
609
 
610
- #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:547
611
  msgid "Create Coupon"
612
  msgstr ""
613
 
614
- #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:560
615
  msgid "Allows you to send new coupon only for this template."
616
  msgstr ""
617
 
618
- #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:617
619
  msgid "Coupon expiry date"
620
  msgstr ""
621
 
622
- #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:647
623
  msgid "Enter zero (0) to restrict coupon from expiring"
624
  msgstr ""
625
 
626
- #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:653
627
  msgid "Free Shipping"
628
  msgstr ""
629
 
630
- #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:666
631
  msgid "Allows you to grant free shipping. A free shipping method must be enabled in your shipping zone and be set to require \"a valid free shipping coupon\". "
632
  msgstr ""
633
 
634
- #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:673
635
  msgid "Individual use only"
636
  msgstr ""
637
 
638
- #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:687
639
  msgid "Check this box if the coupon cannot be used in conjunction with other coupons."
640
  msgstr ""
641
 
642
- #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:694
643
  msgid "Auto Apply Coupon"
644
  msgstr ""
645
 
646
- #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:708
647
  msgid " Automatically add the coupon to the cart at the checkout."
648
  msgstr ""
649
 
650
- #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:714
651
  msgid "Send This Email"
652
  msgstr ""
653
 
654
- #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:732
655
  msgid "Minute(s)"
656
  msgstr ""
657
 
658
- #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:747
659
  msgid "after cart is abandoned."
660
  msgstr ""
661
 
662
- #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:757
663
  msgid "Send Test Email To:"
664
  msgstr ""
665
 
666
- #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:761
667
  msgid "Send a test email"
668
  msgstr ""
669
 
670
- #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:774
671
  msgid "Save Changes"
672
  msgstr ""
673
 
674
- #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:776
675
  msgid "Update Changes"
676
  msgstr ""
677
 
678
- #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:1085
679
  msgid "Create New Template"
680
  msgstr ""
681
 
682
- #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:1088
683
  msgid " Restore Default Templates"
684
  msgstr ""
685
 
@@ -688,19 +688,19 @@ msgid "View"
688
  msgstr ""
689
 
690
  #: modules/cart-abandonment/classes/class-cartflows-ca-order-table.php:90
691
- #: modules/cart-abandonment/classes/class-cartflows-ca-order-table.php:142
692
  msgid "Unsubscribe"
693
  msgstr ""
694
 
695
- #: modules/cart-abandonment/classes/class-cartflows-ca-order-table.php:237
696
  msgid "Email"
697
  msgstr ""
698
 
699
- #: modules/cart-abandonment/classes/class-cartflows-ca-order-table.php:239
700
  msgid "Order Status"
701
  msgstr ""
702
 
703
- #: modules/cart-abandonment/classes/class-cartflows-ca-order-table.php:240
704
  msgid "Time"
705
  msgstr ""
706
 
@@ -729,7 +729,7 @@ msgstr ""
729
 
730
  #: modules/cart-abandonment/classes/class-cartflows-ca-tracking.php:250
731
  #: modules/cart-abandonment/includes/cartflows-ca-single-report-details.php:167
732
- #: modules/weekly-email-report/class-cartflows-ca-admin-report-emails.php:158
733
  msgid "Unsubscribed"
734
  msgstr ""
735
 
@@ -964,15 +964,15 @@ msgstr ""
964
  msgid "WooCommerce Cart Abandonment Recovery "
965
  msgstr ""
966
 
967
- #: modules/weekly-email-report/class-cartflows-ca-admin-report-emails.php:94
968
  msgid "There"
969
  msgstr ""
970
 
971
- #: modules/weekly-email-report/class-cartflows-ca-admin-report-emails.php:116
972
  msgid "Your Weekly Cart Abandonment Summary is here - CartFlows"
973
  msgstr ""
974
 
975
- #: modules/weekly-email-report/class-cartflows-ca-admin-report-emails.php:158
976
  msgid "You have successfully unsubscribed from our weekly emails list."
977
  msgstr ""
978
 
2
  # This file is distributed under the same license as the WooCommerce Cart Abandonment Recovery plugin.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: WooCommerce Cart Abandonment Recovery 1.2.19\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woo-cart-abandonment-recovery\n"
7
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
8
  "Language-Team: LANGUAGE <LL@li.org>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "POT-Creation-Date: 2022-09-06T07:24:27+00:00\n"
13
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
  "X-Generator: WP-CLI 2.5.0\n"
15
  "X-Domain: woo-cart-abandonment-recovery\n"
265
  msgstr ""
266
 
267
  #: classes/class-cartflows-ca-settings.php:327
268
+ #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:568
269
  msgid "Discount Type"
270
  msgstr ""
271
 
272
  #: classes/class-cartflows-ca-settings.php:336
273
+ #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:600
274
  msgid "Coupon Amount"
275
  msgstr ""
276
 
326
  msgstr ""
327
 
328
  #: classes/class-cartflows-ca-settings.php:620
329
+ #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:638
330
+ #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:734
331
  msgid "Hour(s)"
332
  msgstr ""
333
 
334
  #: classes/class-cartflows-ca-settings.php:621
335
+ #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:639
336
+ #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:735
337
  msgid "Day(s)"
338
  msgstr ""
339
 
345
  #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates-table.php:88
346
  #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates-table.php:122
347
  #: modules/cart-abandonment/classes/class-cartflows-ca-order-table.php:86
348
+ #: modules/cart-abandonment/classes/class-cartflows-ca-order-table.php:146
349
  msgid "Delete"
350
  msgstr ""
351
 
383
  msgstr ""
384
 
385
  #: classes/class-cartflows-ca-tabs.php:450
386
+ #: modules/cart-abandonment/classes/class-cartflows-ca-email-schedule.php:323
387
  msgid "Item"
388
  msgstr ""
389
 
390
  #: classes/class-cartflows-ca-tabs.php:451
391
+ #: modules/cart-abandonment/classes/class-cartflows-ca-email-schedule.php:324
392
+ #: modules/cart-abandonment/classes/class-cartflows-ca-order-table.php:244
393
  #: modules/cart-abandonment/includes/cartflows-ca-single-report-details.php:176
394
  msgid "Name"
395
  msgstr ""
396
 
397
  #: classes/class-cartflows-ca-tabs.php:452
398
+ #: modules/cart-abandonment/classes/class-cartflows-ca-email-schedule.php:325
399
  msgid "Quantity"
400
  msgstr ""
401
 
402
  #: classes/class-cartflows-ca-tabs.php:453
403
+ #: modules/cart-abandonment/classes/class-cartflows-ca-email-schedule.php:326
404
  msgid "Price"
405
  msgstr ""
406
 
407
  #: classes/class-cartflows-ca-tabs.php:454
408
+ #: modules/cart-abandonment/classes/class-cartflows-ca-email-schedule.php:327
409
  msgid "Line Subtotal"
410
  msgstr ""
411
 
422
  msgstr ""
423
 
424
  #: classes/class-cartflows-ca-tabs.php:473
425
+ #: modules/cart-abandonment/classes/class-cartflows-ca-order-table.php:246
426
  msgid "Cart Total"
427
  msgstr ""
428
 
442
  msgid "Mail sending failed!"
443
  msgstr ""
444
 
445
+ #: modules/cart-abandonment/classes/class-cartflows-ca-email-schedule.php:87
446
  msgid "there"
447
  msgstr ""
448
 
449
+ #: modules/cart-abandonment/classes/class-cartflows-ca-email-schedule.php:126
450
  msgid "Don't remind me again."
451
  msgstr ""
452
 
453
+ #: modules/cart-abandonment/classes/class-cartflows-ca-email-schedule.php:145
454
  msgid "Admin"
455
  msgstr ""
456
 
457
+ #: modules/cart-abandonment/classes/class-cartflows-ca-email-schedule.php:316
458
  msgid "Cart Total ( Cart Total + Shipping + Tax )"
459
  msgstr ""
460
 
483
  msgid "Activate Template"
484
  msgstr ""
485
 
486
+ #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:133
487
  msgid "Admin Firstname"
488
  msgstr ""
489
 
490
+ #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:134
491
  msgid "Admin Company"
492
  msgstr ""
493
 
494
+ #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:135
495
  msgid "Abandoned Product Details Table"
496
  msgstr ""
497
 
498
+ #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:136
499
  msgid "Abandoned Product Names"
500
  msgstr ""
501
 
502
+ #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:137
503
  msgid "Cart Checkout URL"
504
  msgstr ""
505
 
506
+ #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:138
507
  msgid "Coupon Code"
508
  msgstr ""
509
 
510
+ #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:139
511
  msgid "Customer First Name"
512
  msgstr ""
513
 
514
+ #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:140
515
  msgid "Customer Last Name"
516
  msgstr ""
517
 
518
+ #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:141
519
  msgid "Customer Full Name"
520
  msgstr ""
521
 
522
+ #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:142
523
  msgid "Cart Abandonment Date"
524
  msgstr ""
525
 
526
+ #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:143
527
  msgid "Site URL"
528
  msgstr ""
529
 
530
+ #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:144
531
  msgid "Unsubscribe Link"
532
  msgstr ""
533
 
534
+ #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:146
535
  msgid "Triggering..."
536
  msgstr ""
537
 
538
+ #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:147
539
  msgid "Trigger Failed."
540
  msgstr ""
541
 
542
+ #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:148
543
  msgid "Trigger Success."
544
  msgstr ""
545
 
546
+ #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:149
547
  msgid "Please verify webhook URL."
548
  msgstr ""
549
 
550
+ #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:150
551
  msgid "Webhook URL is required."
552
  msgstr ""
553
 
554
+ #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:171
555
  msgid "Something went wrong"
556
  msgstr ""
557
 
558
+ #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:178
559
  msgid "Activated"
560
  msgstr ""
561
 
562
+ #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:181
563
  msgid "Deactivated"
564
  msgstr ""
565
 
566
+ #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:242
567
  msgid "The Email Template has been successfully added."
568
  msgstr ""
569
 
570
+ #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:252
571
  msgid "The Email Template has been cloned successfully."
572
  msgstr ""
573
 
574
+ #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:262
575
  msgid "The Email Template has been successfully deleted."
576
  msgstr ""
577
 
578
+ #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:271
579
  msgid "The Email Template has been successfully updated."
580
  msgstr ""
581
 
582
+ #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:281
583
  msgid "Default Email Templates has been restored successfully."
584
  msgstr ""
585
 
586
+ #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:448
587
  msgid "Activate Template now?"
588
  msgstr ""
589
 
590
+ #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:468
591
  msgid "Template Name:"
592
  msgstr ""
593
 
594
+ #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:483
595
  msgid "Email Subject:"
596
  msgstr ""
597
 
598
+ #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:498
599
  msgid "Email Body:"
600
  msgstr ""
601
 
602
+ #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:527
603
  msgid "Use WooCommerce email style"
604
  msgstr ""
605
 
606
+ #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:540
607
  msgid "Email will be sent in WooCommerce email format. Also the sender name and sender email address will be replaced by the Woocommerce Email sender options."
608
  msgstr ""
609
 
610
+ #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:548
611
  msgid "Create Coupon"
612
  msgstr ""
613
 
614
+ #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:561
615
  msgid "Allows you to send new coupon only for this template."
616
  msgstr ""
617
 
618
+ #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:618
619
  msgid "Coupon expiry date"
620
  msgstr ""
621
 
622
+ #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:648
623
  msgid "Enter zero (0) to restrict coupon from expiring"
624
  msgstr ""
625
 
626
+ #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:654
627
  msgid "Free Shipping"
628
  msgstr ""
629
 
630
+ #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:667
631
  msgid "Allows you to grant free shipping. A free shipping method must be enabled in your shipping zone and be set to require \"a valid free shipping coupon\". "
632
  msgstr ""
633
 
634
+ #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:674
635
  msgid "Individual use only"
636
  msgstr ""
637
 
638
+ #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:688
639
  msgid "Check this box if the coupon cannot be used in conjunction with other coupons."
640
  msgstr ""
641
 
642
+ #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:695
643
  msgid "Auto Apply Coupon"
644
  msgstr ""
645
 
646
+ #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:709
647
  msgid " Automatically add the coupon to the cart at the checkout."
648
  msgstr ""
649
 
650
+ #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:715
651
  msgid "Send This Email"
652
  msgstr ""
653
 
654
+ #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:733
655
  msgid "Minute(s)"
656
  msgstr ""
657
 
658
+ #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:748
659
  msgid "after cart is abandoned."
660
  msgstr ""
661
 
662
+ #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:758
663
  msgid "Send Test Email To:"
664
  msgstr ""
665
 
666
+ #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:762
667
  msgid "Send a test email"
668
  msgstr ""
669
 
670
+ #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:775
671
  msgid "Save Changes"
672
  msgstr ""
673
 
674
+ #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:777
675
  msgid "Update Changes"
676
  msgstr ""
677
 
678
+ #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:1086
679
  msgid "Create New Template"
680
  msgstr ""
681
 
682
+ #: modules/cart-abandonment/classes/class-cartflows-ca-email-templates.php:1089
683
  msgid " Restore Default Templates"
684
  msgstr ""
685
 
688
  msgstr ""
689
 
690
  #: modules/cart-abandonment/classes/class-cartflows-ca-order-table.php:90
691
+ #: modules/cart-abandonment/classes/class-cartflows-ca-order-table.php:150
692
  msgid "Unsubscribe"
693
  msgstr ""
694
 
695
+ #: modules/cart-abandonment/classes/class-cartflows-ca-order-table.php:245
696
  msgid "Email"
697
  msgstr ""
698
 
699
+ #: modules/cart-abandonment/classes/class-cartflows-ca-order-table.php:247
700
  msgid "Order Status"
701
  msgstr ""
702
 
703
+ #: modules/cart-abandonment/classes/class-cartflows-ca-order-table.php:248
704
  msgid "Time"
705
  msgstr ""
706
 
729
 
730
  #: modules/cart-abandonment/classes/class-cartflows-ca-tracking.php:250
731
  #: modules/cart-abandonment/includes/cartflows-ca-single-report-details.php:167
732
+ #: modules/weekly-email-report/class-cartflows-ca-admin-report-emails.php:174
733
  msgid "Unsubscribed"
734
  msgstr ""
735
 
964
  msgid "WooCommerce Cart Abandonment Recovery "
965
  msgstr ""
966
 
967
+ #: modules/weekly-email-report/class-cartflows-ca-admin-report-emails.php:92
968
  msgid "There"
969
  msgstr ""
970
 
971
+ #: modules/weekly-email-report/class-cartflows-ca-admin-report-emails.php:113
972
  msgid "Your Weekly Cart Abandonment Summary is here - CartFlows"
973
  msgstr ""
974
 
975
+ #: modules/weekly-email-report/class-cartflows-ca-admin-report-emails.php:174
976
  msgid "You have successfully unsubscribed from our weekly emails list."
977
  msgstr ""
978
 
modules/cart-abandonment/classes/class-cartflows-ca-cron.php CHANGED
@@ -56,7 +56,7 @@ class Cartflows_Ca_Cron {
56
  /**
57
  * Add filter to change the cron interval time to uodate order status.
58
  */
59
- $cron_time = apply_filters( 'woo_ca_update_order_cron_interval', get_option( 'wcf_ca_cron_run_time', 15 ) );
60
 
61
  $schedules['every_fifteen_minutes'] = array(
62
  'interval' => intval( $cron_time ) * MINUTE_IN_SECONDS,
56
  /**
57
  * Add filter to change the cron interval time to uodate order status.
58
  */
59
+ $cron_time = apply_filters( 'woo_ca_update_order_cron_interval', get_option( 'wcf_ca_cron_run_time', 20 ) );
60
 
61
  $schedules['every_fifteen_minutes'] = array(
62
  'interval' => intval( $cron_time ) * MINUTE_IN_SECONDS,
modules/cart-abandonment/classes/class-cartflows-ca-email-schedule.php CHANGED
@@ -75,13 +75,15 @@ class Cartflows_Ca_Email_Schedule {
75
  }
76
  }
77
 
 
 
78
  $other_fields = unserialize( $email_data->other_fields );
79
 
80
  $from_email_name = get_option( 'wcf_ca_from_name' );
81
  $reply_name_preview = get_option( 'wcf_ca_reply_email' );
82
  $from_email_preview = get_option( 'wcf_ca_from_email' );
83
 
84
- $user_first_name = ucfirst( $other_fields['wcf_first_name'] );
85
  $user_first_name = $user_first_name ? $user_first_name : apply_filters( 'woo_ca_default_first_name', __( 'there', 'woo-cart-abandonment-recovery' ) );
86
  $user_last_name = ucfirst( $other_fields['wcf_last_name'] );
87
  $user_full_name = trim( $user_first_name . ' ' . $user_last_name );
75
  }
76
  }
77
 
78
+ $email_data = apply_filters( 'woo_ca_recovery_email_data', $email_data, $preview_email );
79
+
80
  $other_fields = unserialize( $email_data->other_fields );
81
 
82
  $from_email_name = get_option( 'wcf_ca_from_name' );
83
  $reply_name_preview = get_option( 'wcf_ca_reply_email' );
84
  $from_email_preview = get_option( 'wcf_ca_from_email' );
85
 
86
+ $user_first_name = ! empty( $other_fields['wcf_first_name'] ) ? ucfirst( $other_fields['wcf_first_name'] ) : ucfirst( $other_fields['wcf_shipping_first_name'] );
87
  $user_first_name = $user_first_name ? $user_first_name : apply_filters( 'woo_ca_default_first_name', __( 'there', 'woo-cart-abandonment-recovery' ) );
88
  $user_last_name = ucfirst( $other_fields['wcf_last_name'] );
89
  $user_full_name = trim( $user_first_name . ' ' . $user_last_name );
modules/cart-abandonment/classes/class-cartflows-ca-order-table.php CHANGED
@@ -91,11 +91,19 @@ class Cartflows_Ca_Order_Table extends WP_List_Table {
91
 
92
  }
93
 
 
 
 
 
 
 
 
 
94
  return sprintf(
95
  '<a href="%s"><span class="dashicons dashicons-admin-users"></span> %s %s %s </a>',
96
  esc_url( $view_url ),
97
- esc_html( $item_details['wcf_first_name'] ),
98
- esc_html( $item_details['wcf_last_name'] ),
99
  $this->row_actions( $actions )
100
  );
101
  }
91
 
92
  }
93
 
94
+ if ( ! empty( $item_details['wcf_first_name'] ) ) {
95
+ $first_name = $item_details['wcf_first_name'];
96
+ $last_name = $item_details['wcf_last_name'];
97
+ } else {
98
+ $first_name = $item_details['wcf_shipping_first_name'];
99
+ $last_name = $item_details['wcf_shipping_last_name'];
100
+ }
101
+
102
  return sprintf(
103
  '<a href="%s"><span class="dashicons dashicons-admin-users"></span> %s %s %s </a>',
104
  esc_url( $view_url ),
105
+ esc_attr( $first_name ),
106
+ esc_attr( $last_name ),
107
  $this->row_actions( $actions )
108
  );
109
  }
modules/weekly-email-report/templates/email-bsf-product-block.php CHANGED
@@ -24,7 +24,7 @@ if ( ! defined( 'ABSPATH' ) ) {
24
  <h1 style="margin: 0; color: #1f2937; direction: ltr; font-family: Arial, Helvetica Neue, Helvetica, sans-serif; font-size: 28px; font-weight: 400; letter-spacing: normal; line-height: 120%; text-align: center; margin-top: 0; margin-bottom: 0;">
25
  <?php
26
  echo esc_html__(
27
- 'Would you like to try our other products that make help you more sale and money?',
28
  'cartflows'
29
  )
30
  ?>
24
  <h1 style="margin: 0; color: #1f2937; direction: ltr; font-family: Arial, Helvetica Neue, Helvetica, sans-serif; font-size: 28px; font-weight: 400; letter-spacing: normal; line-height: 120%; text-align: center; margin-top: 0; margin-bottom: 0;">
25
  <?php
26
  echo esc_html__(
27
+ 'Would you like to try our other products that help WooCommerce stores sell more?',
28
  'cartflows'
29
  )
30
  ?>
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: sujaypawar, wpcrafter
3
  Tags: woocommerce, cart abandonment, cart recovery
4
  Requires at least: 5.4
5
  Tested up to: 6.0
6
- Stable tag: 1.2.18
7
  Requires PHP: 5.6
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
@@ -128,6 +128,12 @@ Here are few thoughts behind making it available for free:
128
 
129
  == Changelog ==
130
 
 
 
 
 
 
 
131
  = Version 1.2.18 - Friday, 27th May 2022 =
132
  * New: Allowing entering multiple email addresses to receive weekly report emails.
133
  * Improvement: Updated the weekly report email content.
3
  Tags: woocommerce, cart abandonment, cart recovery
4
  Requires at least: 5.4
5
  Tested up to: 6.0
6
+ Stable tag: 1.2.19
7
  Requires PHP: 5.6
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
128
 
129
  == Changelog ==
130
 
131
+ = Version 1.2.19 - Tuesday, 6th September 2022 =
132
+ * New: Added `woo_ca_recovery_email_data` filter for email data before sending the recovery email.
133
+ * Improvement: Updated default cron time for abandoned carts to 20 min and limited the minimum cron run time.
134
+ * Improvement: Showing shipping name on the abandoned list if billing email is empty.
135
+ * Improvement: Handling test webhook response for pabbly and integromat webhooks.
136
+
137
  = Version 1.2.18 - Friday, 27th May 2022 =
138
  * New: Allowing entering multiple email addresses to receive weekly report emails.
139
  * Improvement: Updated the weekly report email content.
woo-cart-abandonment-recovery.php CHANGED
@@ -3,12 +3,12 @@
3
  * Plugin Name: WooCommerce Cart Abandonment Recovery
4
  * Plugin URI: https://cartflows.com/
5
  * Description: Recover your lost revenue. Capture email address of users on the checkout page and send follow up emails if they don't complete the purchase.
6
- * Version: 1.2.18
7
  * Author: CartFlows Inc
8
  * Author URI: https://cartflows.com/
9
  * Text Domain: woo-cart-abandonment-recovery
10
  * WC requires at least: 3.0
11
- * WC tested up to: 6.5.0
12
  *
13
  * @package Woocommerce-Cart-Abandonment-Recovery
14
  */
3
  * Plugin Name: WooCommerce Cart Abandonment Recovery
4
  * Plugin URI: https://cartflows.com/
5
  * Description: Recover your lost revenue. Capture email address of users on the checkout page and send follow up emails if they don't complete the purchase.
6
+ * Version: 1.2.19
7
  * Author: CartFlows Inc
8
  * Author URI: https://cartflows.com/
9
  * Text Domain: woo-cart-abandonment-recovery
10
  * WC requires at least: 3.0
11
+ * WC tested up to: 6.8.2
12
  *
13
  * @package Woocommerce-Cart-Abandonment-Recovery
14
  */