Abandoned Cart Lite for WooCommerce - Version 5.2.1

Version Description

(18.02.2019) =

  • Bug - Fixed an issue where ajax url was missing for some sites preventing emails to be captured.
Download this release

Release Info

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

Code changes from version 5.2.0 to 5.2.1

assets/js/wcal_guest_capture.js CHANGED
@@ -24,6 +24,6 @@ jQuery( 'input#billing_email' ).on( 'change', function() {
24
  ship_to_billing : jQuery('#shiptobilling-checkbox').val(),
25
  action: 'save_data'
26
  };
27
- jQuery.post( ajaxurl, data, function(response) {
28
  });
29
  });
24
  ship_to_billing : jQuery('#shiptobilling-checkbox').val(),
25
  action: 'save_data'
26
  };
27
+ jQuery.post( wcal_guest_capture_params.ajax_url, data, function(response) {
28
  });
29
  });
assets/js/wcal_guest_capture.min.js CHANGED
@@ -1 +1 @@
1
- jQuery("input#billing_email").on("change",function(){var i={billing_first_name:jQuery("#billing_first_name").val(),billing_last_name:jQuery("#billing_last_name").val(),billing_company:jQuery("#billing_company").val(),billing_address_1:jQuery("#billing_address_1").val(),billing_address_2:jQuery("#billing_address_2").val(),billing_city:jQuery("#billing_city").val(),billing_state:jQuery("#billing_state").val(),billing_postcode:jQuery("#billing_postcode").val(),billing_country:jQuery("#billing_country").val(),billing_phone:jQuery("#billing_phone").val(),billing_email:jQuery("#billing_email").val(),order_notes:jQuery("#order_comments").val(),shipping_first_name:jQuery("#shipping_first_name").val(),shipping_last_name:jQuery("#shipping_last_name").val(),shipping_company:jQuery("#shipping_company").val(),shipping_address_1:jQuery("#shipping_address_1").val(),shipping_address_2:jQuery("#shipping_address_2").val(),shipping_city:jQuery("#shipping_city").val(),shipping_state:jQuery("#shipping_state").val(),shipping_postcode:jQuery("#shipping_postcode").val(),shipping_country:jQuery("#shipping_country").val(),ship_to_billing:jQuery("#shiptobilling-checkbox").val(),action:"save_data"};jQuery.post(ajaxurl,i,function(i){})});
1
+ jQuery('input#billing_email').on('change',function(){var data={billing_first_name:jQuery('#billing_first_name').val(),billing_last_name:jQuery('#billing_last_name').val(),billing_company:jQuery('#billing_company').val(),billing_address_1:jQuery('#billing_address_1').val(),billing_address_2:jQuery('#billing_address_2').val(),billing_city:jQuery('#billing_city').val(),billing_state:jQuery('#billing_state').val(),billing_postcode:jQuery('#billing_postcode').val(),billing_country:jQuery('#billing_country').val(),billing_phone:jQuery('#billing_phone').val(),billing_email:jQuery('#billing_email').val(),order_notes:jQuery('#order_comments').val(),shipping_first_name:jQuery('#shipping_first_name').val(),shipping_last_name:jQuery('#shipping_last_name').val(),shipping_company:jQuery('#shipping_company').val(),shipping_address_1:jQuery('#shipping_address_1').val(),shipping_address_2:jQuery('#shipping_address_2').val(),shipping_city:jQuery('#shipping_city').val(),shipping_state:jQuery('#shipping_state').val(),shipping_postcode:jQuery('#shipping_postcode').val(),shipping_country:jQuery('#shipping_country').val(),ship_to_billing:jQuery('#shiptobilling-checkbox').val(),action:'save_data'};jQuery.post(wcal_guest_capture_params.ajax_url,data,function(response){})})
includes/wcal_class-guest.php CHANGED
@@ -49,6 +49,14 @@ if ( ! class_exists( 'woocommerce_guest_ac' ) ) {
49
  '',
50
  true
51
  );
 
 
 
 
 
 
 
 
52
  }
53
 
54
  /**
49
  '',
50
  true
51
  );
52
+
53
+ wp_localize_script(
54
+ 'wcal_guest_capture',
55
+ 'wcal_guest_capture_params',
56
+ array(
57
+ 'ajax_url' => admin_url( 'admin-ajax.php' )
58
+ )
59
+ );
60
  }
61
 
62
  /**
readme.txt CHANGED
@@ -4,7 +4,7 @@ Contributors: ashokrane, pinal.shah, bhavik.kiri, chetnapatel, tychesoftwares, d
4
  Tags: abandon cart, cart recovery, increase woocommerce conversion rate , recover woocommerce cart, increase sales with woocommerce
5
  Author URI: https://www.tychesoftwares.com/
6
  Requires at least: 1.3
7
- Tested up to: 5.0
8
  Stable tag: trunk
9
  License: GPLv2 or late
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -193,6 +193,10 @@ You can refer **[here](https://www.tychesoftwares.com/differences-between-pro-an
193
 
194
  == Changelog ==
195
 
 
 
 
 
196
  = 5.2.0 (18.02.2019) =
197
 
198
  This is a security release with the following fixes:
4
  Tags: abandon cart, cart recovery, increase woocommerce conversion rate , recover woocommerce cart, increase sales with woocommerce
5
  Author URI: https://www.tychesoftwares.com/
6
  Requires at least: 1.3
7
+ Tested up to: 5.1
8
  Stable tag: trunk
9
  License: GPLv2 or late
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
193
 
194
  == Changelog ==
195
 
196
+ = 5.2.1 (18.02.2019) =
197
+
198
+ * Bug - Fixed an issue where ajax url was missing for some sites preventing emails to be captured.
199
+
200
  = 5.2.0 (18.02.2019) =
201
 
202
  This is a security release with the following fixes:
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.2.0
9
  * Author: Tyche Softwares
10
  * Author URI: http://www.tychesoftwares.com/
11
  * Text Domain: woocommerce-abandoned-cart
@@ -1237,7 +1237,7 @@ if ( ! class_exists( 'woocommerce_abandon_cart_lite' ) ) {
1237
  $wcal_previous_version = get_option( 'wcal_previous_version' );
1238
 
1239
  if ( $wcal_previous_version != wcal_common::wcal_get_version() ) {
1240
- update_option( 'wcal_previous_version', '5.2.0' );
1241
  }
1242
 
1243
  /**
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.2.1
9
  * Author: Tyche Softwares
10
  * Author URI: http://www.tychesoftwares.com/
11
  * Text Domain: woocommerce-abandoned-cart
1237
  $wcal_previous_version = get_option( 'wcal_previous_version' );
1238
 
1239
  if ( $wcal_previous_version != wcal_common::wcal_get_version() ) {
1240
+ update_option( 'wcal_previous_version', '5.2.1' );
1241
  }
1242
 
1243
  /**