Version Description
Release Date - 16 September 2018
- Improved compatibility with YITH WooCommerce Product Add-Ons plugin
Download this release
Release Info
Developer | templateinvaders |
Plugin | WooCommerce Wishlist Plugin |
Version | 1.8.17 |
Comparing to | |
See all releases |
Code changes from version 1.8.16 to 1.8.17
- assets/css/admin-form.min.css +11 -1
- assets/css/admin-setup.min.css +11 -1
- assets/css/admin.min.css +11 -1
- assets/css/public.min.css +11 -1
- assets/css/theme.min.css +11 -1
- assets/js/admin.min.js +11 -1
- assets/js/public.min.js +11 -1
- languages/ti-woocommerce-wishlist.pot +2 -2
- readme.txt +9 -4
- ti-woocommerce-wishlist.php +2 -2
- tinv-wishlists-function-integration.php +6 -4
assets/css/admin-form.min.css
CHANGED
@@ -1,4 +1,14 @@
|
|
1 |
-
/*! WooCommerce Wishlist Plugin - version 1.8.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
* https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
3 |
* Copyright (c) 2018;
|
4 |
* Licensed GPLv2+ */
|
1 |
+
/*! WooCommerce Wishlist Plugin - version 1.8.17
|
2 |
+
* https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
3 |
+
* Copyright (c) 2018;
|
4 |
+
* Licensed GPLv2+ */
|
5 |
+
|
6 |
+
/*! WooCommerce Wishlist Plugin - version 1.8.17
|
7 |
+
* https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
8 |
+
* Copyright (c) 2018;
|
9 |
+
* Licensed GPLv2+ */
|
10 |
+
|
11 |
+
/*! WooCommerce Wishlist Plugin - version 1.8.17
|
12 |
* https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
13 |
* Copyright (c) 2018;
|
14 |
* Licensed GPLv2+ */
|
assets/css/admin-setup.min.css
CHANGED
@@ -1,4 +1,14 @@
|
|
1 |
-
/*! WooCommerce Wishlist Plugin - version 1.8.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
* https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
3 |
* Copyright (c) 2018;
|
4 |
* Licensed GPLv2+ */
|
1 |
+
/*! WooCommerce Wishlist Plugin - version 1.8.17
|
2 |
+
* https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
3 |
+
* Copyright (c) 2018;
|
4 |
+
* Licensed GPLv2+ */
|
5 |
+
|
6 |
+
/*! WooCommerce Wishlist Plugin - version 1.8.17
|
7 |
+
* https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
8 |
+
* Copyright (c) 2018;
|
9 |
+
* Licensed GPLv2+ */
|
10 |
+
|
11 |
+
/*! WooCommerce Wishlist Plugin - version 1.8.17
|
12 |
* https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
13 |
* Copyright (c) 2018;
|
14 |
* Licensed GPLv2+ */
|
assets/css/admin.min.css
CHANGED
@@ -1,4 +1,14 @@
|
|
1 |
-
/*! WooCommerce Wishlist Plugin - version 1.8.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
* https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
3 |
* Copyright (c) 2018;
|
4 |
* Licensed GPLv2+ */
|
1 |
+
/*! WooCommerce Wishlist Plugin - version 1.8.17
|
2 |
+
* https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
3 |
+
* Copyright (c) 2018;
|
4 |
+
* Licensed GPLv2+ */
|
5 |
+
|
6 |
+
/*! WooCommerce Wishlist Plugin - version 1.8.17
|
7 |
+
* https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
8 |
+
* Copyright (c) 2018;
|
9 |
+
* Licensed GPLv2+ */
|
10 |
+
|
11 |
+
/*! WooCommerce Wishlist Plugin - version 1.8.17
|
12 |
* https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
13 |
* Copyright (c) 2018;
|
14 |
* Licensed GPLv2+ */
|
assets/css/public.min.css
CHANGED
@@ -1,4 +1,14 @@
|
|
1 |
-
/*! WooCommerce Wishlist Plugin - version 1.8.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
* https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
3 |
* Copyright (c) 2018;
|
4 |
* Licensed GPLv2+ */
|
1 |
+
/*! WooCommerce Wishlist Plugin - version 1.8.17
|
2 |
+
* https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
3 |
+
* Copyright (c) 2018;
|
4 |
+
* Licensed GPLv2+ */
|
5 |
+
|
6 |
+
/*! WooCommerce Wishlist Plugin - version 1.8.17
|
7 |
+
* https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
8 |
+
* Copyright (c) 2018;
|
9 |
+
* Licensed GPLv2+ */
|
10 |
+
|
11 |
+
/*! WooCommerce Wishlist Plugin - version 1.8.17
|
12 |
* https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
13 |
* Copyright (c) 2018;
|
14 |
* Licensed GPLv2+ */
|
assets/css/theme.min.css
CHANGED
@@ -1,4 +1,14 @@
|
|
1 |
-
/*! WooCommerce Wishlist Plugin - version 1.8.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
* https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
3 |
* Copyright (c) 2018;
|
4 |
* Licensed GPLv2+ */
|
1 |
+
/*! WooCommerce Wishlist Plugin - version 1.8.17
|
2 |
+
* https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
3 |
+
* Copyright (c) 2018;
|
4 |
+
* Licensed GPLv2+ */
|
5 |
+
|
6 |
+
/*! WooCommerce Wishlist Plugin - version 1.8.17
|
7 |
+
* https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
8 |
+
* Copyright (c) 2018;
|
9 |
+
* Licensed GPLv2+ */
|
10 |
+
|
11 |
+
/*! WooCommerce Wishlist Plugin - version 1.8.17
|
12 |
* https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
13 |
* Copyright (c) 2018;
|
14 |
* Licensed GPLv2+ */
|
assets/js/admin.min.js
CHANGED
@@ -1,4 +1,14 @@
|
|
1 |
-
/*! WooCommerce Wishlist Plugin - version 1.8.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
* https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
3 |
* Copyright (c) 2018;
|
4 |
* Licensed GPLv2+ */
|
1 |
+
/*! WooCommerce Wishlist Plugin - version 1.8.17
|
2 |
+
* https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
3 |
+
* Copyright (c) 2018;
|
4 |
+
* Licensed GPLv2+ */
|
5 |
+
|
6 |
+
/*! WooCommerce Wishlist Plugin - version 1.8.17
|
7 |
+
* https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
8 |
+
* Copyright (c) 2018;
|
9 |
+
* Licensed GPLv2+ */
|
10 |
+
|
11 |
+
/*! WooCommerce Wishlist Plugin - version 1.8.17
|
12 |
* https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
13 |
* Copyright (c) 2018;
|
14 |
* Licensed GPLv2+ */
|
assets/js/public.min.js
CHANGED
@@ -1,4 +1,14 @@
|
|
1 |
-
/*! WooCommerce Wishlist Plugin - version 1.8.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
* https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
3 |
* Copyright (c) 2018;
|
4 |
* Licensed GPLv2+ */
|
1 |
+
/*! WooCommerce Wishlist Plugin - version 1.8.17
|
2 |
+
* https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
3 |
+
* Copyright (c) 2018;
|
4 |
+
* Licensed GPLv2+ */
|
5 |
+
|
6 |
+
/*! WooCommerce Wishlist Plugin - version 1.8.17
|
7 |
+
* https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
8 |
+
* Copyright (c) 2018;
|
9 |
+
* Licensed GPLv2+ */
|
10 |
+
|
11 |
+
/*! WooCommerce Wishlist Plugin - version 1.8.17
|
12 |
* https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
13 |
* Copyright (c) 2018;
|
14 |
* Licensed GPLv2+ */
|
languages/ti-woocommerce-wishlist.pot
CHANGED
@@ -2,10 +2,10 @@
|
|
2 |
# This file is distributed under the GPL-2.0+.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: WooCommerce Wishlist Plugin
|
6 |
"Report-Msgid-Bugs-To: "
|
7 |
"https://wordpress.org/support/plugin/ti-woocommerce-wishlist\n"
|
8 |
-
"POT-Creation-Date: 2018-09-14
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=utf-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
2 |
# This file is distributed under the GPL-2.0+.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: WooCommerce Wishlist Plugin {{ VERSION }}\n"
|
6 |
"Report-Msgid-Bugs-To: "
|
7 |
"https://wordpress.org/support/plugin/ti-woocommerce-wishlist\n"
|
8 |
+
"POT-Creation-Date: 2018-09-16 14:55:48+00:00\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=utf-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
readme.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
-
|
2 |
Contributors: templateinvaders
|
3 |
-
Donate link: https://templateinvaders.com/?utm_source=wordpressorg&utm_content=donate
|
4 |
Tags: wishlist, woocommerce, woocommerce wishlist, e-commerce, ecommerce
|
5 |
Requires at least: 4.5
|
6 |
Tested up to: 4.9
|
7 |
-
Stable tag: 1.8.
|
8 |
License: GPLv3
|
9 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -130,8 +130,13 @@ If you get stuck, you can ask for help in the [Plugin Forum](https://wordpress.o
|
|
130 |
|
131 |
|
132 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
133 |
= 1.8.16 =
|
134 |
-
*Release Date -
|
135 |
|
136 |
* Fixed an issue with cart and checkout redirect during bulk add to cart process from a wishlist
|
137 |
* Fixed an issue with loading main frontend javascript file when button loaded with AJAX
|
1 |
+
=== WooCommerce Wishlist Plugin ===
|
2 |
Contributors: templateinvaders
|
3 |
+
Donate link: https://templateinvaders.com/product/ti-woocommerce-wishlist-wordpress-plugin/?utm_source=wordpressorg&utm_content=donate
|
4 |
Tags: wishlist, woocommerce, woocommerce wishlist, e-commerce, ecommerce
|
5 |
Requires at least: 4.5
|
6 |
Tested up to: 4.9
|
7 |
+
Stable tag: 1.8.17
|
8 |
License: GPLv3
|
9 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
130 |
|
131 |
|
132 |
== Changelog ==
|
133 |
+
= 1.8.17 =
|
134 |
+
*Release Date - 16 September 2018*
|
135 |
+
|
136 |
+
* Improved compatibility with [YITH WooCommerce Product Add-Ons](https://wordpress.org/plugins/yith-woocommerce-product-add-ons/) plugin
|
137 |
+
|
138 |
= 1.8.16 =
|
139 |
+
*Release Date - 14 September 2018*
|
140 |
|
141 |
* Fixed an issue with cart and checkout redirect during bulk add to cart process from a wishlist
|
142 |
* Fixed an issue with loading main frontend javascript file when button loaded with AJAX
|
ti-woocommerce-wishlist.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin Name: WooCommerce Wishlist Plugin
|
5 |
* Plugin URI: https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
6 |
* Description: Wishlist functionality for your WooCommerce store.
|
7 |
-
* Version: 1.8.
|
8 |
* Requires at least: 4.5
|
9 |
* Tested up to: 4.9
|
10 |
* WC requires at least: 2.6
|
@@ -41,7 +41,7 @@ if ( ! defined( 'TINVWL_DOMAIN' ) ) {
|
|
41 |
}
|
42 |
|
43 |
if ( ! defined( 'TINVWL_FVERSION' ) ) {
|
44 |
-
define( 'TINVWL_FVERSION', '1.8.
|
45 |
}
|
46 |
|
47 |
if ( ! defined( 'TINVWL_LOAD_FREE' ) ) {
|
4 |
* Plugin Name: WooCommerce Wishlist Plugin
|
5 |
* Plugin URI: https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
6 |
* Description: Wishlist functionality for your WooCommerce store.
|
7 |
+
* Version: 1.8.17
|
8 |
* Requires at least: 4.5
|
9 |
* Tested up to: 4.9
|
10 |
* WC requires at least: 2.6
|
41 |
}
|
42 |
|
43 |
if ( ! defined( 'TINVWL_FVERSION' ) ) {
|
44 |
+
define( 'TINVWL_FVERSION', '1.8.17' );
|
45 |
}
|
46 |
|
47 |
if ( ! defined( 'TINVWL_LOAD_FREE' ) ) {
|
tinv-wishlists-function-integration.php
CHANGED
@@ -1621,9 +1621,10 @@ if ( ! function_exists( 'tinv_wishlist_item_meta_yith_woocommerce_product_add_on
|
|
1621 |
$original_data = 'ywapo_' . $single_type->type . '_' . $single_type->id;
|
1622 |
|
1623 |
$value = isset( $item_data[ $original_data ] ) ? $item_data[ $original_data ] : '';
|
1624 |
-
error_log( print_r( $value, true ) );
|
1625 |
|
1626 |
-
if ( ! is_array( $value ) || !
|
|
|
|
|
1627 |
$value = $value['display'][0];
|
1628 |
} else {
|
1629 |
$value = YITH_WAPO_Option::getOptionDataByValueKey( $single_type, $value['display'][0], 'label' );
|
@@ -1667,6 +1668,7 @@ if ( ! function_exists( 'tinvwl_item_price_yith_woocommerce_product_add_on' ) )
|
|
1667 |
|
1668 |
if ( $type_list ) {
|
1669 |
|
|
|
1670 |
|
1671 |
foreach ( $type_list as $single_type ) {
|
1672 |
|
@@ -1682,12 +1684,12 @@ if ( ! function_exists( 'tinvwl_item_price_yith_woocommerce_product_add_on' ) )
|
|
1682 |
$addon_price = YITH_WAPO_Option::getOptionDataByValueKey( $single_type, $value[0], 'price' );
|
1683 |
|
1684 |
if ( is_numeric( $addon_price ) ) {
|
1685 |
-
$
|
1686 |
}
|
1687 |
|
1688 |
}
|
1689 |
|
1690 |
-
$price = wc_price( $product->get_price() + $
|
1691 |
}
|
1692 |
}
|
1693 |
|
1621 |
$original_data = 'ywapo_' . $single_type->type . '_' . $single_type->id;
|
1622 |
|
1623 |
$value = isset( $item_data[ $original_data ] ) ? $item_data[ $original_data ] : '';
|
|
|
1624 |
|
1625 |
+
if ( ! $value || ! is_array( $value ) || ! isset( $value['display'] ) ) {
|
1626 |
+
$value = '';
|
1627 |
+
} elseif ( is_array( $value ) && isset( $value['display'] ) && ! ctype_digit( strval( $value['display'][0] ) ) ) {
|
1628 |
$value = $value['display'][0];
|
1629 |
} else {
|
1630 |
$value = YITH_WAPO_Option::getOptionDataByValueKey( $single_type, $value['display'][0], 'label' );
|
1668 |
|
1669 |
if ( $type_list ) {
|
1670 |
|
1671 |
+
$addons_total = 0;
|
1672 |
|
1673 |
foreach ( $type_list as $single_type ) {
|
1674 |
|
1684 |
$addon_price = YITH_WAPO_Option::getOptionDataByValueKey( $single_type, $value[0], 'price' );
|
1685 |
|
1686 |
if ( is_numeric( $addon_price ) ) {
|
1687 |
+
$addons_total += $addon_price;
|
1688 |
}
|
1689 |
|
1690 |
}
|
1691 |
|
1692 |
+
$price = wc_price( $product->get_price() + $addons_total );
|
1693 |
}
|
1694 |
}
|
1695 |
|