Version Description
- Fix - Bug with search results sorting
- Update - Hide disabled variations from search
Download this release
Release Info
Developer | Mihail Barinov |
Plugin | Advanced Woo Search |
Version | 1.87 |
Comparing to | |
See all releases |
Code changes from version 1.86 to 1.87
- advanced-woo-search.php +2 -2
- includes/class-aws-search.php +2 -1
- includes/class-aws-table.php +4 -0
- readme.txt +5 -1
advanced-woo-search.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
/*
|
4 |
Plugin Name: Advanced Woo Search
|
5 |
Description: Advance ajax WooCommerce product search.
|
6 |
-
Version: 1.
|
7 |
Author: ILLID
|
8 |
Author URI: https://advanced-woo-search.com/
|
9 |
Text Domain: advanced-woo-search
|
@@ -16,7 +16,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
16 |
exit;
|
17 |
}
|
18 |
|
19 |
-
define( 'AWS_VERSION', '1.
|
20 |
|
21 |
|
22 |
define( 'AWS_DIR', dirname( __FILE__ ) );
|
3 |
/*
|
4 |
Plugin Name: Advanced Woo Search
|
5 |
Description: Advance ajax WooCommerce product search.
|
6 |
+
Version: 1.87
|
7 |
Author: ILLID
|
8 |
Author URI: https://advanced-woo-search.com/
|
9 |
Text Domain: advanced-woo-search
|
16 |
exit;
|
17 |
}
|
18 |
|
19 |
+
define( 'AWS_VERSION', '1.87' );
|
20 |
|
21 |
|
22 |
define( 'AWS_DIR', dirname( __FILE__ ) );
|
includes/class-aws-search.php
CHANGED
@@ -510,7 +510,8 @@ if ( ! class_exists( 'AWS_Search' ) ) :
|
|
510 |
'ignore_sticky_posts' => true,
|
511 |
'suppress_filters' => true,
|
512 |
'no_found_rows' => 1,
|
513 |
-
'lang' => ''
|
|
|
514 |
));
|
515 |
|
516 |
} else {
|
510 |
'ignore_sticky_posts' => true,
|
511 |
'suppress_filters' => true,
|
512 |
'no_found_rows' => 1,
|
513 |
+
'lang' => '',
|
514 |
+
'orderby' => 'include',
|
515 |
));
|
516 |
|
517 |
} else {
|
includes/class-aws-table.php
CHANGED
@@ -398,6 +398,10 @@ if ( ! class_exists( 'AWS_Table' ) ) :
|
|
398 |
|
399 |
$variation_product = new WC_Product_Variation( $child_id );
|
400 |
|
|
|
|
|
|
|
|
|
401 |
$variation_sku = $variation_product->get_sku();
|
402 |
|
403 |
$variation_desc = '';
|
398 |
|
399 |
$variation_product = new WC_Product_Variation( $child_id );
|
400 |
|
401 |
+
if ( method_exists( $variation_product, 'get_status' ) && $variation_product->get_status() === 'private' ) {
|
402 |
+
continue;
|
403 |
+
}
|
404 |
+
|
405 |
$variation_sku = $variation_product->get_sku();
|
406 |
|
407 |
$variation_desc = '';
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
|
|
4 |
Tags: widget, plugin, woocommerce, search, product search, woocommerce search, ajax search, live search, custom search, ajax, shortcode, better search, relevance search, relevant search, search by sku, search plugin, shop, store, wordpress search, wp ajax search, wp search, wp search plugin, sidebar, ecommerce, merketing, products, category search, instant-search, search highlight, woocommerce advanced search, woocommerce live search, WooCommerce Plugin, woocommerce product search
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 5.3
|
7 |
-
Stable tag: 1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -104,6 +104,10 @@ Yep. This plugin is always compatible with the latest version of Woocommerce?
|
|
104 |
|
105 |
== Changelog ==
|
106 |
|
|
|
|
|
|
|
|
|
107 |
= 1.86 =
|
108 |
* Update - Speed-up index process
|
109 |
* Update - Speed-up search
|
4 |
Tags: widget, plugin, woocommerce, search, product search, woocommerce search, ajax search, live search, custom search, ajax, shortcode, better search, relevance search, relevant search, search by sku, search plugin, shop, store, wordpress search, wp ajax search, wp search, wp search plugin, sidebar, ecommerce, merketing, products, category search, instant-search, search highlight, woocommerce advanced search, woocommerce live search, WooCommerce Plugin, woocommerce product search
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 5.3
|
7 |
+
Stable tag: 1.87
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
104 |
|
105 |
== Changelog ==
|
106 |
|
107 |
+
= 1.87 =
|
108 |
+
* Fix - Bug with search results sorting
|
109 |
+
* Update - Hide disabled variations from search
|
110 |
+
|
111 |
= 1.86 =
|
112 |
* Update - Speed-up index process
|
113 |
* Update - Speed-up search
|