From ab603341d565c4a7bd33e8dc8abe766b62d78ea8 Mon Sep 17 00:00:00 2001 From: EclipseSrl Date: Mon, 28 Dec 2020 12:12:51 +0100 Subject: [PATCH] release 2.0.21 --- README.txt | 2 +- includes/misc/woocommerce.php | 1 + udesly-adapter-plugin.php | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.txt b/README.txt index 60738b7..7fd2a1e 100644 --- a/README.txt +++ b/README.txt @@ -4,7 +4,7 @@ Donate link: https://www.udesly.com/ Tags: webflow to wordpress, editor, page builder, layout design, udesly, webflow Requires at least: 5.0 Tested up to: 5.2.3 -Stable tag: 2.0.20 +Stable tag: 2.0.21 License: GPLv3 or later License URI: https://www.udesly.com/terms-conditions-of-use/#udesly-wordpress-plugin Requires PHP: 7.0.0 diff --git a/includes/misc/woocommerce.php b/includes/misc/woocommerce.php index 3134f33..cbe15d6 100644 --- a/includes/misc/woocommerce.php +++ b/includes/misc/woocommerce.php @@ -228,6 +228,7 @@ function udesly_woocommerce_get_cart_items() $current_product['price'] = $product_price; $current_product['total'] = wc_price($cart_item['line_total'] + $cart_item['line_tax']); $current_product['key'] = $cart_item_key; + $current_product['product'] = $_product; $cart_items[] = (object)$current_product; } } diff --git a/udesly-adapter-plugin.php b/udesly-adapter-plugin.php index 5aa460b..3c0c5ca 100644 --- a/udesly-adapter-plugin.php +++ b/udesly-adapter-plugin.php @@ -11,7 +11,7 @@ * Plugin Name: Udesly Adapter * Plugin URI: https://www.udesly.com * Description: This is a support plugin for Udesly (Webflow to WordPress converter) that allows you to enable additional features for your theme. - * Version: 2.0.20 + * Version: 2.0.21 * Author: Udesly * Author URI: https://www.udesly.com * License: GPL-2.0+ @@ -29,7 +29,7 @@ // Constants defined('UDESLY_ADAPTER_PLUGIN_DIRECTORY_PATH') ?: define('UDESLY_ADAPTER_PLUGIN_DIRECTORY_PATH', plugin_dir_path(__FILE__)); defined('UDESLY_ADAPTER_PLUGIN_DIRECTORY_URL') ?: define('UDESLY_ADAPTER_PLUGIN_DIRECTORY_URL', plugin_dir_url(__FILE__)); -defined('UDESLY_ADAPTER_VERSION') ?: define('UDESLY_ADAPTER_VERSION', "2.0.20"); +defined('UDESLY_ADAPTER_VERSION') ?: define('UDESLY_ADAPTER_VERSION', "2.0.21"); defined('UDESLY_TEXT_DOMAIN') ?: define('UDESLY_TEXT_DOMAIN', "udesly-adapter-plugin"); defined('UDESLY_ADAPTER_PLUGIN_MISC_PATH') ?: define('UDESLY_ADAPTER_PLUGIN_MISC_PATH', plugin_dir_path(__FILE__) . 'includes/misc/');