Version Description
Released Oct 05 - 2018
- New: Support to WooCommerce 3.5.0 RC1.
- New: Compatibility with YITH WooCommerce Gift Card.
- Update: Plugin Core.
Download this release
Release Info
Developer | yithemes |
Plugin | YITH WooCommerce Quick View |
Version | 1.3.4 |
Comparing to | |
See all releases |
Code changes from version 1.3.3 to 1.3.4
- README.txt +11 -4
- includes/class.yith-wcqv-frontend.php +29 -0
- init.php +3 -3
- plugin-fw/assets/css/metaboxes.css +3 -0
README.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: yithemes
|
|
3 |
Tags: woocommerce, quick view, woocommerce quick view, products quick view
|
4 |
Requires at least: 4.0
|
5 |
Tested up to: 4.9
|
6 |
-
Stable tag: 1.3.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -42,6 +42,12 @@ Full documentation is available [here](http://yithemes.com/docs-plugins/yith-woo
|
|
42 |
|
43 |
== Changelog ==
|
44 |
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
= 1.3.3 = Released Sep 27 - 2018
|
46 |
|
47 |
* Update: Plugin Core.
|
@@ -181,7 +187,8 @@ Or, if you have created your own language pack, or have an update for an existin
|
|
181 |
|
182 |
== Upgrade notice ==
|
183 |
|
184 |
-
= 1.3.
|
185 |
|
186 |
-
*
|
187 |
-
*
|
|
3 |
Tags: woocommerce, quick view, woocommerce quick view, products quick view
|
4 |
Requires at least: 4.0
|
5 |
Tested up to: 4.9
|
6 |
+
Stable tag: 1.3.4
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
42 |
|
43 |
== Changelog ==
|
44 |
|
45 |
+
= 1.3.4 = Released Oct 05 - 2018
|
46 |
+
|
47 |
+
* New: Support to WooCommerce 3.5.0 RC1.
|
48 |
+
* New: Compatibility with YITH WooCommerce Gift Card.
|
49 |
+
* Update: Plugin Core.
|
50 |
+
|
51 |
= 1.3.3 = Released Sep 27 - 2018
|
52 |
|
53 |
* Update: Plugin Core.
|
187 |
|
188 |
== Upgrade notice ==
|
189 |
|
190 |
+
= 1.3.4 = Released Oct 05 - 2018
|
191 |
|
192 |
+
* New: Support to WooCommerce 3.5.0 RC1.
|
193 |
+
* New: Compatibility with YITH WooCommerce Gift Card.
|
194 |
+
* Update: Plugin Core.
|
includes/class.yith-wcqv-frontend.php
CHANGED
@@ -61,6 +61,11 @@ if( ! class_exists( 'YITH_WCQV_Frontend' ) ) {
|
|
61 |
// custom styles and javascripts
|
62 |
add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_styles_scripts' ) );
|
63 |
|
|
|
|
|
|
|
|
|
|
|
64 |
// quick view ajax
|
65 |
add_action( 'wp_ajax_yith_load_product_quick_view', array( $this, 'yith_load_product_quick_view_ajax' ) );
|
66 |
add_action( 'wp_ajax_nopriv_yith_load_product_quick_view', array( $this, 'yith_load_product_quick_view_ajax' ) );
|
@@ -107,6 +112,30 @@ if( ! class_exists( 'YITH_WCQV_Frontend' ) ) {
|
|
107 |
wp_add_inline_style( 'yith-quick-view', $inline_style );
|
108 |
}
|
109 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
110 |
/**
|
111 |
* Add quick view button in wc product loop
|
112 |
*
|
61 |
// custom styles and javascripts
|
62 |
add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_styles_scripts' ) );
|
63 |
|
64 |
+
// enqueue gift card script
|
65 |
+
if( defined('YITH_YWGC_FILE') ){
|
66 |
+
add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_gift_card_script' ) );
|
67 |
+
}
|
68 |
+
|
69 |
// quick view ajax
|
70 |
add_action( 'wp_ajax_yith_load_product_quick_view', array( $this, 'yith_load_product_quick_view_ajax' ) );
|
71 |
add_action( 'wp_ajax_nopriv_yith_load_product_quick_view', array( $this, 'yith_load_product_quick_view_ajax' ) );
|
112 |
wp_add_inline_style( 'yith-quick-view', $inline_style );
|
113 |
}
|
114 |
|
115 |
+
|
116 |
+
/**
|
117 |
+
* Enqueue scripts for YITH WooCommerce Gift Cards
|
118 |
+
*
|
119 |
+
* @access public
|
120 |
+
* @return void
|
121 |
+
* @since 1.0.0
|
122 |
+
* @author Francesco Licandro <francesco.licandro@yithemes.com>
|
123 |
+
*/
|
124 |
+
public function enqueue_gift_card_script(){
|
125 |
+
if( !wp_script_is('ywgc-frontend') ){
|
126 |
+
wp_register_script( "ywgc-frontend",
|
127 |
+
YITH_YWGC_URL . 'assets/js/' . yit_load_js_file( 'ywgc-frontend.js' ),
|
128 |
+
array(
|
129 |
+
'jquery',
|
130 |
+
'woocommerce',
|
131 |
+
),
|
132 |
+
YITH_YWGC_VERSION,
|
133 |
+
true );
|
134 |
+
|
135 |
+
wp_enqueue_script( "ywgc-frontend" );
|
136 |
+
}
|
137 |
+
}
|
138 |
+
|
139 |
/**
|
140 |
* Add quick view button in wc product loop
|
141 |
*
|
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: The <code><strong>YITH WooCommerce Quick View</strong></code> plugin allows your customers to have a quick look about products. <a href="https://yithemes.com/" target="_blank">Find new awesome plugins on <strong>YITH</strong></a>.
|
6 |
-
* Version: 1.3.
|
7 |
* Author: YITH
|
8 |
* Author URI: https://yithemes.com/
|
9 |
* Text Domain: yith-woocommerce-quick-view
|
@@ -13,7 +13,7 @@
|
|
13 |
*
|
14 |
* @author YITH
|
15 |
* @package YITH WooCommerce Quick View
|
16 |
-
* @version 1.3.
|
17 |
*/
|
18 |
/* Copyright 2015 Your Inspiration Themes (email : plugins@yithemes.com)
|
19 |
|
@@ -61,7 +61,7 @@ register_activation_hook( __FILE__, 'yith_plugin_registration_hook' );
|
|
61 |
|
62 |
|
63 |
if ( ! defined( 'YITH_WCQV_VERSION' ) ){
|
64 |
-
define( 'YITH_WCQV_VERSION', '1.3.
|
65 |
}
|
66 |
|
67 |
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: The <code><strong>YITH WooCommerce Quick View</strong></code> plugin allows your customers to have a quick look about products. <a href="https://yithemes.com/" target="_blank">Find new awesome plugins on <strong>YITH</strong></a>.
|
6 |
+
* Version: 1.3.4
|
7 |
* Author: YITH
|
8 |
* Author URI: https://yithemes.com/
|
9 |
* Text Domain: yith-woocommerce-quick-view
|
13 |
*
|
14 |
* @author YITH
|
15 |
* @package YITH WooCommerce Quick View
|
16 |
+
* @version 1.3.4
|
17 |
*/
|
18 |
/* Copyright 2015 Your Inspiration Themes (email : plugins@yithemes.com)
|
19 |
|
61 |
|
62 |
|
63 |
if ( ! defined( 'YITH_WCQV_VERSION' ) ){
|
64 |
+
define( 'YITH_WCQV_VERSION', '1.3.4' );
|
65 |
}
|
66 |
|
67 |
if ( ! defined( 'YITH_WCQV_FREE_INIT' ) ) {
|
plugin-fw/assets/css/metaboxes.css
CHANGED
@@ -631,4 +631,7 @@
|
|
631 |
float : right;
|
632 |
margin-right : 20px;
|
633 |
margin-top : 5px;
|
|
|
|
|
|
|
634 |
}
|
631 |
float : right;
|
632 |
margin-right : 20px;
|
633 |
margin-top : 5px;
|
634 |
+
z-index: 9999 !important;
|
635 |
+
position: absolute;
|
636 |
+
right: 0;
|
637 |
}
|