Advanced Woo Search - Version 1.65

Version Description

  • Fix YITH WooCommerce Ajax Product Filter plugin support
Download this release

Release Info

Developer Mihail Barinov
Plugin Icon 128x128 Advanced Woo Search
Version 1.65
Comparing to
See all releases

Code changes from version 1.64 to 1.65

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.64
7
  Author: ILLID
8
  Author URI: https://advanced-woo-search.com/
9
  Text Domain: aws
@@ -16,7 +16,7 @@ if ( ! defined( 'ABSPATH' ) ) {
16
  exit;
17
  }
18
 
19
- define( 'AWS_VERSION', '1.64' );
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.65
7
  Author: ILLID
8
  Author URI: https://advanced-woo-search.com/
9
  Text Domain: aws
16
  exit;
17
  }
18
 
19
+ define( 'AWS_VERSION', '1.65' );
20
 
21
 
22
  define( 'AWS_DIR', dirname( __FILE__ ) );
includes/class-aws-search-page.php CHANGED
@@ -62,7 +62,7 @@ if ( ! class_exists( 'AWS_Search_Page' ) ) :
62
  add_filter( 'found_posts_query', array( $this, 'filter_found_posts_query' ), 5, 2 );
63
 
64
  // Update filters links
65
- add_filter( 'woocommerce_layered_nav_link', array( $this, 'woocommerce_layered_nav_link' ), 10, 3 );
66
 
67
  }
68
 
@@ -222,7 +222,10 @@ if ( ! class_exists( 'AWS_Search_Page' ) ) :
222
  /*
223
  * Update links for WooCommerce filter widgets
224
  */
225
- public function woocommerce_layered_nav_link( $link, $term, $taxonomy ) {
 
 
 
226
 
227
  $first_char = '&';
228
 
62
  add_filter( 'found_posts_query', array( $this, 'filter_found_posts_query' ), 5, 2 );
63
 
64
  // Update filters links
65
+ add_filter( 'woocommerce_layered_nav_link', array( $this, 'woocommerce_layered_nav_link' ) );
66
 
67
  }
68
 
222
  /*
223
  * Update links for WooCommerce filter widgets
224
  */
225
+ public function woocommerce_layered_nav_link( $link ) {
226
+ if ( ! isset( $_GET['type_aws'] ) ) {
227
+ return $link;
228
+ }
229
 
230
  $first_char = '&';
231
 
includes/class-aws-table.php CHANGED
@@ -16,6 +16,11 @@ if ( ! class_exists( 'AWS_Table' ) ) :
16
  */
17
  private $table_name;
18
 
 
 
 
 
 
19
  /**
20
  * Constructor
21
  */
@@ -541,7 +546,6 @@ if ( ! class_exists( 'AWS_Table' ) ) :
541
  //Insert data into table
542
  $this->insert_into_table( $data );
543
 
544
-
545
  }
546
 
547
  }
16
  */
17
  private $table_name;
18
 
19
+ /**
20
+ * @var AWS_Table Data
21
+ */
22
+ private $data;
23
+
24
  /**
25
  * Constructor
26
  */
546
  //Insert data into table
547
  $this->insert_into_table( $data );
548
 
 
549
  }
550
 
551
  }
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.1
7
- Stable tag: 1.64
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -101,6 +101,9 @@ Yep. This plugin is always compatible with the latest version of Woocommerce?
101
 
102
  == Changelog ==
103
 
 
 
 
104
  = 1.64 =
105
  * Fix issue with Polylang plugin support
106
  * Fix filters for search results page
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.1
7
+ Stable tag: 1.65
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
101
 
102
  == Changelog ==
103
 
104
+ = 1.65 =
105
+ * Fix YITH WooCommerce Ajax Product Filter plugin support
106
+
107
  = 1.64 =
108
  * Fix issue with Polylang plugin support
109
  * Fix filters for search results page