Woocommerce Products Slider - Version 1.12.8

Version Description

  • 11/05/2017 fix - Hide out of stock - 3.0.0.
Download this release

Release Info

Developer pickplugins
Plugin Icon 128x128 Woocommerce Products Slider
Version 1.12.8
Comparing to
See all releases

Code changes from version 1.12.7 to 1.12.8

readme.txt CHANGED
@@ -4,7 +4,7 @@
4
  Tags: carousel, product, slider, woocommerce, carousel slider, product slider, woocommerce slider, Woocommerce Product slider
5
  Requires at least: 3.8
6
  Tested up to: 4.7
7
- Stable tag: 1.12.7
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -93,6 +93,9 @@ then paste this shortcode anywhere in your page to display slider<br />
93
  == Changelog ==
94
 
95
 
 
 
 
96
  = 1.12.7 =
97
  * 12/03/2017 fix - Featured product quesry compatible with WC - 3.0.0.
98
 
4
  Tags: carousel, product, slider, woocommerce, carousel slider, product slider, woocommerce slider, Woocommerce Product slider
5
  Requires at least: 3.8
6
  Tested up to: 4.7
7
+ Stable tag: 1.12.8
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
93
  == Changelog ==
94
 
95
 
96
+ = 1.12.8 =
97
+ * 11/05/2017 fix - Hide out of stock - 3.0.0.
98
+
99
  = 1.12.7 =
100
  * 12/03/2017 fix - Featured product quesry compatible with WC - 3.0.0.
101
 
templates/query.php CHANGED
@@ -12,12 +12,13 @@ if ( ! defined('ABSPATH')) exit; // if direct access
12
  $tax_query = array();
13
 
14
  if($wcps_hide_out_of_stock=='yes'){
15
-
16
- $meta_query[] = array(
17
-
18
- 'key' => '_stock_status',
19
- 'value' => 'instock',
20
- );
 
21
 
22
  }
23
 
12
  $tax_query = array();
13
 
14
  if($wcps_hide_out_of_stock=='yes'){
15
+
16
+ $tax_query[] = array(
17
+ 'taxonomy' => 'product_visibility',
18
+ 'field' => 'name',
19
+ 'terms' => 'outofstock',
20
+ 'operator' => 'NOT IN',
21
+ );
22
 
23
  }
24
 
woocommerce-products-slider.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Woocommerce Products Slider
4
  Plugin URI: http://pickplugins.com/items/woocommerce-product-slider-for-wordpress/
5
  Description: Fully responsive and mobile ready Carousel Slider for your woo-commerce product. unlimited slider anywhere via short-codes and easy admin setting.
6
- Version: 1.12.7
7
  Author: pickplugins
8
  Author URI: http://pickplugins.com
9
  Text Domain: woocommerce-products-slider
@@ -27,7 +27,7 @@ class WoocommerceProductsSlider{
27
  define('wcps_conatct_url', 'http://pickplugins.com/contact/' );
28
  define('wcps_qa_url', 'http://pickplugins.com/questions/' );
29
  define('wcps_plugin_name', 'Woocommerce Products Slider' );
30
- define('wcps_plugin_version', '1.12.7' );
31
  define('wcps_customer_type', 'free' ); // pro & free
32
  define('wcps_share_url', 'https://wordpress.org/plugins/woocommerce-products-slider/' );
33
  define('wcps_tutorial_video_url', '//www.youtube.com/embed/B0sOSp3h9fE?rel=0' );
3
  Plugin Name: Woocommerce Products Slider
4
  Plugin URI: http://pickplugins.com/items/woocommerce-product-slider-for-wordpress/
5
  Description: Fully responsive and mobile ready Carousel Slider for your woo-commerce product. unlimited slider anywhere via short-codes and easy admin setting.
6
+ Version: 1.12.8
7
  Author: pickplugins
8
  Author URI: http://pickplugins.com
9
  Text Domain: woocommerce-products-slider
27
  define('wcps_conatct_url', 'http://pickplugins.com/contact/' );
28
  define('wcps_qa_url', 'http://pickplugins.com/questions/' );
29
  define('wcps_plugin_name', 'Woocommerce Products Slider' );
30
+ define('wcps_plugin_version', '1.12.8' );
31
  define('wcps_customer_type', 'free' ); // pro & free
32
  define('wcps_share_url', 'https://wordpress.org/plugins/woocommerce-products-slider/' );
33
  define('wcps_tutorial_video_url', '//www.youtube.com/embed/B0sOSp3h9fE?rel=0' );