Abandoned Cart Lite for WooCommerce - Version 5.11.1

Version Description

( 18.11.2021 ) = * Fix - Email templates cannot be inserted/updated for updating users as DB changed are not being reflected correctly.

Download this release

Release Info

Developer tychesoftwares
Plugin Icon 128x128 Abandoned Cart Lite for WooCommerce
Version 5.11.1
Comparing to
See all releases

Code changes from version 5.11.0 to 5.11.1

class-wcal-update.php CHANGED
@@ -26,11 +26,31 @@ if ( ! class_exists( 'Wcal_Update' ) ) {
26
  * @since 5.8.2
27
  */
28
  public static function wcal_schedule_update_action() {
 
 
29
  // IMP: The default value for get option should be updated in each release to match the current version to ensure update code is not run for first time installs.
30
- if ( get_option( 'wcal_previous_version', WCAL_PLUGIN_VERSION ) !== WCAL_PLUGIN_VERSION && function_exists( 'as_enqueue_async_action' ) && false === as_next_scheduled_action( 'wcal_update_db' ) ) {
31
  as_enqueue_async_action( 'wcal_update_db' );
32
  }
33
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
  /**
35
  * It will be executed when the plugin is upgraded.
36
  *
@@ -40,30 +60,26 @@ if ( ! class_exists( 'Wcal_Update' ) ) {
40
  */
41
  public static function wcal_update_db_check() {
42
 
43
- $wcal_previous_version = get_option( 'wcal_previous_version' );
 
44
 
45
- if ( wcal_common::wcal_get_version() !== $wcal_previous_version ) {
46
- // check whether its a multi site install or a single site install.
47
- if ( is_multisite() ) {
48
-
49
- // check if tables exist for the child sites, if not, create.
50
- if ( 'yes' !== get_blog_option( 1, 'wcal_update_multisite' ) ) {
51
- // run the activate function.
52
- woocommerce_abandon_cart_lite::wcal_activate();
53
- update_blog_option( 1, 'wcal_update_multisite', 'yes' );
54
- }
55
- $blog_list = get_sites();
56
- foreach ( $blog_list as $blog_list_key => $blog_list_value ) {
57
- if ( $blog_list_value->blog_id > 1 ) { // child sites.
58
- $blog_id = $blog_list_value->blog_id;
59
- self::wcal_process_db_update( $blog_id );
60
- } else { // parent site.
61
- self::wcal_process_db_update();
62
- }
63
  }
64
- } else { // single site.
65
- self::wcal_process_db_update();
66
  }
 
 
67
  }
68
 
69
  }
@@ -87,11 +103,7 @@ if ( ! class_exists( 'Wcal_Update' ) ) {
87
  $default_template->wcal_create_default_templates( $db_prefix, $blog_id );
88
  }
89
 
90
- $wcal_previous_version = get_option( 'wcal_previous_version' );
91
-
92
- if ( wcal_common::wcal_get_version() !== $wcal_previous_version ) {
93
- update_option( 'wcal_previous_version', WCAL_PLUGIN_VERSION );
94
- }
95
  } else { // multi site - child sites.
96
  $wcal_guest_user_id_altered = get_blog_option( $blog_id, 'wcal_guest_user_id_altered' );
97
 
@@ -100,11 +112,7 @@ if ( ! class_exists( 'Wcal_Update' ) ) {
100
  $default_template->wcal_create_default_templates( $db_prefix, $blog_id );
101
  }
102
 
103
- $wcal_previous_version = get_blog_option( $blog_id, 'wcal_previous_version' );
104
-
105
- if ( wcal_common::wcal_get_version() !== $wcal_previous_version ) {
106
- update_blog_option( $blog_id, 'wcal_previous_version', WCAL_PLUGIN_VERSION );
107
- }
108
  }
109
 
110
  /**
26
  * @since 5.8.2
27
  */
28
  public static function wcal_schedule_update_action() {
29
+ // Apply a fix for update action not being run.
30
+ self::wcal_fix_db_version_issue();
31
  // IMP: The default value for get option should be updated in each release to match the current version to ensure update code is not run for first time installs.
32
+ if ( get_option( 'wcal_db_version', WCAL_PLUGIN_VERSION ) !== WCAL_PLUGIN_VERSION && function_exists( 'as_enqueue_async_action' ) && false === as_next_scheduled_action( 'wcal_update_db' ) ) {
33
  as_enqueue_async_action( 'wcal_update_db' );
34
  }
35
  }
36
+
37
+ /**
38
+ * Add the DB version option record.
39
+ *
40
+ * @since 5.11.1
41
+ */
42
+ public static function wcal_fix_db_version_issue() {
43
+ if ( is_multisite() ) {
44
+
45
+ $blog_list = get_sites();
46
+ foreach ( $blog_list as $blog_list_key => $blog_list_value ) {
47
+ add_blog_option( $blog_id, 'wcal_db_version', '5.10.0' ); // This version number should not be changed. Issue #786.
48
+ }
49
+ } else { // single site.
50
+ add_option( 'wcal_db_version', '5.10.0' ); // This version number should not be changed. Issue #786.
51
+ }
52
+ }
53
+
54
  /**
55
  * It will be executed when the plugin is upgraded.
56
  *
60
  */
61
  public static function wcal_update_db_check() {
62
 
63
+ // check whether its a multi site install or a single site install.
64
+ if ( is_multisite() ) {
65
 
66
+ // check if tables exist for the child sites, if not, create.
67
+ if ( 'yes' !== get_blog_option( 1, 'wcal_update_multisite' ) ) {
68
+ // run the activate function.
69
+ woocommerce_abandon_cart_lite::wcal_activate();
70
+ update_blog_option( 1, 'wcal_update_multisite', 'yes' );
71
+ }
72
+ $blog_list = get_sites();
73
+ foreach ( $blog_list as $blog_list_key => $blog_list_value ) {
74
+ if ( $blog_list_value->blog_id > 1 ) { // child sites.
75
+ $blog_id = $blog_list_value->blog_id;
76
+ self::wcal_process_db_update( $blog_id );
77
+ } else { // parent site.
78
+ self::wcal_process_db_update();
 
 
 
 
 
79
  }
 
 
80
  }
81
+ } else { // single site.
82
+ self::wcal_process_db_update();
83
  }
84
 
85
  }
103
  $default_template->wcal_create_default_templates( $db_prefix, $blog_id );
104
  }
105
 
106
+ update_option( 'wcal_db_version', WCAL_PLUGIN_VERSION );
 
 
 
 
107
  } else { // multi site - child sites.
108
  $wcal_guest_user_id_altered = get_blog_option( $blog_id, 'wcal_guest_user_id_altered' );
109
 
112
  $default_template->wcal_create_default_templates( $db_prefix, $blog_id );
113
  }
114
 
115
+ update_blog_option( $blog_id, 'wcal_db_version', WCAL_PLUGIN_VERSION );
 
 
 
 
116
  }
117
 
118
  /**
i18n/languages/woocommerce-abandoned-cart.pot CHANGED
@@ -2,14 +2,14 @@
2
  # This file is distributed under the same license as the Abandoned Cart Lite for WooCommerce plugin.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Abandoned Cart Lite for WooCommerce 5.11.0\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-abandoned-cart\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: 2021-11-02T05:33:53+00:00\n"
13
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
  "X-Generator: WP-CLI 2.4.0\n"
15
  "X-Domain: woocommerce-abandoned-cart\n"
@@ -39,45 +39,45 @@ msgid "Abandoned cart reminder"
39
  msgstr ""
40
 
41
  #: cron/class-wcal-cron.php:306
42
- #: woocommerce-ac.php:3068
43
- #: woocommerce-ac.php:3890
44
- #: woocommerce-ac.php:3925
45
  msgid "Quantity"
46
  msgstr ""
47
 
48
  #: cron/class-wcal-cron.php:307
49
- #: woocommerce-ac.php:3891
50
- #: woocommerce-ac.php:3926
51
  msgid "Price"
52
  msgstr ""
53
 
54
  #: cron/class-wcal-cron.php:308
55
- #: woocommerce-ac.php:3069
56
- #: woocommerce-ac.php:3892
57
- #: woocommerce-ac.php:3927
58
  msgid "Line Subtotal"
59
  msgstr ""
60
 
61
  #: cron/class-wcal-cron.php:313
62
  #: cron/class-wcal-cron.php:324
63
- #: woocommerce-ac.php:3886
64
- #: woocommerce-ac.php:3920
65
  msgid "Your Shopping Cart"
66
  msgstr ""
67
 
68
  #: cron/class-wcal-cron.php:315
69
  #: cron/class-wcal-cron.php:326
70
- #: woocommerce-ac.php:3066
71
- #: woocommerce-ac.php:3888
72
- #: woocommerce-ac.php:3923
73
  msgid "Item"
74
  msgstr ""
75
 
76
  #: cron/class-wcal-cron.php:316
77
  #: cron/class-wcal-cron.php:327
78
- #: woocommerce-ac.php:3067
79
- #: woocommerce-ac.php:3889
80
- #: woocommerce-ac.php:3924
81
  msgid "Name"
82
  msgstr ""
83
 
@@ -87,8 +87,8 @@ msgid "SKU: "
87
  msgstr ""
88
 
89
  #: cron/class-wcal-cron.php:433
90
- #: woocommerce-ac.php:3912
91
- #: woocommerce-ac.php:3947
92
  msgid "Cart Total:"
93
  msgstr ""
94
 
@@ -132,7 +132,7 @@ msgid "ANONYMIZED"
132
  msgstr ""
133
 
134
  #: includes/admin/class-wcal-personal-data-export.php:137
135
- #: woocommerce-ac.php:1295
136
  msgid "Abandoned Carts"
137
  msgstr ""
138
 
@@ -199,7 +199,7 @@ msgstr ""
199
  #: includes/admin/class-wcap-add-cart-popup-modal.php:84
200
  #: includes/admin/class-wcap-pro-settings.php:66
201
  #: includes/admin/class-wcap-pro-settings.php:359
202
- #: woocommerce-ac.php:3636
203
  msgid "Save Changes"
204
  msgstr ""
205
 
@@ -807,7 +807,7 @@ msgid "<strong>%s%%</strong> of Total Revenue"
807
  msgstr ""
808
 
809
  #: includes/classes/class-wcal-dashboard-report.php:161
810
- #: woocommerce-ac.php:2137
811
  msgid "Abandoned Orders"
812
  msgstr ""
813
 
@@ -872,7 +872,7 @@ msgid "Select date range:"
872
  msgstr ""
873
 
874
  #: includes/classes/class-wcal-dashboard-report.php:319
875
- #: woocommerce-ac.php:3019
876
  msgid "Go"
877
  msgstr ""
878
 
@@ -1014,8 +1014,8 @@ msgid "Search & select one coupon code that customers should use to get a discou
1014
  msgstr ""
1015
 
1016
  #: woocommerce-ac.php:305
1017
- #: woocommerce-ac.php:751
1018
- #: woocommerce-ac.php:2151
1019
  msgid "Settings"
1020
  msgstr ""
1021
 
@@ -1043,365 +1043,365 @@ msgstr ""
1043
  msgid "Abandoned cart Email Template"
1044
  msgstr ""
1045
 
1046
- #: woocommerce-ac.php:758
1047
  msgid "Enable abandoned cart emails"
1048
  msgstr ""
1049
 
1050
- #: woocommerce-ac.php:762
1051
  msgid "Yes, enable the abandoned cart emails."
1052
  msgstr ""
1053
 
1054
- #: woocommerce-ac.php:767
1055
  msgid "Cart abandoned cut-off time"
1056
  msgstr ""
1057
 
1058
- #: woocommerce-ac.php:771
1059
  msgid "Consider cart abandoned after X minutes of item being added to cart & order not placed."
1060
  msgstr ""
1061
 
1062
- #: woocommerce-ac.php:776
1063
  msgid "Automatically Delete Abandoned Orders after X days"
1064
  msgstr ""
1065
 
1066
- #: woocommerce-ac.php:780
1067
  msgid "Automatically delete abandoned cart orders after X days."
1068
  msgstr ""
1069
 
1070
- #: woocommerce-ac.php:785
1071
  msgid "Email admin On Order Recovery"
1072
  msgstr ""
1073
 
1074
- #: woocommerce-ac.php:789
1075
  msgid "Sends email to Admin if an Abandoned Cart Order is recovered."
1076
  msgstr ""
1077
 
1078
- #: woocommerce-ac.php:794
1079
  msgid "Start tracking from Cart Page"
1080
  msgstr ""
1081
 
1082
- #: woocommerce-ac.php:798
1083
  msgid "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."
1084
  msgstr ""
1085
 
1086
- #: woocommerce-ac.php:803
1087
  msgid "Message to be displayed for Guest users when tracking their carts"
1088
  msgstr ""
1089
 
1090
- #: woocommerce-ac.php:807
1091
  msgid "<br>In compliance with GDPR, add a message on the Checkout page to inform Guest users of how their data is being used.<br><i>For example: Your email address will help us support your shopping experience throughout the site. Please check our Privacy Policy to see how we use your personal data.</i>"
1092
  msgstr ""
1093
 
1094
- #: woocommerce-ac.php:812
1095
  msgid "Message to be displayed for registered users when tracking their carts."
1096
  msgstr ""
1097
 
1098
- #: woocommerce-ac.php:816
1099
  msgid "<br>In compliance with GDPR, add a message on the Shop & Product pages to inform Registered users of how their data is being used.<br><i>For example: Please check our Privacy Policy to see how we use your personal data.</i>"
1100
  msgstr ""
1101
 
1102
- #: woocommerce-ac.php:821
1103
  msgid "Allow the visitor to opt out of cart tracking."
1104
  msgstr ""
1105
 
1106
- #: woocommerce-ac.php:825
1107
  msgid "<br>In compliance with GDPR, allow the site visitor (guests & registered users) to opt out from cart tracking. This message will be displayed in conjunction with the GDPR message above.</i>"
1108
  msgstr ""
1109
 
1110
- #: woocommerce-ac.php:830
1111
  msgid "Message to be displayed when the user chooses to opt out of cart tracking."
1112
  msgstr ""
1113
 
1114
- #: woocommerce-ac.php:834
1115
  msgid "<br>Message to be displayed when the user chooses to opt out of cart tracking.</i>"
1116
  msgstr ""
1117
 
1118
- #: woocommerce-ac.php:838
1119
  msgid "Delete Coupons Automatically"
1120
  msgstr ""
1121
 
1122
- #: woocommerce-ac.php:842
1123
  msgid "Enable this setting if you want to completely remove the expired and used coupon code automatically every 15 days."
1124
  msgstr ""
1125
 
1126
- #: woocommerce-ac.php:846
1127
  msgid "Delete Coupons Manually"
1128
  msgstr ""
1129
 
1130
- #: woocommerce-ac.php:850
1131
  msgid "If you want to completely remove the expired and used coupon code now then click on \"Delete\" button."
1132
  msgstr ""
1133
 
1134
- #: woocommerce-ac.php:859
1135
  msgid "Settings for abandoned cart recovery emails"
1136
  msgstr ""
1137
 
1138
- #: woocommerce-ac.php:866
1139
  msgid "\"From\" Name"
1140
  msgstr ""
1141
 
1142
- #: woocommerce-ac.php:875
1143
  msgid "\"From\" Address"
1144
  msgstr ""
1145
 
1146
- #: woocommerce-ac.php:884
1147
  msgid "Send Reply Emails to"
1148
  msgstr ""
1149
 
1150
- #: woocommerce-ac.php:893
1151
  msgid "UTM parameters to be added to all the links in reminder emails"
1152
  msgstr ""
1153
 
1154
- #: woocommerce-ac.php:897
1155
  msgid "UTM parameters that should be added to all the links in reminder emails."
1156
  msgstr ""
1157
 
1158
- #: woocommerce-ac.php:1034
1159
  msgid "Abandoned cart cut off time should be numeric and has to be greater than 0."
1160
  msgstr ""
1161
 
1162
- #: woocommerce-ac.php:1051
1163
  msgid "Automatically Delete Abandoned Orders after X days has to be greater than 0."
1164
  msgstr ""
1165
 
1166
- #: woocommerce-ac.php:2130
1167
  msgid "Dashboard"
1168
  msgstr ""
1169
 
1170
- #: woocommerce-ac.php:2144
1171
  msgid "Email Templates"
1172
  msgstr ""
1173
 
1174
- #: woocommerce-ac.php:2158
1175
  msgid "Recovered Orders"
1176
  msgstr ""
1177
 
1178
- #: woocommerce-ac.php:2165
1179
  msgid "Product Report"
1180
  msgstr ""
1181
 
1182
- #: woocommerce-ac.php:2442
1183
  msgid "You do not have sufficient permissions to access this page."
1184
  msgstr ""
1185
 
1186
- #: woocommerce-ac.php:2446
1187
  msgid "WooCommerce - Abandon Cart Lite"
1188
  msgstr ""
1189
 
1190
- #: woocommerce-ac.php:2518
1191
  msgid "The Abandoned cart has been successfully deleted."
1192
  msgstr ""
1193
 
1194
- #: woocommerce-ac.php:2520
1195
  msgid "All Abandoned Carts have been successfully deleted."
1196
  msgstr ""
1197
 
1198
- #: woocommerce-ac.php:2522
1199
  msgid "All Visitor carts have been successfully deleted."
1200
  msgstr ""
1201
 
1202
- #: woocommerce-ac.php:2524
1203
  msgid "All Guest carts have been successfully deleted."
1204
  msgstr ""
1205
 
1206
- #: woocommerce-ac.php:2526
1207
  msgid "All Registered carts have been deleted."
1208
  msgstr ""
1209
 
1210
- #: woocommerce-ac.php:2537
1211
  msgid "The Template has been successfully deleted."
1212
  msgstr ""
1213
 
1214
- #: woocommerce-ac.php:2544
1215
  msgid "Change settings for sending email notifications to Customers, to Admin etc."
1216
  msgstr ""
1217
 
1218
- #: woocommerce-ac.php:2578
1219
  msgid "General Settings"
1220
  msgstr ""
1221
 
1222
- #: woocommerce-ac.php:2581
1223
  msgid "Email Sending Settings"
1224
  msgstr ""
1225
 
1226
- #: woocommerce-ac.php:2631
1227
  msgid "The list below shows all Abandoned Carts which have remained in cart for a time higher than the \"Cart abandoned cut-off time\" setting."
1228
  msgstr ""
1229
 
1230
- #: woocommerce-ac.php:2673
1231
  msgid "All "
1232
  msgstr ""
1233
 
1234
  #. translators: Users.
1235
- #: woocommerce-ac.php:2678
1236
  msgid "Registered %s"
1237
  msgstr ""
1238
 
1239
  #. translators: Users.
1240
- #: woocommerce-ac.php:2684
1241
  msgid "Guest %s"
1242
  msgstr ""
1243
 
1244
- #: woocommerce-ac.php:2690
1245
  msgid "Carts without Customer Details"
1246
  msgstr ""
1247
 
1248
- #: woocommerce-ac.php:2711
1249
  msgid "Add email templates at different intervals to maximize the possibility of recovering your abandoned carts."
1250
  msgstr ""
1251
 
1252
- #: woocommerce-ac.php:2851
1253
  msgid "The Email Template has been successfully added. In order to start sending this email to your customers, please activate it."
1254
  msgstr ""
1255
 
1256
- #: woocommerce-ac.php:2861
1257
  msgid "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>."
1258
  msgstr ""
1259
 
1260
- #: woocommerce-ac.php:2873
1261
  msgid "The Email Template has been successfully updated."
1262
  msgstr ""
1263
 
1264
- #: woocommerce-ac.php:2883
1265
  msgid "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>."
1266
  msgstr ""
1267
 
1268
- #: woocommerce-ac.php:2892
1269
  msgid "Add New Template"
1270
  msgstr ""
1271
 
1272
- #: woocommerce-ac.php:2964
1273
  msgid "The Report below shows how many Abandoned Carts we were able to recover for you by sending automatic emails to encourage shoppers."
1274
  msgstr ""
1275
 
1276
- #: woocommerce-ac.php:3015
1277
  msgid "Start Date:"
1278
  msgstr ""
1279
 
1280
- #: woocommerce-ac.php:3017
1281
  msgid "End Date:"
1282
  msgstr ""
1283
 
1284
  #. translators: Abandoned & recovered numbers and order totals.
1285
- #: woocommerce-ac.php:3037
1286
  msgid "During the selected range <strong>%1$d</strong> carts totaling <strong>%2$s</strong> were abandoned. We were able to recover <strong>%3$d</strong> of them, which led to an extra <strong>%4$s</strong>"
1287
  msgstr ""
1288
 
1289
  #. translators: Abandoned Order ID.
1290
- #: woocommerce-ac.php:3062
1291
  msgid "Abandoned Order #%s Details"
1292
  msgstr ""
1293
 
1294
- #: woocommerce-ac.php:3070
1295
  msgid "Line Total"
1296
  msgstr ""
1297
 
1298
- #: woocommerce-ac.php:3295
1299
  msgid "Customer Details"
1300
  msgstr ""
1301
 
1302
- #: woocommerce-ac.php:3299
1303
  msgid "Billing Details"
1304
  msgstr ""
1305
 
1306
- #: woocommerce-ac.php:3300
1307
  msgid "Name:"
1308
  msgstr ""
1309
 
1310
- #: woocommerce-ac.php:3303
1311
- #: woocommerce-ac.php:3324
1312
  msgid "Address:"
1313
  msgstr ""
1314
 
1315
- #: woocommerce-ac.php:3314
1316
  msgid "Email:"
1317
  msgstr ""
1318
 
1319
- #: woocommerce-ac.php:3318
1320
  msgid "Phone:"
1321
  msgstr ""
1322
 
1323
- #: woocommerce-ac.php:3323
1324
  msgid "Shipping Details"
1325
  msgstr ""
1326
 
1327
- #: woocommerce-ac.php:3333
1328
  msgid "Shipping Address same as Billing Address"
1329
  msgstr ""
1330
 
1331
- #: woocommerce-ac.php:3346
1332
  msgid "Shipping Charges"
1333
  msgstr ""
1334
 
1335
- #: woocommerce-ac.php:3430
1336
  msgid "Template Name:"
1337
  msgstr ""
1338
 
1339
- #: woocommerce-ac.php:3440
1340
  msgid "Enter a template name for reference"
1341
  msgstr ""
1342
 
1343
- #: woocommerce-ac.php:3446
1344
  msgid "Subject:"
1345
  msgstr ""
1346
 
1347
- #: woocommerce-ac.php:3456
1348
  msgid "Enter the subject that should appear in the email sent"
1349
  msgstr ""
1350
 
1351
- #: woocommerce-ac.php:3462
1352
  msgid "Email Body:"
1353
  msgstr ""
1354
 
1355
- #: woocommerce-ac.php:3489
1356
  msgid "Message to be sent in the reminder email."
1357
  msgstr ""
1358
 
1359
- #: woocommerce-ac.php:3516
1360
  msgid "Use WooCommerce Template Style:"
1361
  msgstr ""
1362
 
1363
- #: woocommerce-ac.php:3539
1364
  msgid "Email Template Header Text: "
1365
  msgstr ""
1366
 
1367
- #: woocommerce-ac.php:3554
1368
  msgid "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."
1369
  msgstr ""
1370
 
1371
- #: woocommerce-ac.php:3560
1372
  msgid "Send this email:"
1373
  msgstr ""
1374
 
1375
- #: woocommerce-ac.php:3602
1376
  msgid "after cart is abandoned."
1377
  msgstr ""
1378
 
1379
- #: woocommerce-ac.php:3609
1380
  msgid "Send a test email to:"
1381
  msgstr ""
1382
 
1383
- #: woocommerce-ac.php:3618
1384
  msgid "Enter the email id to which the test email needs to be sent."
1385
  msgstr ""
1386
 
1387
- #: woocommerce-ac.php:3632
1388
  msgid "Update Changes"
1389
  msgstr ""
1390
 
1391
- #: woocommerce-ac.php:3658
1392
  msgid "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> rating. Thank you in advance. :)"
1393
  msgstr ""
1394
 
1395
- #: woocommerce-ac.php:3710
1396
  msgid "Please enter a valid email."
1397
  msgstr ""
1398
 
1399
- #: woocommerce-ac.php:3896
1400
- #: woocommerce-ac.php:3931
1401
  msgid "Men's Formal Shoes"
1402
  msgstr ""
1403
 
1404
- #: woocommerce-ac.php:3903
1405
- #: woocommerce-ac.php:3938
1406
  msgid "Woman's Hand Bags"
1407
  msgstr ""
2
  # This file is distributed under the same license as the Abandoned Cart Lite for WooCommerce plugin.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Abandoned Cart Lite for WooCommerce 5.11.1\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-abandoned-cart\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: 2021-11-18T06:29:11+00:00\n"
13
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
  "X-Generator: WP-CLI 2.4.0\n"
15
  "X-Domain: woocommerce-abandoned-cart\n"
39
  msgstr ""
40
 
41
  #: cron/class-wcal-cron.php:306
42
+ #: woocommerce-ac.php:3071
43
+ #: woocommerce-ac.php:3893
44
+ #: woocommerce-ac.php:3928
45
  msgid "Quantity"
46
  msgstr ""
47
 
48
  #: cron/class-wcal-cron.php:307
49
+ #: woocommerce-ac.php:3894
50
+ #: woocommerce-ac.php:3929
51
  msgid "Price"
52
  msgstr ""
53
 
54
  #: cron/class-wcal-cron.php:308
55
+ #: woocommerce-ac.php:3072
56
+ #: woocommerce-ac.php:3895
57
+ #: woocommerce-ac.php:3930
58
  msgid "Line Subtotal"
59
  msgstr ""
60
 
61
  #: cron/class-wcal-cron.php:313
62
  #: cron/class-wcal-cron.php:324
63
+ #: woocommerce-ac.php:3889
64
+ #: woocommerce-ac.php:3923
65
  msgid "Your Shopping Cart"
66
  msgstr ""
67
 
68
  #: cron/class-wcal-cron.php:315
69
  #: cron/class-wcal-cron.php:326
70
+ #: woocommerce-ac.php:3069
71
+ #: woocommerce-ac.php:3891
72
+ #: woocommerce-ac.php:3926
73
  msgid "Item"
74
  msgstr ""
75
 
76
  #: cron/class-wcal-cron.php:316
77
  #: cron/class-wcal-cron.php:327
78
+ #: woocommerce-ac.php:3070
79
+ #: woocommerce-ac.php:3892
80
+ #: woocommerce-ac.php:3927
81
  msgid "Name"
82
  msgstr ""
83
 
87
  msgstr ""
88
 
89
  #: cron/class-wcal-cron.php:433
90
+ #: woocommerce-ac.php:3915
91
+ #: woocommerce-ac.php:3950
92
  msgid "Cart Total:"
93
  msgstr ""
94
 
132
  msgstr ""
133
 
134
  #: includes/admin/class-wcal-personal-data-export.php:137
135
+ #: woocommerce-ac.php:1298
136
  msgid "Abandoned Carts"
137
  msgstr ""
138
 
199
  #: includes/admin/class-wcap-add-cart-popup-modal.php:84
200
  #: includes/admin/class-wcap-pro-settings.php:66
201
  #: includes/admin/class-wcap-pro-settings.php:359
202
+ #: woocommerce-ac.php:3639
203
  msgid "Save Changes"
204
  msgstr ""
205
 
807
  msgstr ""
808
 
809
  #: includes/classes/class-wcal-dashboard-report.php:161
810
+ #: woocommerce-ac.php:2140
811
  msgid "Abandoned Orders"
812
  msgstr ""
813
 
872
  msgstr ""
873
 
874
  #: includes/classes/class-wcal-dashboard-report.php:319
875
+ #: woocommerce-ac.php:3022
876
  msgid "Go"
877
  msgstr ""
878
 
1014
  msgstr ""
1015
 
1016
  #: woocommerce-ac.php:305
1017
+ #: woocommerce-ac.php:754
1018
+ #: woocommerce-ac.php:2154
1019
  msgid "Settings"
1020
  msgstr ""
1021
 
1043
  msgid "Abandoned cart Email Template"
1044
  msgstr ""
1045
 
1046
+ #: woocommerce-ac.php:761
1047
  msgid "Enable abandoned cart emails"
1048
  msgstr ""
1049
 
1050
+ #: woocommerce-ac.php:765
1051
  msgid "Yes, enable the abandoned cart emails."
1052
  msgstr ""
1053
 
1054
+ #: woocommerce-ac.php:770
1055
  msgid "Cart abandoned cut-off time"
1056
  msgstr ""
1057
 
1058
+ #: woocommerce-ac.php:774
1059
  msgid "Consider cart abandoned after X minutes of item being added to cart & order not placed."
1060
  msgstr ""
1061
 
1062
+ #: woocommerce-ac.php:779
1063
  msgid "Automatically Delete Abandoned Orders after X days"
1064
  msgstr ""
1065
 
1066
+ #: woocommerce-ac.php:783
1067
  msgid "Automatically delete abandoned cart orders after X days."
1068
  msgstr ""
1069
 
1070
+ #: woocommerce-ac.php:788
1071
  msgid "Email admin On Order Recovery"
1072
  msgstr ""
1073
 
1074
+ #: woocommerce-ac.php:792
1075
  msgid "Sends email to Admin if an Abandoned Cart Order is recovered."
1076
  msgstr ""
1077
 
1078
+ #: woocommerce-ac.php:797
1079
  msgid "Start tracking from Cart Page"
1080
  msgstr ""
1081
 
1082
+ #: woocommerce-ac.php:801
1083
  msgid "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."
1084
  msgstr ""
1085
 
1086
+ #: woocommerce-ac.php:806
1087
  msgid "Message to be displayed for Guest users when tracking their carts"
1088
  msgstr ""
1089
 
1090
+ #: woocommerce-ac.php:810
1091
  msgid "<br>In compliance with GDPR, add a message on the Checkout page to inform Guest users of how their data is being used.<br><i>For example: Your email address will help us support your shopping experience throughout the site. Please check our Privacy Policy to see how we use your personal data.</i>"
1092
  msgstr ""
1093
 
1094
+ #: woocommerce-ac.php:815
1095
  msgid "Message to be displayed for registered users when tracking their carts."
1096
  msgstr ""
1097
 
1098
+ #: woocommerce-ac.php:819
1099
  msgid "<br>In compliance with GDPR, add a message on the Shop & Product pages to inform Registered users of how their data is being used.<br><i>For example: Please check our Privacy Policy to see how we use your personal data.</i>"
1100
  msgstr ""
1101
 
1102
+ #: woocommerce-ac.php:824
1103
  msgid "Allow the visitor to opt out of cart tracking."
1104
  msgstr ""
1105
 
1106
+ #: woocommerce-ac.php:828
1107
  msgid "<br>In compliance with GDPR, allow the site visitor (guests & registered users) to opt out from cart tracking. This message will be displayed in conjunction with the GDPR message above.</i>"
1108
  msgstr ""
1109
 
1110
+ #: woocommerce-ac.php:833
1111
  msgid "Message to be displayed when the user chooses to opt out of cart tracking."
1112
  msgstr ""
1113
 
1114
+ #: woocommerce-ac.php:837
1115
  msgid "<br>Message to be displayed when the user chooses to opt out of cart tracking.</i>"
1116
  msgstr ""
1117
 
1118
+ #: woocommerce-ac.php:841
1119
  msgid "Delete Coupons Automatically"
1120
  msgstr ""
1121
 
1122
+ #: woocommerce-ac.php:845
1123
  msgid "Enable this setting if you want to completely remove the expired and used coupon code automatically every 15 days."
1124
  msgstr ""
1125
 
1126
+ #: woocommerce-ac.php:849
1127
  msgid "Delete Coupons Manually"
1128
  msgstr ""
1129
 
1130
+ #: woocommerce-ac.php:853
1131
  msgid "If you want to completely remove the expired and used coupon code now then click on \"Delete\" button."
1132
  msgstr ""
1133
 
1134
+ #: woocommerce-ac.php:862
1135
  msgid "Settings for abandoned cart recovery emails"
1136
  msgstr ""
1137
 
1138
+ #: woocommerce-ac.php:869
1139
  msgid "\"From\" Name"
1140
  msgstr ""
1141
 
1142
+ #: woocommerce-ac.php:878
1143
  msgid "\"From\" Address"
1144
  msgstr ""
1145
 
1146
+ #: woocommerce-ac.php:887
1147
  msgid "Send Reply Emails to"
1148
  msgstr ""
1149
 
1150
+ #: woocommerce-ac.php:896
1151
  msgid "UTM parameters to be added to all the links in reminder emails"
1152
  msgstr ""
1153
 
1154
+ #: woocommerce-ac.php:900
1155
  msgid "UTM parameters that should be added to all the links in reminder emails."
1156
  msgstr ""
1157
 
1158
+ #: woocommerce-ac.php:1037
1159
  msgid "Abandoned cart cut off time should be numeric and has to be greater than 0."
1160
  msgstr ""
1161
 
1162
+ #: woocommerce-ac.php:1054
1163
  msgid "Automatically Delete Abandoned Orders after X days has to be greater than 0."
1164
  msgstr ""
1165
 
1166
+ #: woocommerce-ac.php:2133
1167
  msgid "Dashboard"
1168
  msgstr ""
1169
 
1170
+ #: woocommerce-ac.php:2147
1171
  msgid "Email Templates"
1172
  msgstr ""
1173
 
1174
+ #: woocommerce-ac.php:2161
1175
  msgid "Recovered Orders"
1176
  msgstr ""
1177
 
1178
+ #: woocommerce-ac.php:2168
1179
  msgid "Product Report"
1180
  msgstr ""
1181
 
1182
+ #: woocommerce-ac.php:2445
1183
  msgid "You do not have sufficient permissions to access this page."
1184
  msgstr ""
1185
 
1186
+ #: woocommerce-ac.php:2449
1187
  msgid "WooCommerce - Abandon Cart Lite"
1188
  msgstr ""
1189
 
1190
+ #: woocommerce-ac.php:2521
1191
  msgid "The Abandoned cart has been successfully deleted."
1192
  msgstr ""
1193
 
1194
+ #: woocommerce-ac.php:2523
1195
  msgid "All Abandoned Carts have been successfully deleted."
1196
  msgstr ""
1197
 
1198
+ #: woocommerce-ac.php:2525
1199
  msgid "All Visitor carts have been successfully deleted."
1200
  msgstr ""
1201
 
1202
+ #: woocommerce-ac.php:2527
1203
  msgid "All Guest carts have been successfully deleted."
1204
  msgstr ""
1205
 
1206
+ #: woocommerce-ac.php:2529
1207
  msgid "All Registered carts have been deleted."
1208
  msgstr ""
1209
 
1210
+ #: woocommerce-ac.php:2540
1211
  msgid "The Template has been successfully deleted."
1212
  msgstr ""
1213
 
1214
+ #: woocommerce-ac.php:2547
1215
  msgid "Change settings for sending email notifications to Customers, to Admin etc."
1216
  msgstr ""
1217
 
1218
+ #: woocommerce-ac.php:2581
1219
  msgid "General Settings"
1220
  msgstr ""
1221
 
1222
+ #: woocommerce-ac.php:2584
1223
  msgid "Email Sending Settings"
1224
  msgstr ""
1225
 
1226
+ #: woocommerce-ac.php:2634
1227
  msgid "The list below shows all Abandoned Carts which have remained in cart for a time higher than the \"Cart abandoned cut-off time\" setting."
1228
  msgstr ""
1229
 
1230
+ #: woocommerce-ac.php:2676
1231
  msgid "All "
1232
  msgstr ""
1233
 
1234
  #. translators: Users.
1235
+ #: woocommerce-ac.php:2681
1236
  msgid "Registered %s"
1237
  msgstr ""
1238
 
1239
  #. translators: Users.
1240
+ #: woocommerce-ac.php:2687
1241
  msgid "Guest %s"
1242
  msgstr ""
1243
 
1244
+ #: woocommerce-ac.php:2693
1245
  msgid "Carts without Customer Details"
1246
  msgstr ""
1247
 
1248
+ #: woocommerce-ac.php:2714
1249
  msgid "Add email templates at different intervals to maximize the possibility of recovering your abandoned carts."
1250
  msgstr ""
1251
 
1252
+ #: woocommerce-ac.php:2854
1253
  msgid "The Email Template has been successfully added. In order to start sending this email to your customers, please activate it."
1254
  msgstr ""
1255
 
1256
+ #: woocommerce-ac.php:2864
1257
  msgid "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>."
1258
  msgstr ""
1259
 
1260
+ #: woocommerce-ac.php:2876
1261
  msgid "The Email Template has been successfully updated."
1262
  msgstr ""
1263
 
1264
+ #: woocommerce-ac.php:2886
1265
  msgid "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>."
1266
  msgstr ""
1267
 
1268
+ #: woocommerce-ac.php:2895
1269
  msgid "Add New Template"
1270
  msgstr ""
1271
 
1272
+ #: woocommerce-ac.php:2967
1273
  msgid "The Report below shows how many Abandoned Carts we were able to recover for you by sending automatic emails to encourage shoppers."
1274
  msgstr ""
1275
 
1276
+ #: woocommerce-ac.php:3018
1277
  msgid "Start Date:"
1278
  msgstr ""
1279
 
1280
+ #: woocommerce-ac.php:3020
1281
  msgid "End Date:"
1282
  msgstr ""
1283
 
1284
  #. translators: Abandoned & recovered numbers and order totals.
1285
+ #: woocommerce-ac.php:3040
1286
  msgid "During the selected range <strong>%1$d</strong> carts totaling <strong>%2$s</strong> were abandoned. We were able to recover <strong>%3$d</strong> of them, which led to an extra <strong>%4$s</strong>"
1287
  msgstr ""
1288
 
1289
  #. translators: Abandoned Order ID.
1290
+ #: woocommerce-ac.php:3065
1291
  msgid "Abandoned Order #%s Details"
1292
  msgstr ""
1293
 
1294
+ #: woocommerce-ac.php:3073
1295
  msgid "Line Total"
1296
  msgstr ""
1297
 
1298
+ #: woocommerce-ac.php:3298
1299
  msgid "Customer Details"
1300
  msgstr ""
1301
 
1302
+ #: woocommerce-ac.php:3302
1303
  msgid "Billing Details"
1304
  msgstr ""
1305
 
1306
+ #: woocommerce-ac.php:3303
1307
  msgid "Name:"
1308
  msgstr ""
1309
 
1310
+ #: woocommerce-ac.php:3306
1311
+ #: woocommerce-ac.php:3327
1312
  msgid "Address:"
1313
  msgstr ""
1314
 
1315
+ #: woocommerce-ac.php:3317
1316
  msgid "Email:"
1317
  msgstr ""
1318
 
1319
+ #: woocommerce-ac.php:3321
1320
  msgid "Phone:"
1321
  msgstr ""
1322
 
1323
+ #: woocommerce-ac.php:3326
1324
  msgid "Shipping Details"
1325
  msgstr ""
1326
 
1327
+ #: woocommerce-ac.php:3336
1328
  msgid "Shipping Address same as Billing Address"
1329
  msgstr ""
1330
 
1331
+ #: woocommerce-ac.php:3349
1332
  msgid "Shipping Charges"
1333
  msgstr ""
1334
 
1335
+ #: woocommerce-ac.php:3433
1336
  msgid "Template Name:"
1337
  msgstr ""
1338
 
1339
+ #: woocommerce-ac.php:3443
1340
  msgid "Enter a template name for reference"
1341
  msgstr ""
1342
 
1343
+ #: woocommerce-ac.php:3449
1344
  msgid "Subject:"
1345
  msgstr ""
1346
 
1347
+ #: woocommerce-ac.php:3459
1348
  msgid "Enter the subject that should appear in the email sent"
1349
  msgstr ""
1350
 
1351
+ #: woocommerce-ac.php:3465
1352
  msgid "Email Body:"
1353
  msgstr ""
1354
 
1355
+ #: woocommerce-ac.php:3492
1356
  msgid "Message to be sent in the reminder email."
1357
  msgstr ""
1358
 
1359
+ #: woocommerce-ac.php:3519
1360
  msgid "Use WooCommerce Template Style:"
1361
  msgstr ""
1362
 
1363
+ #: woocommerce-ac.php:3542
1364
  msgid "Email Template Header Text: "
1365
  msgstr ""
1366
 
1367
+ #: woocommerce-ac.php:3557
1368
  msgid "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."
1369
  msgstr ""
1370
 
1371
+ #: woocommerce-ac.php:3563
1372
  msgid "Send this email:"
1373
  msgstr ""
1374
 
1375
+ #: woocommerce-ac.php:3605
1376
  msgid "after cart is abandoned."
1377
  msgstr ""
1378
 
1379
+ #: woocommerce-ac.php:3612
1380
  msgid "Send a test email to:"
1381
  msgstr ""
1382
 
1383
+ #: woocommerce-ac.php:3621
1384
  msgid "Enter the email id to which the test email needs to be sent."
1385
  msgstr ""
1386
 
1387
+ #: woocommerce-ac.php:3635
1388
  msgid "Update Changes"
1389
  msgstr ""
1390
 
1391
+ #: woocommerce-ac.php:3661
1392
  msgid "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> rating. Thank you in advance. :)"
1393
  msgstr ""
1394
 
1395
+ #: woocommerce-ac.php:3713
1396
  msgid "Please enter a valid email."
1397
  msgstr ""
1398
 
1399
+ #: woocommerce-ac.php:3899
1400
+ #: woocommerce-ac.php:3934
1401
  msgid "Men's Formal Shoes"
1402
  msgstr ""
1403
 
1404
+ #: woocommerce-ac.php:3906
1405
+ #: woocommerce-ac.php:3941
1406
  msgid "Woman's Hand Bags"
1407
  msgstr ""
readme.txt CHANGED
@@ -4,7 +4,7 @@ Contributors: ashokrane, pinal.shah, bhavik.kiri, chetnapatel, tychesoftwares, d
4
  Tags: cart abandonment, abandon cart, cart recovery, recover woocommerce cart, increase woocommerce conversion rate, increase sales with woocommerce
5
  Author URI: https://www.tychesoftwares.com/
6
  Requires at least: 1.3
7
- Tested up to: 5.8.1
8
  Stable tag: trunk
9
  Requires PHP: 5.6
10
  License: GPLv2 or late
@@ -222,6 +222,9 @@ The admin can use the merge code `{{cart.unsubscribe}}' in the email templates.
222
  6. Product Report Tab.
223
 
224
  == Changelog ==
 
 
 
225
  = 5.11.0 ( 02.11.2021 ) =
226
  * Enhancement - Added a new merge tag to include Coupon codes in email reminders.
227
  * Enhancement - Users can now set up the plugin to generate a unique coupon code in the reminder email or use an existing coupon created in Marketing > Coupons.
4
  Tags: cart abandonment, abandon cart, cart recovery, recover woocommerce cart, increase woocommerce conversion rate, increase sales with woocommerce
5
  Author URI: https://www.tychesoftwares.com/
6
  Requires at least: 1.3
7
+ Tested up to: 5.8.2
8
  Stable tag: trunk
9
  Requires PHP: 5.6
10
  License: GPLv2 or late
222
  6. Product Report Tab.
223
 
224
  == Changelog ==
225
+ = 5.11.1 ( 18.11.2021 ) =
226
+ * Fix - Email templates cannot be inserted/updated for updating users as DB changed are not being reflected correctly.
227
+
228
  = 5.11.0 ( 02.11.2021 ) =
229
  * Enhancement - Added a new merge tag to include Coupon codes in email reminders.
230
  * Enhancement - Users can now set up the plugin to generate a unique coupon code in the reminder email or use an existing coupon created in Marketing > Coupons.
uninstall.php CHANGED
@@ -69,6 +69,8 @@ if ( is_multisite() ) { // Multisite.
69
  delete_blog_option( $blog_id_number, 'wcal_enable_cart_emails' );
70
  delete_blog_option( $blog_id_number, 'wcal_scheduler_update_dismiss' );
71
  delete_blog_option( $blog_id_number, 'wcal_add_email_status_col' );
 
 
72
  } else {
73
 
74
  require_once ABSPATH . 'wp-admin/includes/upgrade.php';
@@ -142,3 +144,5 @@ delete_option( 'ac_lite_delete_redundant_queries' );
142
  delete_option( 'wcal_enable_cart_emails' );
143
  delete_option( 'wcal_scheduler_update_dismiss' );
144
  delete_option( 'wcal_add_email_status_col' );
 
 
69
  delete_blog_option( $blog_id_number, 'wcal_enable_cart_emails' );
70
  delete_blog_option( $blog_id_number, 'wcal_scheduler_update_dismiss' );
71
  delete_blog_option( $blog_id_number, 'wcal_add_email_status_col' );
72
+ delete_blog_option( $blog_id_number, 'wcal_db_version' );
73
+ delete_blog_option( $blog_id_number, 'wcal_previous_version' );
74
  } else {
75
 
76
  require_once ABSPATH . 'wp-admin/includes/upgrade.php';
144
  delete_option( 'wcal_enable_cart_emails' );
145
  delete_option( 'wcal_scheduler_update_dismiss' );
146
  delete_option( 'wcal_add_email_status_col' );
147
+ delete_option( 'wcal_db_version' );
148
+ delete_option( 'wcal_previous_version' );
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: 5.11.0
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: 5.8.0
14
  *
15
  * @package Abandoned-Cart-Lite-for-WooCommerce
16
  */
@@ -118,7 +118,7 @@ if ( ! class_exists( 'woocommerce_abandon_cart_lite' ) ) {
118
  }
119
 
120
  if ( ! defined( 'WCAL_PLUGIN_VERSION' ) ) {
121
- define( 'WCAL_PLUGIN_VERSION', '5.11.0' );
122
  }
123
 
124
  if ( ! defined( 'WCAL_PLUGIN_PATH' ) ) {
@@ -554,12 +554,15 @@ if ( ! class_exists( 'woocommerce_abandon_cart_lite' ) ) {
554
  if ( $blog_list_value->blog_id > 1 ) { // child sites.
555
  $blog_id = $blog_list_value->blog_id;
556
  self::wcal_process_activate( $blog_id );
 
557
  } else { // parent site.
558
  self::wcal_process_activate();
 
559
  }
560
  }
561
  } else { // single site.
562
  self::wcal_process_activate();
 
563
  }
564
  }
565
 
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: 5.11.1
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: 4.0.0
13
+ * WC tested up to: 5.9.0
14
  *
15
  * @package Abandoned-Cart-Lite-for-WooCommerce
16
  */
118
  }
119
 
120
  if ( ! defined( 'WCAL_PLUGIN_VERSION' ) ) {
121
+ define( 'WCAL_PLUGIN_VERSION', '5.11.1' );
122
  }
123
 
124
  if ( ! defined( 'WCAL_PLUGIN_PATH' ) ) {
554
  if ( $blog_list_value->blog_id > 1 ) { // child sites.
555
  $blog_id = $blog_list_value->blog_id;
556
  self::wcal_process_activate( $blog_id );
557
+ add_blog_option( $blog_id, 'wcal_db_version', WCAL_PLUGIN_VERSION );
558
  } else { // parent site.
559
  self::wcal_process_activate();
560
+ add_blog_option( 1, 'wcal_db_version', WCAL_PLUGIN_VERSION );
561
  }
562
  }
563
  } else { // single site.
564
  self::wcal_process_activate();
565
+ add_option( 'wcal_db_version', WCAL_PLUGIN_VERSION );
566
  }
567
  }
568