Version Description
- The Settings page for the plugin has been redone. We are now using the WordPress Settings API for all the options on that page.
- When the plugin is installed & activated for the first time, 1 default email template will also be created. The template will be inactive when the plugin is activated.
- A new setting is added on the Add/Edit Template page named as "Active". If this setting is checked, only then the abandoned cart reminder email will be sent to the customers. If this setting is unchecked, then the email template won't be sent to the customers, but still you can keep it in the plugin. By default, this is unchecked.
- A new setting is added on the Add/Edit Template page named as "Use WooCommerce Template Style". If this setting is checked then abandoned cart reminder email will use the WooCommerce style (header, footer, background, etc.) for the notifications. If it is not checked then the regular email will be sent to the customer as per the formatting that is set in the template editor. For existing users, this setting will remain unchecked. For new users of the plugin, the setting will be enabled for the existing default email template that is provided with the plugin.
- Abandoned cart email notification will be sent to the client's billing address entered on checkout instead of on the email address added by the user while registering to the website. This applies only for logged in users.
- New shortcode "{{cart.abandoned_date}}" has been introduced in this version. It will display the date and time when the cart was abandoned in the abandoned cart email notification.
- When a customer places an order within the abandoned cart cut off time, then the order received page was displaying a warning. This has been fixed.
- Abandoned Orders tab was not sorting according to the "Date" column. Same way, Recovered Orders tab was not sorting according to "Created On" & "Recovered Date" column. This has been fixed.
- Some warnings were displayed on the Abandoned Orders, Recovered Orders and Product Report tab. These have been fixed.
- The 'mailto' link was not working on the Abandoned Order details page. This has been fixed.
- Tweak - Removed the background white color for the add / edit template page.
- Tweak - Abandoned Orders tab will display the user's billing address using which the cart was abandoned. This applies only for logged in users.
Download this release
Release Info
Developer | ashokrane |
Plugin | Abandoned Cart Lite for WooCommerce |
Version | 2.5 |
Comparing to | |
See all releases |
Code changes from version 2.5.1 to 2.5
- images/spectre.jpg +0 -0
- readme.txt +0 -3
- woocommerce-ac.php +10 -14
images/spectre.jpg
DELETED
Binary file
|
readme.txt
CHANGED
@@ -89,9 +89,6 @@ The documentation can be found **[here](https://www.tychesoftwares.com/woocommer
|
|
89 |
|
90 |
== Changelog ==
|
91 |
|
92 |
-
= 2.5.1 =
|
93 |
-
* Some warnings were displayed on Email Templates tab. These have been fixed.
|
94 |
-
|
95 |
= 2.5 =
|
96 |
|
97 |
* The Settings page for the plugin has been redone. We are now using the WordPress Settings API for all the options on that page.
|
89 |
|
90 |
== Changelog ==
|
91 |
|
|
|
|
|
|
|
92 |
= 2.5 =
|
93 |
|
94 |
* The Settings page for the plugin has been redone. We are now using the WordPress Settings API for all the options on that page.
|
woocommerce-ac.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: WooCommerce Abandon Cart Lite Plugin
|
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: 2.5
|
7 |
Author: Tyche Softwares
|
8 |
Author URI: http://www.tychesoftwares.com/
|
9 |
*/
|
@@ -1721,24 +1721,21 @@ function woocommerce_ac_delete(){
|
|
1721 |
}
|
1722 |
}else{
|
1723 |
|
1724 |
-
$updated_is_active = '0';
|
1725 |
-
$is_active = ( empty( $_POST['is_active'] ) ) ? '0' : '1';
|
1726 |
-
$email_frequency = trim( $_POST[ 'email_frequency' ] );
|
1727 |
-
$day_or_hour = trim( $_POST[ 'day_or_hour' ] );
|
1728 |
-
$is_wc_template = ( empty( $_POST['is_wc_template'] ) ) ? '0' : '1';
|
1729 |
-
|
1730 |
$query_update_new = "UPDATE `".$wpdb->prefix."ac_email_templates_lite`
|
1731 |
SET is_active = %s
|
1732 |
WHERE frequency = %d
|
1733 |
AND day_or_hour = %s ";
|
1734 |
-
$wpdb->query( $wpdb->prepare( $query_update_new, $updated_is_active, $email_frequency, $day_or_hour ) );
|
1735 |
|
1736 |
$woocommerce_ac_email_subject = trim( $_POST[ 'woocommerce_ac_email_subject' ] );
|
1737 |
$woocommerce_ac_email_body = trim( $_POST[ 'woocommerce_ac_email_body' ] );
|
1738 |
$woocommerce_ac_template_name = trim( $_POST[ 'woocommerce_ac_template_name' ] );
|
1739 |
$woocommerce_ac_from_name = trim( $_POST[ 'woocommerce_ac_from_name' ] );
|
1740 |
$id = trim( $_POST[ 'id' ] );
|
1741 |
-
|
|
|
|
|
|
|
1742 |
|
1743 |
$check_query = "SELECT * FROM `".$wpdb->prefix."ac_email_templates_lite`
|
1744 |
WHERE is_active= %s
|
@@ -1764,11 +1761,10 @@ function woocommerce_ac_delete(){
|
|
1764 |
is_wc_template = %s,
|
1765 |
default_template = %d
|
1766 |
WHERE id = %d ";
|
1767 |
-
|
1768 |
$update_template_successfuly = $wpdb->query($wpdb->prepare( $query_update_latest,
|
1769 |
$woocommerce_ac_email_subject,
|
1770 |
$woocommerce_ac_email_body,
|
1771 |
-
$
|
1772 |
$email_frequency,
|
1773 |
$day_or_hour,
|
1774 |
$woocommerce_ac_template_name,
|
@@ -1776,7 +1772,7 @@ function woocommerce_ac_delete(){
|
|
1776 |
$is_wc_template,
|
1777 |
$default_value,
|
1778 |
$id )
|
1779 |
-
|
1780 |
);
|
1781 |
|
1782 |
}
|
@@ -1799,9 +1795,9 @@ function woocommerce_ac_delete(){
|
|
1799 |
}
|
1800 |
|
1801 |
|
1802 |
-
if ( isset( $_POST[ 'ac_settings_frm' ] ) && $_POST[ 'ac_settings_frm' ] == 'update' && isset($update_template_successfuly) && $update_template_successfuly
|
1803 |
<div id="message" class="updated fade"><p><strong><?php _e( 'The Email Template has been successfully updated.', 'woocommerce-ac' ); ?></strong></p></div>
|
1804 |
-
<?php } else if ( isset( $_POST[ 'ac_settings_frm' ] ) && $_POST[ 'ac_settings_frm' ] == 'update' && isset($update_template_successfuly) && $update_template_successfuly
|
1805 |
?>
|
1806 |
<div id="message" class="error fade"><p><strong><?php _e( ' There was a problem updating the email template. Please contact the plugin author via <a href= "https://wordpress.org/support/plugin/woocommerce-abandoned-cart">support forum</a>.', 'woocommerce-ac' ); ?></strong></p></div>
|
1807 |
<?php
|
3 |
Plugin Name: WooCommerce Abandon Cart Lite Plugin
|
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: 2.5
|
7 |
Author: Tyche Softwares
|
8 |
Author URI: http://www.tychesoftwares.com/
|
9 |
*/
|
1721 |
}
|
1722 |
}else{
|
1723 |
|
|
|
|
|
|
|
|
|
|
|
|
|
1724 |
$query_update_new = "UPDATE `".$wpdb->prefix."ac_email_templates_lite`
|
1725 |
SET is_active = %s
|
1726 |
WHERE frequency = %d
|
1727 |
AND day_or_hour = %s ";
|
1728 |
+
$update_template_successfuly = $wpdb->query( $wpdb->prepare( $query_update_new, $updated_is_active, $email_frequency, $day_or_hour ) );
|
1729 |
|
1730 |
$woocommerce_ac_email_subject = trim( $_POST[ 'woocommerce_ac_email_subject' ] );
|
1731 |
$woocommerce_ac_email_body = trim( $_POST[ 'woocommerce_ac_email_body' ] );
|
1732 |
$woocommerce_ac_template_name = trim( $_POST[ 'woocommerce_ac_template_name' ] );
|
1733 |
$woocommerce_ac_from_name = trim( $_POST[ 'woocommerce_ac_from_name' ] );
|
1734 |
$id = trim( $_POST[ 'id' ] );
|
1735 |
+
$active = ( empty( $_POST['is_active'] ) ) ? '0' : '1';
|
1736 |
+
$email_frequency = trim( $_POST[ 'email_frequency' ] );
|
1737 |
+
$day_or_hour = trim( $_POST[ 'day_or_hour' ] );
|
1738 |
+
$is_wc_template = ( empty( $_POST['is_wc_template'] ) ) ? '0' : '1';
|
1739 |
|
1740 |
$check_query = "SELECT * FROM `".$wpdb->prefix."ac_email_templates_lite`
|
1741 |
WHERE is_active= %s
|
1761 |
is_wc_template = %s,
|
1762 |
default_template = %d
|
1763 |
WHERE id = %d ";
|
|
|
1764 |
$update_template_successfuly = $wpdb->query($wpdb->prepare( $query_update_latest,
|
1765 |
$woocommerce_ac_email_subject,
|
1766 |
$woocommerce_ac_email_body,
|
1767 |
+
$active,
|
1768 |
$email_frequency,
|
1769 |
$day_or_hour,
|
1770 |
$woocommerce_ac_template_name,
|
1772 |
$is_wc_template,
|
1773 |
$default_value,
|
1774 |
$id )
|
1775 |
+
|
1776 |
);
|
1777 |
|
1778 |
}
|
1795 |
}
|
1796 |
|
1797 |
|
1798 |
+
if ( isset( $_POST[ 'ac_settings_frm' ] ) && $_POST[ 'ac_settings_frm' ] == 'update' && isset($update_template_successfuly) && $update_template_successfuly != '' ) { ?>
|
1799 |
<div id="message" class="updated fade"><p><strong><?php _e( 'The Email Template has been successfully updated.', 'woocommerce-ac' ); ?></strong></p></div>
|
1800 |
+
<?php } else if ( isset( $_POST[ 'ac_settings_frm' ] ) && $_POST[ 'ac_settings_frm' ] == 'update' && isset($update_template_successfuly) && $update_template_successfuly == '' ){
|
1801 |
?>
|
1802 |
<div id="message" class="error fade"><p><strong><?php _e( ' There was a problem updating the email template. Please contact the plugin author via <a href= "https://wordpress.org/support/plugin/woocommerce-abandoned-cart">support forum</a>.', 'woocommerce-ac' ); ?></strong></p></div>
|
1803 |
<?php
|