Version Description
(26.03.2021) = * Fix - Variation Image is not displayed in reminder emails.
Download this release
Release Info
Developer | tychesoftwares |
Plugin | Abandoned Cart Lite for WooCommerce |
Version | 5.8.7 |
Comparing to | |
See all releases |
Code changes from version 5.8.6 to 5.8.7
- cron/class-wcal-cron.php +6 -2
- readme.txt +4 -1
- woocommerce-ac.php +3 -3
cron/class-wcal-cron.php
CHANGED
@@ -340,8 +340,11 @@ if ( ! class_exists( 'Wcal_Cron' ) ) {
|
|
340 |
$item_total_display = wc_price( $item_total );
|
341 |
$item_subtotal = wc_price( $item_subtotal );
|
342 |
|
343 |
-
$
|
344 |
-
$image_url = wp_get_attachment_url( get_post_thumbnail_id( $
|
|
|
|
|
|
|
345 |
if ( strpos( $image_url, '/' ) === 0 ) {
|
346 |
$image_url = get_option( 'siteurl' ) . $image_url;
|
347 |
}
|
@@ -379,6 +382,7 @@ if ( ! class_exists( 'Wcal_Cron' ) ) {
|
|
379 |
}
|
380 |
$product_name = $product_name_with_variable;
|
381 |
}
|
|
|
382 |
$product_name = apply_filters( 'wcal_reminder_email_after_product_name', $product_name, $v );
|
383 |
$var .= '<tr align="center">
|
384 |
<td> <a href="' . $cart_link_track . '"> <img src="' . $image_url . '" alt="" height="42" width="42" /> </a></td>
|
340 |
$item_total_display = wc_price( $item_total );
|
341 |
$item_subtotal = wc_price( $item_subtotal );
|
342 |
|
343 |
+
$image_id = isset( $v->variation_id ) && $v->variation_id > 0 ? $v->variation_id : $v->product_id;
|
344 |
+
$image_url = wp_get_attachment_url( get_post_thumbnail_id( $image_id ) );
|
345 |
+
if ( !$image_url && isset( $v->variation_id ) && (int) $image_id === (int) $v->variation_id ) {
|
346 |
+
$image_url = wp_get_attachment_url( get_post_thumbnail_id( $v->product_id ) );
|
347 |
+
}
|
348 |
if ( strpos( $image_url, '/' ) === 0 ) {
|
349 |
$image_url = get_option( 'siteurl' ) . $image_url;
|
350 |
}
|
382 |
}
|
383 |
$product_name = $product_name_with_variable;
|
384 |
}
|
385 |
+
|
386 |
$product_name = apply_filters( 'wcal_reminder_email_after_product_name', $product_name, $v );
|
387 |
$var .= '<tr align="center">
|
388 |
<td> <a href="' . $cart_link_track . '"> <img src="' . $image_url . '" alt="" height="42" width="42" /> </a></td>
|
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 |
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.8.6 (12.02.2021) =
|
226 |
* Fix - WP Nonce verification being done incorrectly. Fixed the same.
|
227 |
|
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.7
|
8 |
Stable tag: trunk
|
9 |
Requires PHP: 5.6
|
10 |
License: GPLv2 or late
|
222 |
6. Product Report Tab.
|
223 |
|
224 |
== Changelog ==
|
225 |
+
= 5.8.7 (26.03.2021) =
|
226 |
+
* Fix - Variation Image is not displayed in reminder emails.
|
227 |
+
|
228 |
= 5.8.6 (12.02.2021) =
|
229 |
* Fix - WP Nonce verification being done incorrectly. Fixed the same.
|
230 |
|
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.8.
|
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.
|
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.8.
|
122 |
}
|
123 |
$this->one_hour = 60 * 60;
|
124 |
$this->three_hours = 3 * $this->one_hour;
|
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.8.7
|
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.1.0
|
14 |
*
|
15 |
* @package Abandoned-Cart-Lite-for-WooCommerce
|
16 |
*/
|
118 |
}
|
119 |
|
120 |
if ( ! defined( 'WCAL_PLUGIN_VERSION' ) ) {
|
121 |
+
define( 'WCAL_PLUGIN_VERSION', '5.8.7' );
|
122 |
}
|
123 |
$this->one_hour = 60 * 60;
|
124 |
$this->three_hours = 3 * $this->one_hour;
|