YITH WooCommerce Quick View - Version 1.2.1

Version Description

Released Apr 05 - 2017

  • Fix: Compatibility issue with YITH WooCommerce Wishlist.
  • Update: Plugin Core.
Download this release

Release Info

Developer yithemes
Plugin Icon 128x128 YITH WooCommerce Quick View
Version 1.2.1
Comparing to
See all releases

Code changes from version 1.2.0 to 1.2.1

README.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: yithemes
3
  Tags: yith, woocommerce, quick view, woocommerce quick view, yit, single product, products quick view, free quick view, woocommerce extension, woocommerce plugin, product summary, summary, modal
4
  Requires at least: 4.0
5
  Tested up to: 4.7.3
6
- Stable tag: 1.2.0
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -42,6 +42,11 @@ Full documentation is available [here](http://yithemes.com/docs-plugins/yith-woo
42
 
43
  == Changelog ==
44
 
 
 
 
 
 
45
  = 1.2.0 = Released Mar 31 - 2017
46
 
47
  * New: Support to WordPress 4.7.3.
@@ -142,9 +147,7 @@ If you have created your own language pack, or have an update for an existing on
142
 
143
  == Upgrade notice ==
144
 
145
- = 1.2.0 = Released Mar 31 - 2017
146
 
147
- * New: Support to WordPress 4.7.3.
148
- * New: Support to WooCommerce 3.0.0 RC2.
149
- * New: Shortcode [yith_quick_view product_id="" label=""] for print "quick view" button of specified product.
150
  * Update: Plugin Core.
3
  Tags: yith, woocommerce, quick view, woocommerce quick view, yit, single product, products quick view, free quick view, woocommerce extension, woocommerce plugin, product summary, summary, modal
4
  Requires at least: 4.0
5
  Tested up to: 4.7.3
6
+ Stable tag: 1.2.1
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
42
 
43
  == Changelog ==
44
 
45
+ = 1.2.1 = Released Apr 05 - 2017
46
+
47
+ * Fix: Compatibility issue with YITH WooCommerce Wishlist.
48
+ * Update: Plugin Core.
49
+
50
  = 1.2.0 = Released Mar 31 - 2017
51
 
52
  * New: Support to WordPress 4.7.3.
147
 
148
  == Upgrade notice ==
149
 
150
+ = 1.2.1 = Released Apr 05 - 2017
151
 
152
+ * Fix: Compatibility issue with YITH WooCommerce Wishlist.
 
 
153
  * Update: Plugin Core.
assets/css/yith-quick-view.css CHANGED
@@ -47,7 +47,7 @@ html.yith-quick-view-is-open body {
47
  -moz-backface-visibility: hidden;
48
  backface-visibility: hidden;
49
  text-align: left;
50
- height: 700px;
51
  width: 1000px;
52
  }
53
 
@@ -71,7 +71,7 @@ html.yith-quick-view-is-open body {
71
  opacity: 1;
72
  }
73
 
74
- #yith-quick-view-modal .yith-quick-view-content {
75
  height: 100%;
76
  }
77
 
@@ -89,8 +89,8 @@ html.yith-quick-view-is-open body {
89
  opacity: 1;
90
  height: 100%;
91
  overflow-y: scroll;
 
92
  }
93
-
94
  #yith-quick-view-close {
95
  border: 1px solid;
96
  position: absolute;
@@ -113,6 +113,7 @@ html.yith-quick-view-is-open body {
113
  #yith-quick-view-content div.images {
114
  width: 40%;
115
  float: left;
 
116
  }
117
  #yith-quick-view-content div.summary {
118
  margin: 0;
47
  -moz-backface-visibility: hidden;
48
  backface-visibility: hidden;
49
  text-align: left;
50
+ height: 600px;
51
  width: 1000px;
52
  }
53
 
71
  opacity: 1;
72
  }
73
 
74
+ #yith-quick-view-modal #yith-quick-view-content {
75
  height: 100%;
76
  }
77
 
89
  opacity: 1;
90
  height: 100%;
91
  overflow-y: scroll;
92
+ position: relative;
93
  }
 
94
  #yith-quick-view-close {
95
  border: 1px solid;
96
  position: absolute;
113
  #yith-quick-view-content div.images {
114
  width: 40%;
115
  float: left;
116
+ opacity: 1 !important;
117
  }
118
  #yith-quick-view-content div.summary {
119
  margin: 0;
includes/class.yith-wcqv-frontend.php CHANGED
@@ -67,7 +67,7 @@ if( ! class_exists( 'YITH_WCQV_Frontend' ) ) {
67
 
68
  // add button
69
  add_action( 'woocommerce_after_shop_loop_item', array( $this, 'yith_add_quick_view_button' ), 15 );
70
- add_action( 'yith_wcwl_table_after_product_name', array( $this, 'yith_add_quick_view_button' ), 15 );
71
 
72
  // load modal template
73
  add_action( 'wp_footer', array( $this, 'yith_quick_view' ) );
@@ -121,10 +121,8 @@ if( ! class_exists( 'YITH_WCQV_Frontend' ) ) {
121
 
122
  global $product;
123
 
124
- if( ! $product_id ){
125
- $product_id = yit_get_prop( $product, 'id', true );
126
- }
127
-
128
  // get label
129
  ! $label && $label = $this->get_button_label();
130
 
67
 
68
  // add button
69
  add_action( 'woocommerce_after_shop_loop_item', array( $this, 'yith_add_quick_view_button' ), 15 );
70
+ add_action( 'yith_wcwl_table_after_product_name', array( $this, 'yith_add_quick_view_button' ), 15, 0 );
71
 
72
  // load modal template
73
  add_action( 'wp_footer', array( $this, 'yith_quick_view' ) );
121
 
122
  global $product;
123
 
124
+ // get product id
125
+ ! $product_id && $product_id = yit_get_prop( $product, 'id', true );
 
 
126
  // get label
127
  ! $label && $label = $this->get_button_label();
128
 
init.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: YITH WooCommerce Quick View
4
  * Plugin URI: https://yithemes.com/themes/plugins/yith-woocommerce-quick-view
5
  * Description: YITH WooCommerce Quick View allows your users to have a quick look about products.
6
- * Version: 1.2.0
7
  * Author: YITHEMES
8
  * Author URI: https://yithemes.com/
9
  * Text Domain: yith-woocommerce-quick-view
@@ -11,7 +11,7 @@
11
  *
12
  * @author Yithemes
13
  * @package YITH WooCommerce Quick View
14
- * @version 1.2.0
15
  */
16
  /* Copyright 2015 Your Inspiration Themes (email : plugins@yithemes.com)
17
 
@@ -59,7 +59,7 @@ register_activation_hook( __FILE__, 'yith_plugin_registration_hook' );
59
 
60
 
61
  if ( ! defined( 'YITH_WCQV_VERSION' ) ){
62
- define( 'YITH_WCQV_VERSION', '1.2.0' );
63
  }
64
 
65
  if ( ! defined( 'YITH_WCQV_FREE_INIT' ) ) {
3
  * Plugin Name: YITH WooCommerce Quick View
4
  * Plugin URI: https://yithemes.com/themes/plugins/yith-woocommerce-quick-view
5
  * Description: YITH WooCommerce Quick View allows your users to have a quick look about products.
6
+ * Version: 1.2.1
7
  * Author: YITHEMES
8
  * Author URI: https://yithemes.com/
9
  * Text Domain: yith-woocommerce-quick-view
11
  *
12
  * @author Yithemes
13
  * @package YITH WooCommerce Quick View
14
+ * @version 1.2.1
15
  */
16
  /* Copyright 2015 Your Inspiration Themes (email : plugins@yithemes.com)
17
 
59
 
60
 
61
  if ( ! defined( 'YITH_WCQV_VERSION' ) ){
62
+ define( 'YITH_WCQV_VERSION', '1.2.1' );
63
  }
64
 
65
  if ( ! defined( 'YITH_WCQV_FREE_INIT' ) ) {
plugin-fw/init.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Framework Name: YIT Plugin Framework
4
- * Version: 2.9.62
5
  * Author: Yithemes
6
  * Text Domain: yith-plugin-fw
7
  * Domain Path: /languages/
1
  <?php
2
  /**
3
  * Framework Name: YIT Plugin Framework
4
+ * Version: 2.9.63
5
  * Author: Yithemes
6
  * Text Domain: yith-plugin-fw
7
  * Domain Path: /languages/
plugin-fw/yit-woocommerce-compatibility.php CHANGED
@@ -319,6 +319,7 @@ if ( !function_exists( 'yit_wc_deprecated_filters' ) ) {
319
  'woocommerce_product_weight' => 'woocommerce_product_get_weight',
320
  'woocommerce_get_sku' => 'woocommerce_product_get_sku',
321
  'woocommerce_get_price' => 'woocommerce_product_get_price',
 
322
  'woocommerce_get_regular_price' => 'woocommerce_product_get_regular_price',
323
  'woocommerce_get_sale_price' => 'woocommerce_product_get_sale_price',
324
  'woocommerce_product_tax_class' => 'woocommerce_product_get_tax_class',
319
  'woocommerce_product_weight' => 'woocommerce_product_get_weight',
320
  'woocommerce_get_sku' => 'woocommerce_product_get_sku',
321
  'woocommerce_get_price' => 'woocommerce_product_get_price',
322
+ 'woocommerce_get_price' => 'woocommerce_product_variation_get_price',
323
  'woocommerce_get_regular_price' => 'woocommerce_product_get_regular_price',
324
  'woocommerce_get_sale_price' => 'woocommerce_product_get_sale_price',
325
  'woocommerce_product_tax_class' => 'woocommerce_product_get_tax_class',