Version Description
- Add support for WPML plugin multi currency
- Fix css styles
Download this release
Release Info
Developer | Mihail Barinov |
Plugin | Advanced Woo Search |
Version | 1.46 |
Comparing to | |
See all releases |
Code changes from version 1.45 to 1.46
- advanced-woo-search.php +13 -3
- assets/css/common.css +7 -7
- includes/class-aws-search.php +4 -0
- readme.txt +10 -4
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: aws
|
@@ -16,7 +16,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
16 |
exit;
|
17 |
}
|
18 |
|
19 |
-
define( 'AWS_VERSION', '1.
|
20 |
|
21 |
|
22 |
define( 'AWS_DIR', dirname( __FILE__ ) );
|
@@ -87,7 +87,9 @@ final class AWS_Main {
|
|
87 |
|
88 |
add_action( 'init', array( $this, 'init' ), 0 );
|
89 |
|
90 |
-
|
|
|
|
|
91 |
|
92 |
/**
|
93 |
* Include required core files used in admin and on the frontend.
|
@@ -174,6 +176,14 @@ final class AWS_Main {
|
|
174 |
return $return_value;
|
175 |
}
|
176 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
177 |
}
|
178 |
|
179 |
endif;
|
3 |
/*
|
4 |
Plugin Name: Advanced Woo Search
|
5 |
Description: Advance ajax WooCommerce product search.
|
6 |
+
Version: 1.46
|
7 |
Author: ILLID
|
8 |
Author URI: https://advanced-woo-search.com/
|
9 |
Text Domain: aws
|
16 |
exit;
|
17 |
}
|
18 |
|
19 |
+
define( 'AWS_VERSION', '1.46' );
|
20 |
|
21 |
|
22 |
define( 'AWS_DIR', dirname( __FILE__ ) );
|
87 |
|
88 |
add_action( 'init', array( $this, 'init' ), 0 );
|
89 |
|
90 |
+
add_filter( 'wcml_multi_currency_ajax_actions', array( $this, 'add_wpml_ajax_actions' ) );
|
91 |
+
|
92 |
+
}
|
93 |
|
94 |
/**
|
95 |
* Include required core files used in admin and on the frontend.
|
176 |
return $return_value;
|
177 |
}
|
178 |
|
179 |
+
/*
|
180 |
+
* Add ajax action to WPML plugin
|
181 |
+
*/
|
182 |
+
function add_wpml_ajax_actions( $actions ){
|
183 |
+
$actions[] = 'aws_action';
|
184 |
+
return $actions;
|
185 |
+
}
|
186 |
+
|
187 |
}
|
188 |
|
189 |
endif;
|
assets/css/common.css
CHANGED
@@ -59,8 +59,8 @@
|
|
59 |
|
60 |
|
61 |
/* Clear button */
|
62 |
-
.aws-container .aws-search-clear {
|
63 |
-
display: none;
|
64 |
position: absolute;
|
65 |
top: 0;
|
66 |
right: 0;
|
@@ -71,7 +71,7 @@
|
|
71 |
width: 38px;
|
72 |
padding-left: 10px;
|
73 |
}
|
74 |
-
.aws-container .aws-search-clear span {
|
75 |
position: relative;
|
76 |
display: block;
|
77 |
font-size: 24px;
|
@@ -80,12 +80,12 @@
|
|
80 |
margin-top: -12px;
|
81 |
}
|
82 |
|
83 |
-
.aws-container .aws-show-clear.aws-form-active .aws-search-clear {
|
84 |
-
display: block;
|
85 |
}
|
86 |
|
87 |
-
.aws-container .aws-form-active.aws-processing .aws-search-clear {
|
88 |
-
display: none;
|
89 |
}
|
90 |
|
91 |
|
59 |
|
60 |
|
61 |
/* Clear button */
|
62 |
+
.aws-container .aws-search-form .aws-search-clear {
|
63 |
+
display: none !important;
|
64 |
position: absolute;
|
65 |
top: 0;
|
66 |
right: 0;
|
71 |
width: 38px;
|
72 |
padding-left: 10px;
|
73 |
}
|
74 |
+
.aws-container .aws-search-form .aws-search-clear span {
|
75 |
position: relative;
|
76 |
display: block;
|
77 |
font-size: 24px;
|
80 |
margin-top: -12px;
|
81 |
}
|
82 |
|
83 |
+
.aws-container .aws-search-form.aws-show-clear.aws-form-active .aws-search-clear {
|
84 |
+
display: block !important;
|
85 |
}
|
86 |
|
87 |
+
.aws-container .aws-search-form.aws-form-active.aws-processing .aws-search-clear {
|
88 |
+
display: none !important;
|
89 |
}
|
90 |
|
91 |
|
includes/class-aws-search.php
CHANGED
@@ -54,6 +54,10 @@ if ( ! class_exists( 'AWS_Search' ) ) :
|
|
54 |
*/
|
55 |
public function action_callback() {
|
56 |
|
|
|
|
|
|
|
|
|
57 |
echo json_encode( $this->search() );
|
58 |
|
59 |
die;
|
54 |
*/
|
55 |
public function action_callback() {
|
56 |
|
57 |
+
if ( ! defined( 'DOING_AJAX' ) ) {
|
58 |
+
define( 'DOING_AJAX', true );
|
59 |
+
}
|
60 |
+
|
61 |
echo json_encode( $this->search() );
|
62 |
|
63 |
die;
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: Mihail Barinov
|
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=GSE37FC4Y7CEY
|
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: 4.9.
|
7 |
-
Stable tag: 1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -25,13 +25,14 @@ Advanced Woo Search - powerful live search plugin for WooCommerce. Just start ty
|
|
25 |
* **Terms search** - Search for product categories and tags
|
26 |
* **Smart ordering** - Search results ordered by the priority of source where they were found
|
27 |
* **Fast** - Nothing extra. Just what you need for proper work
|
28 |
-
* **WPML**, **Polylang**, **WooCommerce Multilingual**, **qTranslate** support
|
29 |
* **Stop Words** support to exclude certain words from search.
|
30 |
* Supports **variable products**
|
31 |
* Support for your current **search page**. Plugin search results will be integrated to your current page layout.
|
32 |
* Automatically synchronize all products data. No need to re-index all content manually after avery change.
|
33 |
* Plurals support
|
34 |
* Google Analytics support
|
|
|
|
|
35 |
* Custom Product Tabs for WooCommerce plugin support
|
36 |
* Search Exclude plugin support
|
37 |
|
@@ -87,13 +88,18 @@ Yep. This plugin is always compatible with the latest version of Woocommerce?
|
|
87 |
|
88 |
== Screenshots ==
|
89 |
|
90 |
-
1.
|
|
|
91 |
2. Plugin settings page. General options
|
92 |
3. Plugin settings page. Search form options
|
93 |
4. Plugin settings page. Search results options
|
94 |
|
95 |
== Changelog ==
|
96 |
|
|
|
|
|
|
|
|
|
97 |
= 1.45 =
|
98 |
* Fix bug with re-index process ( too much requests error )
|
99 |
* Add timeout for keyup event
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=GSE37FC4Y7CEY
|
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: 4.9.7
|
7 |
+
Stable tag: 1.46
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
25 |
* **Terms search** - Search for product categories and tags
|
26 |
* **Smart ordering** - Search results ordered by the priority of source where they were found
|
27 |
* **Fast** - Nothing extra. Just what you need for proper work
|
|
|
28 |
* **Stop Words** support to exclude certain words from search.
|
29 |
* Supports **variable products**
|
30 |
* Support for your current **search page**. Plugin search results will be integrated to your current page layout.
|
31 |
* Automatically synchronize all products data. No need to re-index all content manually after avery change.
|
32 |
* Plurals support
|
33 |
* Google Analytics support
|
34 |
+
* **WPML**, **Polylang**, **WooCommerce Multilingual**, **qTranslate** support
|
35 |
+
* **WPML multi-currency** support
|
36 |
* Custom Product Tabs for WooCommerce plugin support
|
37 |
* Search Exclude plugin support
|
38 |
|
88 |
|
89 |
== Screenshots ==
|
90 |
|
91 |
+
1. Search from front-end view
|
92 |
+
1. Search form in sidebar added as widget
|
93 |
2. Plugin settings page. General options
|
94 |
3. Plugin settings page. Search form options
|
95 |
4. Plugin settings page. Search results options
|
96 |
|
97 |
== Changelog ==
|
98 |
|
99 |
+
= 1.46 =
|
100 |
+
* Add support for WPML plugin multi currency
|
101 |
+
* Fix css styles
|
102 |
+
|
103 |
= 1.45 =
|
104 |
* Fix bug with re-index process ( too much requests error )
|
105 |
* Add timeout for keyup event
|