Abandoned Cart Lite for WooCommerce - Version 5.0.2

Version Description

Download this release

Release Info

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

Code changes from version 5.0 to 5.0.2

woocommerce-abandoned-cart/includes/component/{woocommerce-check → WooCommerce-Check}/Instructions RENAMED
File without changes
woocommerce-abandoned-cart/includes/component/{woocommerce-check → WooCommerce-Check}/ts-woo-active.php RENAMED
File without changes
woocommerce-abandoned-cart/includes/wcal_all_component.php CHANGED
@@ -9,22 +9,22 @@ if ( ! defined( 'ABSPATH' ) ) {
9
  exit; // Exit if accessed directly.
10
  }
11
  if ( ! class_exists( 'Wcal_All_Component' ) ) {
12
- /**
13
- * It will Add all the Boilerplate component when we activate the plugin.
14
- *
15
- */
16
- class Wcal_All_Component {
17
-
18
- /**
19
- * It will Add all the Boilerplate component when we activate the plugin.
20
- */
21
- public function __construct() {
22
 
23
- $is_admin = is_admin();
24
 
25
- if ( true === $is_admin ) {
26
 
27
- require_once( "component/woocommerce-check/ts-woo-active.php" );
28
 
29
  require_once( "component/tracking-data/ts-tracking.php" );
30
  require_once( "component/deactivate-survey-popup/class-ts-deactivation.php" );
@@ -64,13 +64,13 @@ if ( ! class_exists( 'Wcal_All_Component' ) ) {
64
  $wcal_deativate = new Wcal_TS_deactivate;
65
  $wcal_deativate->init ( $wcal_file_name, $wcal_plugin_name );
66
 
67
- new Wcal_TS_Welcome ( $wcal_plugin_name, $wcal_plugin_prefix, $wcal_locale, $wcal_plugin_folder_name, $wcal_plugin_dir_name, $wcal_get_previous_version );
68
 
69
  $ts_pro_faq = self::wcal_get_faq ();
70
  new Wcal_TS_Faq_Support( $wcal_plugin_name, $wcal_plugin_prefix, $wcal_plugins_page, $wcal_locale, $wcal_plugin_folder_name, $wcal_plugin_slug, $ts_pro_faq );
71
 
72
- $ts_pro_notices = self::wcal_get_notice_text ();
73
- new Wcal_ts_pro_notices( $wcal_plugin_name, $wcal_lite_plugin_prefix, $wcal_plugin_prefix, $ts_pro_notices, $wcal_file_name, $wcal_pro_file_name );
74
 
75
  }
76
  }
@@ -112,7 +112,7 @@ if ( ! class_exists( 'Wcal_All_Component' ) ) {
112
  $_link = 'https://www.tychesoftwares.com/store/premium-plugins/deposits-for-woocommerce/?utm_source=wpnotice&utm_medium=eight&utm_campaign=AbandonedCartLitePlugin';
113
  $message_nine = wp_kses_post ( __( ' Allow your customers to pay deposits on products using our Deposits for WooCommerce plugin. <br>
114
  <strong><a target="_blank" href= "'.$_link.'">Purchase now</a></strong> & Grab 20% discount with the code "DFWP20". The discount code is valid only for the first 20 customers.', 'woocommerce-abandoned-cart' ) );
115
-
116
  $ts_pro_notices = array (
117
  1 => $message_first,
118
  2 => $message_two,
@@ -127,8 +127,8 @@ if ( ! class_exists( 'Wcal_All_Component' ) ) {
127
 
128
  return $ts_pro_notices;
129
  }
130
-
131
- /**
132
  * It will contain all the FAQ which need to be display on the FAQ page.
133
  * @return array $ts_faq All questions and answers.
134
  *
@@ -151,24 +151,24 @@ if ( ! class_exists( 'Wcal_All_Component' ) ) {
151
  When logged-in user add the product to the cart we capture the email address from the user’s profile.'
152
  ),
153
  3 => array (
154
- 'question' => 'I want to know if it is possible to exclude tax from product price for abandoned order.',
155
- 'answer' => 'Currently it is not possible to exclude tax from the product price from the abandoned order view if tax is applicable for the product.'
156
  ),
157
  4 => array (
158
- 'question' => 'Is it possible to delete thousands of or all abandoned cart records at a once?',
159
- 'answer' => 'No, it is not possible to delete thousands of abandoned cart records in bulk. Our plugin does have the Bulk action functionality. But you can delete upto 30 Abandoned Carts in bulk. You can run a SQL query in the Database to delete those carts. For detailed steps please contact us via Support.'
160
  ),
161
  5 => array (
162
- 'question' => 'Is there any way to not capture the visitors carts?',
163
- 'answer' => 'You can uncheck the “Start tracking from Cart Page” setting under the General Settings menu of the Settings tab.'
164
  ),
165
  6 => array (
166
- 'question' => 'How can I know that abandoned cart reminders are being sent to customers?',
167
- 'answer' => 'It is not possible in the Abandoned Cart LITE plugin to check the records of the Abandoned Cart Reminder email whether email notifications are being sent or not. However you can upgrade to PRO version of our plugin to enable this feature.'
168
  ),
169
  7 => array (
170
- 'question' => 'Is there an alternate way to send the abandon cart emails automatically at regular intervals? As the WP-Cron is not running on my site.',
171
- 'answer' => 'Yes, you can setup a manual cron in your server’s administration panel.
172
  <br/><br/>
173
  For example, if you are using cPanel, it has a section Named as "Cron Jobs" which allows you to create the cron job.
174
  <br/><br/>
@@ -177,21 +177,21 @@ if ( ! class_exists( 'Wcal_All_Component' ) ) {
177
  You can refer to this document for creating a <a href="https://documentation.cpanel.net/display/68Docs/Cron+Jobs">cron job</a> in cPanel.'
178
  ),
179
  8 => array (
180
- 'question' => 'Does the plugin consider the cart as abandoned for Pending and Failed order status?',
181
- 'answer' => 'Yes, our plugin considers such carts (Pending Payment and Failed orders) as abandoned. It will send the abandoned cart reminder email to the customers if they fail to proceed with the payment after Cart abandoned cut off time reached.'
182
  ),
183
  9 => array (
184
- 'question' => 'How can we translate the strings of {{products.cart}} merge tag in the email?',
185
- 'answer' => 'To translate the strings, you need to generate ".po" and ".mo" files in your respective language. These files then need to be added to the following path: "woocommerce-abandoned-cart/i18n/languages"'
186
  ),
187
  10 => array (
188
- 'question' => 'There was a problem creating an email template on Multisite.',
189
- 'answer' => 'On Multisite, if you have activated the plugin from Network site then please deactivate it and activate the Abandoned Cart Lite plugin from an Individual site. So, one default email template will be created on the activation of the plugin and you can create new email template.'
190
  )
191
  );
192
 
193
  return $ts_faq;
194
  }
195
- }
196
- $Wcal_All_Component = new Wcal_All_Component();
197
  }
9
  exit; // Exit if accessed directly.
10
  }
11
  if ( ! class_exists( 'Wcal_All_Component' ) ) {
12
+ /**
13
+ * It will Add all the Boilerplate component when we activate the plugin.
14
+ *
15
+ */
16
+ class Wcal_All_Component {
17
+
18
+ /**
19
+ * It will Add all the Boilerplate component when we activate the plugin.
20
+ */
21
+ public function __construct() {
22
 
23
+ $is_admin = is_admin();
24
 
25
+ if ( true === $is_admin ) {
26
 
27
+ require_once( "component/WooCommerce-Check/ts-woo-active.php" );
28
 
29
  require_once( "component/tracking-data/ts-tracking.php" );
30
  require_once( "component/deactivate-survey-popup/class-ts-deactivation.php" );
64
  $wcal_deativate = new Wcal_TS_deactivate;
65
  $wcal_deativate->init ( $wcal_file_name, $wcal_plugin_name );
66
 
67
+ /*new Wcal_TS_Welcome ( $wcal_plugin_name, $wcal_plugin_prefix, $wcal_locale, $wcal_plugin_folder_name, $wcal_plugin_dir_name, $wcal_get_previous_version );*/
68
 
69
  $ts_pro_faq = self::wcal_get_faq ();
70
  new Wcal_TS_Faq_Support( $wcal_plugin_name, $wcal_plugin_prefix, $wcal_plugins_page, $wcal_locale, $wcal_plugin_folder_name, $wcal_plugin_slug, $ts_pro_faq );
71
 
72
+ /*$ts_pro_notices = self::wcal_get_notice_text ();
73
+ new Wcal_ts_pro_notices( $wcal_plugin_name, $wcal_lite_plugin_prefix, $wcal_plugin_prefix, $ts_pro_notices, $wcal_file_name, $wcal_pro_file_name );*/
74
 
75
  }
76
  }
112
  $_link = 'https://www.tychesoftwares.com/store/premium-plugins/deposits-for-woocommerce/?utm_source=wpnotice&utm_medium=eight&utm_campaign=AbandonedCartLitePlugin';
113
  $message_nine = wp_kses_post ( __( ' Allow your customers to pay deposits on products using our Deposits for WooCommerce plugin. <br>
114
  <strong><a target="_blank" href= "'.$_link.'">Purchase now</a></strong> & Grab 20% discount with the code "DFWP20". The discount code is valid only for the first 20 customers.', 'woocommerce-abandoned-cart' ) );
115
+
116
  $ts_pro_notices = array (
117
  1 => $message_first,
118
  2 => $message_two,
127
 
128
  return $ts_pro_notices;
129
  }
130
+
131
+ /**
132
  * It will contain all the FAQ which need to be display on the FAQ page.
133
  * @return array $ts_faq All questions and answers.
134
  *
151
  When logged-in user add the product to the cart we capture the email address from the user’s profile.'
152
  ),
153
  3 => array (
154
+ 'question' => 'I want to know if it is possible to exclude tax from product price for abandoned order.',
155
+ 'answer' => 'Currently it is not possible to exclude tax from the product price from the abandoned order view if tax is applicable for the product.'
156
  ),
157
  4 => array (
158
+ 'question' => 'Is it possible to delete thousands of or all abandoned cart records at a once?',
159
+ 'answer' => 'No, it is not possible to delete thousands of abandoned cart records in bulk. Our plugin does have the Bulk action functionality. But you can delete upto 30 Abandoned Carts in bulk. You can run a SQL query in the Database to delete those carts. For detailed steps please contact us via Support.'
160
  ),
161
  5 => array (
162
+ 'question' => 'Is there any way to not capture the visitors carts?',
163
+ 'answer' => 'You can uncheck the “Start tracking from Cart Page” setting under the General Settings menu of the Settings tab.'
164
  ),
165
  6 => array (
166
+ 'question' => 'How can I know that abandoned cart reminders are being sent to customers?',
167
+ 'answer' => 'It is not possible in the Abandoned Cart LITE plugin to check the records of the Abandoned Cart Reminder email whether email notifications are being sent or not. However you can upgrade to PRO version of our plugin to enable this feature.'
168
  ),
169
  7 => array (
170
+ 'question' => 'Is there an alternate way to send the abandon cart emails automatically at regular intervals? As the WP-Cron is not running on my site.',
171
+ 'answer' => 'Yes, you can setup a manual cron in your server’s administration panel.
172
  <br/><br/>
173
  For example, if you are using cPanel, it has a section Named as "Cron Jobs" which allows you to create the cron job.
174
  <br/><br/>
177
  You can refer to this document for creating a <a href="https://documentation.cpanel.net/display/68Docs/Cron+Jobs">cron job</a> in cPanel.'
178
  ),
179
  8 => array (
180
+ 'question' => 'Does the plugin consider the cart as abandoned for Pending and Failed order status?',
181
+ 'answer' => 'Yes, our plugin considers such carts (Pending Payment and Failed orders) as abandoned. It will send the abandoned cart reminder email to the customers if they fail to proceed with the payment after Cart abandoned cut off time reached.'
182
  ),
183
  9 => array (
184
+ 'question' => 'How can we translate the strings of {{products.cart}} merge tag in the email?',
185
+ 'answer' => 'To translate the strings, you need to generate ".po" and ".mo" files in your respective language. These files then need to be added to the following path: "woocommerce-abandoned-cart/i18n/languages"'
186
  ),
187
  10 => array (
188
+ 'question' => 'There was a problem creating an email template on Multisite.',
189
+ 'answer' => 'On Multisite, if you have activated the plugin from Network site then please deactivate it and activate the Abandoned Cart Lite plugin from an Individual site. So, one default email template will be created on the activation of the plugin and you can create new email template.'
190
  )
191
  );
192
 
193
  return $ts_faq;
194
  }
195
+ }
196
+ $Wcal_All_Component = new Wcal_All_Component();
197
  }
woocommerce-abandoned-cart/includes/wcal_ts_tracking.php ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Abandoned Cart Lite for WooCommerce
4
+ *
5
+ * It will manage the tracking of the plugin data.
6
+ *
7
+ * @author Tyche Softwares
8
+ * @package Abandoned-Cart-Lite-for-WooCommerce/Admin/Tracking-Data
9
+ */
10
+
11
+ include_once( 'classes/class-wcal-ts-tracker.php' );
12
+
13
+ /**
14
+ * It will have all the data for tracking the data.
15
+ * @since 3.9
16
+ */
17
+ class Wcal_TS_Tracking {
18
+ /**
19
+ * It will add all the necessary action for tracking the data.
20
+ * @since 3.9
21
+ */
22
+ public function __construct() {
23
+ //Tracking Data
24
+ add_action( 'admin_notices', array( &$this, 'wcal_track_usage_data' ), 10 );
25
+ add_action( 'admin_footer', array( &$this, 'wcal_admin_notices_scripts' ) );
26
+ add_action( 'wp_ajax_wcal_admin_notices', array( &$this, 'wcal_admin_notices' ) );
27
+ }
28
+
29
+ /**
30
+ * It will add the js for dismissible notice.
31
+ * @since 3.9
32
+ */
33
+ public static function wcal_admin_notices_scripts() {
34
+ wp_enqueue_script( 'wcal_admin_dismissal_notice', plugins_url() . '/woocommerce-abandoned-cart/assets/js/wcal_ts_dismiss_notice.js' );
35
+ }
36
+
37
+ /**
38
+ * It will the admin notice.
39
+ * @since 3.9
40
+ */
41
+ public static function wcal_admin_notices() {
42
+ Class_Wcal_Ts_Tracker::wcal_ts_send_tracking_data( false );
43
+ update_option( 'wcal_allow_tracking', 'dismissed' );
44
+ die();
45
+ }
46
+
47
+ /**
48
+ * It will check the selected admin action it will be either allow or not allow.
49
+ * @since 3.9
50
+ */
51
+ private function wcal_ts_tracking_actions() {
52
+
53
+ if ( isset( $_GET[ 'wcal_tracker_optin' ] ) && isset( $_GET[ 'wcal_tracker_nonce' ] ) && wp_verify_nonce( $_GET[ 'wcal_tracker_nonce' ], 'wcal_tracker_optin' ) ) {
54
+ update_option( 'wcal_allow_tracking', 'yes' );
55
+ Class_Wcal_Ts_Tracker::wcal_ts_send_tracking_data( true );
56
+ header( 'Location: ' . $_SERVER[ 'HTTP_REFERER' ] );
57
+ } elseif ( isset( $_GET[ 'wcal_tracker_optout' ] ) && isset( $_GET[ 'wcal_tracker_nonce' ] ) && wp_verify_nonce( $_GET[ 'wcal_tracker_nonce' ], 'wcal_tracker_optout' ) ) {
58
+ update_option( 'wcal_allow_tracking', 'no' );
59
+ Class_Wcal_Ts_Tracker::wcal_ts_send_tracking_data( false );
60
+ header( 'Location: ' . $_SERVER[ 'HTTP_REFERER' ] );
61
+ }
62
+ }
63
+
64
+ /**
65
+ * It will add the notice on the admin side.
66
+ * @since 3.9
67
+ */
68
+ function wcal_track_usage_data() {
69
+ $wcal_admin_url = get_admin_url();
70
+ echo '<input type="hidden" id="admin_url" value="' . $wcal_admin_url . '"/>';
71
+ $this->wcal_ts_tracking_actions();
72
+ if ( 'unknown' === get_option( 'wcal_allow_tracking', 'unknown' ) ) : ?>
73
+ <div class="wcal-message wcal-tracker notice notice-info is-dismissible" style="position: relative;">
74
+ <div style="position: absolute;"><img class="site-logo" src="<?php echo plugins_url(); ?>/woocommerce-abandoned-cart/assets/images/site-logo-new.jpg"></div>
75
+ <p style="margin: 10px 0 10px 130px; font-size: medium;">
76
+ <?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>
77
+ <p class="submit">
78
+ <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>
79
+ <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>
80
+ </p>
81
+ </div>
82
+ <?php endif;
83
+ }
84
+ }
85
+ $TS_tracking = new Wcal_TS_Tracking();
woocommerce-abandoned-cart/includes/welcome.php ADDED
@@ -0,0 +1,313 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ // Exit if accessed directly.
4
+ if ( ! defined( 'ABSPATH' ) ) {
5
+ exit;
6
+ }
7
+
8
+ /**
9
+ * Abandoned Cart Lite for WooCommerce
10
+ *
11
+ * Displays on plugin activation.
12
+ *
13
+ * @author Tyche Softwares
14
+ * @package Abandoned-Cart-Lite-for-WooCommerce/Admin/Welcome-Page
15
+ */
16
+
17
+ class Wcal_Welcome {
18
+
19
+ /**
20
+ * @var string The capability users should have to view the page
21
+ */
22
+ public $minimum_capability = 'manage_options';
23
+
24
+ /**
25
+ * It will add all the action for welcome page.
26
+ * @since 4.5
27
+ */
28
+ public function __construct() {
29
+
30
+ add_action( 'admin_menu', array( $this, 'admin_menus' ) );
31
+ add_action( 'admin_head', array( $this, 'admin_head' ) );
32
+
33
+ if ( !isset( $_GET[ 'page' ] ) ||
34
+ ( isset( $_GET[ 'page' ] ) && $_GET[ 'page' ] != 'wcal-about' ) ) {
35
+ add_action( 'admin_init', array( $this, 'welcome' ) );
36
+ }
37
+ }
38
+
39
+ /**
40
+ * Register the Dashboard Page which is later hidden but this pages
41
+ * is used to render the Welcome page.
42
+ * @since 4.5
43
+ */
44
+ public function admin_menus() {
45
+ $display_version = WCAL_VERSION;
46
+
47
+ // Welcome Page
48
+ add_dashboard_page(
49
+ sprintf( esc_html__( 'Welcome to Abandoned Cart Lite %s', 'woocommerce-abandoned-cart' ), $display_version ),
50
+ esc_html__( 'Welcome to Abandoned Cart Lite', 'woocommerce-abandoned-cart' ),
51
+ $this->minimum_capability,
52
+ 'wcal-about',
53
+ array( $this, 'about_screen' )
54
+ );
55
+
56
+ }
57
+
58
+ /**
59
+ * Hide Individual Dashboard Pages.
60
+ * @since 4.5
61
+ */
62
+ public function admin_head() {
63
+ remove_submenu_page( 'index.php', 'wcal-about' );
64
+ }
65
+
66
+ /**
67
+ * Render Welcome Screen.
68
+ * @since 4.5
69
+ */
70
+ public function about_screen() {
71
+ $display_version = WCAL_VERSION;
72
+ // Badge for welcome page
73
+ $badge_url = WCAL_PLUGIN_URL . 'assets/images/icon-256x256.png';
74
+ ?>
75
+ <style>
76
+ .feature-section .feature-section-item {
77
+ float:left;
78
+ width:48%;
79
+ }
80
+ </style>
81
+ <div class="wrap about-wrap">
82
+
83
+ <?php $this->get_welcome_header() ?>
84
+
85
+ <div style="float:left;width: 80%;">
86
+ <p class="about-text" style="margin-right:20px;"><?php
87
+ printf(
88
+ __( "Thank you for activating or updating to the latest version of Abandoned Cart Lite! If you're a first time user, welcome! You're well on your way to start recovering your lost revenues." )
89
+ );
90
+ ?></p>
91
+ </div>
92
+ <div class="wcal-badge"><img src="<?php echo $badge_url; ?>" style="width:150px;"/></div>
93
+
94
+ <p>&nbsp;</p>
95
+
96
+ <div class="feature-section clearfix introduction">
97
+
98
+ <h3><?php esc_html_e( "Get Started with Abandoned Cart Lite", 'woocommerce-abandoned-cart' ); ?></h3>
99
+
100
+ <div class="video feature-section-item" style="float:left;padding-right:10px;">
101
+ <img src="<?php echo WCAL_PLUGIN_URL . '/assets/images/abandoned-cart-lite-email-templates.png' ?>"
102
+ alt="<?php esc_attr_e( 'WooCommerce Abandoned Cart Lite', 'woocommerce-abandoned-cart' ); ?>" style="width:600px;">
103
+ </div>
104
+
105
+ <div class="content feature-section-item last-feature">
106
+ <h3><?php esc_html_e( 'Activate Email Template', 'woocommerce-abandoned-cart' ); ?></h3>
107
+
108
+ <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>
109
+ <a href="admin.php?page=woocommerce_ac_page&action=emailtemplates" target="_blank" class="button-secondary">
110
+ <?php esc_html_e( 'Click Here to go to Email Templates page', 'woocommerce-abandoned-cart' ); ?>
111
+ <span class="dashicons dashicons-external"></span>
112
+ </a>
113
+ </div>
114
+ </div>
115
+
116
+ <!-- /.intro-section -->
117
+
118
+ <div class="content">
119
+
120
+ <h3><?php esc_html_e( "Know more about Abandoned Cart Pro", 'woocommerce-abandoned-cart' ); ?></h3>
121
+
122
+ <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>
123
+
124
+ <div class="feature-section clearfix introduction">
125
+ <div class="video feature-section-item" style="float:left;padding-right:10px;">
126
+ <img src="https://www.tychesoftwares.com/wp-content/uploads/2017/08/atc_frontend.png"
127
+ alt="<?php esc_attr_e( 'WooCommerce Abandoned Cart Lite', 'woocommerce-abandoned-cart' ); ?>" style="width:500px;">
128
+ </div>
129
+
130
+ <div class="content feature-section-item last-feature">
131
+ <h3><?php esc_html_e( 'Capture Visitor Emails on click of Add to Cart button', 'woocommerce-abandoned-cart' ); ?></h3>
132
+
133
+ <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>
134
+ <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">
135
+ <?php esc_html_e( 'Learn More', 'woocommerce-abandoned-cart' ); ?>
136
+ <span class="dashicons dashicons-external"></span>
137
+ </a>
138
+ </div>
139
+ </div>
140
+
141
+ <div class="feature-section clearfix">
142
+ <div class="content feature-section-item">
143
+
144
+ <h3><?php esc_html_e( 'Set different cut-off times for visitors & logged-in users', 'woocommerce-abandoned-cart' ); ?></h3>
145
+
146
+ <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>
147
+ <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">
148
+ <?php esc_html_e( 'Learn More', 'woocommerce-abandoned-cart' ); ?>
149
+ <span class="dashicons dashicons-external"></span>
150
+ </a>
151
+ </div>
152
+
153
+ <div class="content feature-section-item last-feature">
154
+ <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;">
155
+ </div>
156
+ </div>
157
+
158
+
159
+ <div class="feature-section clearfix introduction">
160
+ <div class="video feature-section-item" style="float:left;padding-right:10px;">
161
+ <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;">
162
+ </div>
163
+
164
+ <div class="content feature-section-item last-feature">
165
+ <h3><?php esc_html_e( 'Send abandoned cart recovery email in minutes of cart being abandoned', 'woocommerce-abandoned-cart' ); ?></h3>
166
+
167
+ <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>
168
+ <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">
169
+ <?php esc_html_e( 'Learn More', 'woocommerce-abandoned-cart' ); ?>
170
+ <span class="dashicons dashicons-external"></span>
171
+ </a>
172
+ </div>
173
+ </div>
174
+
175
+ <div class="feature-section clearfix">
176
+ <div class="content feature-section-item">
177
+
178
+ <h3><?php esc_html_e( 'Full range of merge tags that allow you to personalize the abandoned cart email', 'woocommerce-abandoned-cart' ); ?></h3>
179
+
180
+ <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>
181
+ <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">
182
+ <?php esc_html_e( 'Learn More', 'woocommerce-abandoned-cart' ); ?>
183
+ <span class="dashicons dashicons-external"></span>
184
+ </a>
185
+ </div>
186
+
187
+ <div class="content feature-section-item last-feature">
188
+ <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;">
189
+ </div>
190
+ </div>
191
+
192
+ <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">
193
+ <?php esc_html_e( 'View full list of differences between Lite & Pro plugin', 'woocommerce-abandoned-cart' ); ?>
194
+ <span class="dashicons dashicons-external"></span>
195
+ </a>
196
+ </div>
197
+
198
+ <div class="feature-section clearfix">
199
+
200
+ <div class="content feature-section-item">
201
+
202
+ <h3><?php esc_html_e( 'Getting to Know Tyche Softwares', 'woocommerce-abandoned-cart' ); ?></h3>
203
+
204
+ <ul class="ul-disc">
205
+ <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>
206
+ <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>
207
+ <ul class="ul-disc">
208
+ <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>
209
+ <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>
210
+ <li><a href="https://www.tychesoftwares.com/store/premium-plugins/order-delivery-date-for-woocommerce-pro-21/?utm_source=wpaboutpage&utm_medium=link&utm_campaign=AbandonedCartLitePlugin" target="_blank">Order Delivery Date for WooCommerce</a></li>
211
+ <li><a href="https://www.tychesoftwares.com/store/premium-plugins/product-delivery-date-pro-for-woocommerce/?utm_source=wpaboutpage&utm_medium=link&utm_campaign=AbandonedCartLitePlugin" target="_blank">Product Delivery Date for WooCommerce</a></li>
212
+ <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>
213
+ </ul>
214
+ </li>
215
+ <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>
216
+ </ul>
217
+
218
+ </div>
219
+
220
+
221
+ <!-- <div class="content feature-section-item">
222
+
223
+ <h3><?php esc_html_e( 'Current Offers', 'woocommerce-abandoned-cart' ); ?></h3>
224
+
225
+ <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>
226
+
227
+ </div> -->
228
+
229
+ </div>
230
+ <!-- /.feature-section -->
231
+
232
+ </div>
233
+ <?php
234
+
235
+ update_option( 'wcal_welcome_page_shown', 'yes' );
236
+ update_option( 'wcal_welcome_page_shown_time', current_time( 'timestamp' ) );
237
+ }
238
+
239
+
240
+ /**
241
+ * The header section for the welcome screen.
242
+ *
243
+ * @since 4.5
244
+ */
245
+ public function get_welcome_header() {
246
+ // Badge for welcome page
247
+ $badge_url = WCAL_PLUGIN_URL . 'assets/images/icon-256x256.png';
248
+ ?>
249
+ <h1 class="welcome-h1"><?php echo get_admin_page_title(); ?></h1>
250
+ <?php $this->social_media_elements(); ?>
251
+
252
+ <?php }
253
+
254
+
255
+ /**
256
+ * Social Media Like Buttons.
257
+ *
258
+ * Various social media elements to Tyche Softwares.
259
+ * @since 4.5
260
+ */
261
+ public function social_media_elements() { ?>
262
+
263
+ <div class="social-items-wrap">
264
+
265
+ <iframe src="//www.facebook.com/plugins/like.php?href=https%3A%2F%2Fwww.facebook.com%2Ftychesoftwares&amp;send=false&amp;layout=button_count&amp;width=100&amp;show_faces=false&amp;font&amp;colorscheme=light&amp;action=like&amp;height=21&amp;appId=220596284639969"
266
+ scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:21px;"
267
+ allowTransparency="true"></iframe>
268
+
269
+ <a href="https://twitter.com/tychesoftwares" class="twitter-follow-button" data-show-count="false"><?php
270
+ printf(
271
+ esc_html_e( 'Follow %s', 'tychesoftwares' ),
272
+ '@tychesoftwares'
273
+ );
274
+ ?></a>
275
+ <script>!function (d, s, id) {
276
+ var js, fjs = d.getElementsByTagName(s)[0], p = /^http:/.test(d.location) ? 'http' : 'https';
277
+ if (!d.getElementById(id)) {
278
+ js = d.createElement(s);
279
+ js.id = id;
280
+ js.src = p + '://platform.twitter.com/widgets.js';
281
+ fjs.parentNode.insertBefore(js, fjs);
282
+ }
283
+ }(document, 'script', 'twitter-wjs');
284
+ </script>
285
+
286
+ </div>
287
+ <!--/.social-items-wrap -->
288
+
289
+ <?php
290
+ }
291
+
292
+
293
+ /**
294
+ * Sends user to the Welcome page on first activation of Abandoned Cart Lite as well as each
295
+ * time Abandoned Cart Lite is upgraded to a new version
296
+ * @since 4.5
297
+ */
298
+ public function welcome() {
299
+
300
+ // Bail if activating from network, or bulk
301
+ if ( is_network_admin() || isset( $_GET['activate-multi'] ) ) {
302
+ return;
303
+ }
304
+
305
+ if( !get_option( 'wcal_welcome_page_shown' ) ) {
306
+ wp_safe_redirect( admin_url( 'index.php?page=wcal-about' ) );
307
+ exit;
308
+ }
309
+ }
310
+
311
+ }
312
+
313
+ new Wcal_Welcome();
woocommerce-abandoned-cart/readme.txt CHANGED
@@ -1,4 +1,4 @@
1
-
2
  === Abandoned Cart Lite for WooCommerce ===
3
  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
@@ -6,7 +6,7 @@ Author URI: https://www.tychesoftwares.com/
6
  Requires at least: 1.3
7
  Tested up to: 4.9.7
8
  Stable tag: trunk
9
- License: GPLv2 or late
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
  Donate link: https://www.paypal.me/TycheSoftwares
12
 
@@ -193,6 +193,14 @@ You can refer **[here](https://www.tychesoftwares.com/differences-between-pro-an
193
 
194
  == Changelog ==
195
 
 
 
 
 
 
 
 
 
196
  = 5.0 (30.07-2018) =
197
 
198
  * This version has 1 new feature and 9 bugs fixes along with 4 Tweaks.
@@ -233,7 +241,7 @@ You can refer **[here](https://www.tychesoftwares.com/differences-between-pro-an
233
 
234
  * New feature - Abandoned Cart details will now be exported to the User's Personal Data from the Tools -> Export Personal Data menu and it can be erased from Tools -> Erase Personal Data.
235
 
236
- * Bug Fixed - Some notices are fixedof the debug.log file.
237
 
238
  = 4.8 (20.03-2018) =
239
  * This is a minor update to the plugin which contains some bug fixes and requires Database update to include emojis in the email templates. We recommend that you take a backup of the database of your store for your piece of mind.
1
+ 
2
  === Abandoned Cart Lite for WooCommerce ===
3
  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
6
  Requires at least: 1.3
7
  Tested up to: 4.9.7
8
  Stable tag: trunk
9
+ License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
  Donate link: https://www.paypal.me/TycheSoftwares
12
 
193
 
194
  == Changelog ==
195
 
196
+ = 5.0.2 (13.10.2018) =
197
+
198
+ * Removed the Welcome page of the plugin and also removed the promotional notices which were being displayed on admin end of the WordPress website.
199
+
200
+ = 5.0.1 (30.07-2018) =
201
+
202
+ Bug Fix - The website was crashing as the folder name for the plugin was not changed. This is fixed now.
203
+
204
  = 5.0 (30.07-2018) =
205
 
206
  * This version has 1 new feature and 9 bugs fixes along with 4 Tweaks.
241
 
242
  * New feature - Abandoned Cart details will now be exported to the User's Personal Data from the Tools -> Export Personal Data menu and it can be erased from Tools -> Erase Personal Data.
243
 
244
+ * Bug Fixed - Some notices are fixed of the debug.log file.
245
 
246
  = 4.8 (20.03-2018) =
247
  * This is a minor update to the plugin which contains some bug fixes and requires Database update to include emojis in the email templates. We recommend that you take a backup of the database of your store for your piece of mind.
woocommerce-abandoned-cart/woocommerce-ac.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: This plugin captures abandoned carts by logged-in users & emails them about it.
6
  * <strong><a href="http://www.tychesoftwares.com/store/premium-plugins/woocommerce-abandoned-cart-pro">Click here to get the
7
  * PRO Version.</a></strong>
8
- * Version: 5.0
9
  * Author: Tyche Softwares
10
  * Author URI: http://www.tychesoftwares.com/
11
  * Text Domain: woocommerce-abandoned-cart
@@ -1229,7 +1229,7 @@ if( !class_exists( 'woocommerce_abandon_cart_lite' ) ) {
1229
  $wcal_previous_version = get_option( 'wcal_previous_version' );
1230
 
1231
  if ( $wcal_previous_version != wcal_common::wcal_get_version() ) {
1232
- update_option( 'wcal_previous_version', '5.0' );
1233
  }
1234
 
1235
  /**
5
  * Description: This plugin captures abandoned carts by logged-in users & emails them about it.
6
  * <strong><a href="http://www.tychesoftwares.com/store/premium-plugins/woocommerce-abandoned-cart-pro">Click here to get the
7
  * PRO Version.</a></strong>
8
+ * Version: 5.0.2
9
  * Author: Tyche Softwares
10
  * Author URI: http://www.tychesoftwares.com/
11
  * Text Domain: woocommerce-abandoned-cart
1229
  $wcal_previous_version = get_option( 'wcal_previous_version' );
1230
 
1231
  if ( $wcal_previous_version != wcal_common::wcal_get_version() ) {
1232
+ update_option( 'wcal_previous_version', '5.0.2' );
1233
  }
1234
 
1235
  /**