Synonyms support, search by product ID, improve popular themes integration, bug fixes and many more.
New Features
Synonyms support
Create groups of words that is equal for search.
For example you create group with words buy, pay, purchase, acquire
. So now this words is equal for search plugin and if products contains, for example, purchase
word than no matter what of this four words will be in search query. Product with purchase
word will be always presents in the search results. Read more in the guide.
Search by product ID
New plugin search source: product ID. It is disabled by default and can be enabled from the plugin settings page.
Better plurals support
Advanced plurals support is here! Include special rules for plurals, irregular English words and exceptions. Works for both products and taxonomies search.
Wholesale plugin support
Add support for Wholesale plugin. Hide from search results certain products based on user groups created with WooCommerce Wholesale Prices plugin.
Astra and Divi themes support
Add seamless integration for Astra and Divi themes.
Just go to plugin settings page and enable Seamless integration option to replace all default themes search forms with Advanced Woo Search forms.
New translation
Added Russian translation ( thanks to @hdelta045 )
Development
New ajax parameters
Added new parameters for ajax calls. It is possible to get this parameters inside plugin filters and use for any purposes.
$_REQUEST['page']
- page id
$_REQUEST['tax']
- if page where search was perform is taxonomy archive page ( product category, tag or any other WooCommerce custom taxonomy ) than this field will contains the name of this taxonomy
aws_synonyms_option_array filter
Filters synonyms that will be added to plugin index table.
add_filter( 'aws_synonyms_option_array', 'my_aws_synonyms_option_array' ); function my_aws_synonyms_option_array( $synonyms_array ) { // array( 'buy, pay, purchase, acquire' ) return $synonyms_array; }
aws_front_filters filter
Filters all current search form filters that was created for it.
add_filter( 'aws_front_filters', 'my_aws_front_filters' ); function my_aws_front_filters( $filters_arr ) { return $filters_arr; }
Bug fixes
- Bug with not working filter by product brands on search results page.
- Polylang plugin search results page bug that display results on different language.
- Ordering by price on search results page fix.
- Plugin text domain name change. Now it is proper wok with WordPress translation.
- Fix small issues with search form layout.
- Disable zooming to search input on mobile devices.
- Fix search results image proportions.
- Bug with cache for search results that can cause conflict for some special words.
- Change search ajax endpoint to
wc_ajax
and activate many WooCommerce hooks. - Fix bug with Search exclude plugin that exclude products even when plugin was deactivated.
- Fix default value for Sync index table option.
- Fix issue with showing negative numbers for products quantity when backorders presents.
Comments