=== Smart WooCommerce Search ===
Contributors: yummy-wp
Tags: search, ajax search, product search, search by sku, woocommerce search
Stable tag: 2.16.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Requires at least: 5.9
Tested up to: 6.9
Requires PHP: 7.0

Ideal Product Search plugin for WooCommerce shops that enhances users' experience with a live search feature.

== Description ==

= Ideal Product Search plugin for WooCommerce shops that enhances users' experience with a live search feature. =

[Check Demo](https://demo.wpsmartsearch.com/)

[Documentation](https://www.wpsmartsearch.com/docs/)

[Upgrade to PRO](https://www.wpsmartsearch.com/features/?utm_source=wporg&utm_medium=link&utm_campaign=upgrade_to_pro)

Improve default **WooCommerce search** or create a custom search widget in a few simple steps. The **Smart Search** plugin provides real-time suggestions in a fullscreen popup with synonyms and latest searches.

You can completely customize your **smart woocommerce search**. In addition, the plugin integrates seamlessly into many themes and page builders.

= Free Features: =

 * Full Screen Mode
 * Recent Searches
 * Search results with images and prices
 * Google Analytics integration [GA4](https://www.wpsmartsearch.com/docs/analytics/)
 * Simple integration into default search widgets
 * [Search by product SKU](https://www.wpsmartsearch.com/docs/content-types/#2-toc-title)
 * Search in product Categories
 * Search in product Tags
 * Selected product categories
 * Allow/disallow searching in selected product categories
 * Exclude "Out of stock" products from search results
 * Multiple words search
 * Elementor compatible
 * DIVI compatible
 * WPBakery Page Builder compatible
 * Visual Composer compatible
 * Search Exclude plugin compatible

Discover the PRO features of our plugin with a **14-day trial period**.

= Upgrade to PRO and boost your sales: =

   * ["Did you mean" Keywords/Synonyms](https://www.wpsmartsearch.com/docs/synonyms/)
   * [Search in Variations](https://www.wpsmartsearch.com/docs/content-types/#1-toc-title)
   * [Search in Custom Post Types](https://www.wpsmartsearch.com/docs/content-types/#1-toc-title)
   * [Search in Custom Taxonomies](https://www.wpsmartsearch.com/docs/content-types/#3-toc-title)
   * [Search in Custom Fields](https://www.wpsmartsearch.com/docs/content-types/#2-toc-title)
   * Search in Product Attributes
   * Search in Product Brands
   * Product labels
   * [Stop words](https://www.wpsmartsearch.com/docs/stop-words/)
   * [Data indexing](https://www.wpsmartsearch.com/docs/data-indexing/)
   * Advanced caching (Memcache, Redis)
   * Automatic plugin updates
   * [Grid layout](https://www.wpsmartsearch.com/docs/layout-settings/#1-toc-title)
   * Add to Cart button
   * WPML compatibility
   * Polylang compatibility
   * ACF plugin compatibility
   * Custom Post Type UI plugin compatibility
   * Ultimate WooCommerce Brands plugin compatibility
   * More customization and styling settings

Do you have any questions or concerns? Feel free to contact us via the [contact form](https://www.wpsmartsearch.com/contact/).

== Installation ==

1. Unzip the downloaded .zip file.
2. Upload the plugin folder to the `wp-content/plugins/` directory of your WordPress site.
3. Go to the 'Plugins' menu in WordPress and activate the Smart WooCommerce Search plugin.
4. Configure the plugin (/wp-admin/admin.php?page=smart-search)
5. Place the search plugin shortcode `<?php echo do_shortcode('[smart_search id="1"]');  ?>` into your template or simply use the built-in widget.

== Frequently Asked Questions ==

= How to add Smart Search widget into the theme template (a PHP file) =

Just add these PHP code `<?php echo do_shortcode('[smart_search id="1"]');  ?>`
In example used widget with ID = 1, so don't forget to change widget ID to needed value.

= Is it compatible with my WordPress themes? =

Plugin not tested with all themes, but it easily integrated in any theme, and may be require some styling to make it match nicely.

= How to manage plugin settings? =

Please read a [documentation](https://www.wpsmartsearch.com/docs/general-settings/).

= Is there a way to show the ‘shop search output’ from WooCommerce, for example 3 items per row? =

Yes, when using products search or when you set option to search only through products in default or in custom search widget (shortcode) the search page displays WooCommerce product layout.

== Screenshots ==

1. Latest Searches
2. Smart Search PRO - Grid layout
3. Smart Search PRO - Did you mean / Synonyms
4. Fullscreen Popup
5. Searching by SKU

== Changelog ==

= 2.16.0 =
* Added: option to enable events tracking (Google Analytics 4)
* Compatibility: WooCommerce 10.6

= 2.15.2 =
* Fixed: error related to title output

= 2.15.1 =
* Updated: spanish translations

= 2.15.0 =
* Added: Option to select predefined loader
* Added: Option to select custom image for loader
* Under the hood improvements

= 2.14.0 =
* Added: Option to display product rating
* Under the hood improvements

= 2.13.0 =
* Added: Option to display selected product categories in the fullscreen popup

= 2.12.3 =
* Updated: Freemius SDK

= 2.12.0 =
* Added: setting 'Full Screen Mode' to display results in a full screen popup
* Added: setting 'Recent Searches' to display user's latest searches
* Tweak: compatibility issue with DIVI builder
* Updated: admin settings styling

= 2.11.7 =
* Added: Setting 'Custom CSS selectors' to set CSS selectors to enhance existing search bar with Smart Search features
* Added: Setting 'Custom CSS Styles' to add inline CSS
* Tweak: fixed issue with multiple search bars on a page

= 2.11.6 =
* Added: WP filter 'sws_search_bar_css_selectors' to set CSS selectors to extend existing search bar with Smart Search features

= 2.11.5 =
* Fixed: 'Product Collection' block's query fix on the search results page
* Fixed: 'Query Loop' block's query fix on the search results page
* Fixed: compatibility issue with "HUSKY - Products Filter Professional for WooCommerce" plugin
* Tweak: woocommerce order filters issue on the search results page
* Tweak: updated custom search bar output to meet W3C requirements

= 2.11.4 =
* Fixed: search results page issue in a block-themes
* Tweak: woocommerce order filters issue on the search results page

= 2.11.3 =
* Fixed: problem with expired nonce due to cached page
* Fixed: inconsistent popup collapsing
* Fixed: Gutenberg search block tweak
* Added: translations

= 2.11.2 =
* Added: French translation file
* Added: Spanish translation file

= 2.11.0 =
* Added: option to set Popup Max Height for mobiles
* Added: option to select Image Size from defined media sizes
* Added: option to set a gap between search bar and popup
* Added: option to set Rounded Border for popup
* Added: option to set Search Bar Height
* Tweak: CSS styles updates

= 2.10.1 =
* Added: setting "Suppress Query Altering" for the search results page
* Added: filter 'sws_view_all_button_text'
* Added: filter 'sws_filter_search_terms'
* Tweak: small under the hood fixes

= 2.10.0 =
* Added: results order settings
* Added: blueprint.json file
* Tweak: REST request processing issue

= 2.9.0 =
* Added: "Popup Max Height" option
* Fixed: MYSQL query errors when search terms are incorrect
* Tweak: changes for the default search bar added through Gutenberg

= 2.8.0 =
* Fixed: issue with the "Highlight Search Terms on the Search Results Page" setting
* Tweak: Raised the minimum required PHP version to 7.0

= 2.7.0 =
* Added: option to disable default WooCommerce redirect to product page if there is only one search result
* Updates: small improvements

= 2.6.3 =
* Updates: bug fixes / code optimization / improvements

= 2.6.2 =
* Updates: php code optimization / improvements
* Updates: caching improvements

= 2.6.1 =
* Added: Declaration for WooCommerce High-Performance order storage compatibility

= 2.6.0 =
* Added: "Display Category" and "Category Color" options to output product/post category in the search results popup

= 2.5.2 =
* Fixed: deprecation warnings related to PHP 8
* Compatibility: WooCommerce 7.8

= 2.5.1 =
* Fixed: vulnerability issue related to missing capability checks on the duplicate() & remove() functions called via AJAX actions

= 2.5.0 =
* Added: target "_blank" option for "View All" button
* Compatibility: WooCommerce 7.5

= 2.4.0 =
* Added: hook for altering search results output 'ysm_suggestion_image_output'
* Compatibility: WooCommerce 7.0

= 2.3.1 =
* Fixed: issue when search results page doesn't display any products
* Updates: localization files and strings

= 2.3.0 =
* Fixed: Smart Search hooks priority issue when search results page doesn't displays needed products
* Fixed: issue when additional woocommerce filters do not applies to the products in search results
* Added: option to disable AJAX functionality (results popup)

= 2.2.7 =
* restored SKU search
* Compatibility: WooCommerce 5.9

= 2.2.6 =
* small fixes
* Compatibility: WooCommerce 5.8

= 2.2.5 =
* Fixed: issue with popup results click event
* Compatibility: WordPress 5.8
* Compatibility: WooCommerce 5.5

= 2.2.4 =
* Fixed: issue with non-latin encoding
* Compatibility: WooCommerce 5.2

= 2.2.3 =
* Fixed: errors while saving options on the multisite installation
* Tweaks: under the hood improvements

= 2.2.2 =
* Tweaks: optimizations for the query that runs on the search results page

= 2.2.1 =
* Fixed: tweaks for multiple words issue

= 2.2.0 =
* Added: option to extend default Avada's search bar
* Fixed: issue when multiple words separated with a space

= 2.1.1 =
* Fixed: fatal error when no custom widgets added

= 2.1.0 =
* Fixed: special character issue
* Updated: admin pages structure
* Compatibility: WooCommerce 5.0

= 2.0.3 =
* Tweaks: search results order
* Tweaks: input styles
* Compatibility: WooCommerce 4.8 and WordPress 5.6

= 2.0.2 =
* Fixed: popup height issue on mobiles
* Fixed: product link on the product title
* Compatibility: WooCommerce 4.7

= 2.0.1 =
* Fixed: issue with removing Elementor widget
* Fixed: error when searching in custom fields

= 2.0.0 =
* Database queries optimization
* Code optimization
* UI improvements
* Fixed: View All button link

= 1.6.2 =
* Tweaks: WooCommerce 4.4 compatibility
* small fixes

= 1.6.1 =
* WordPress 5.5 compatibility

= 1.6.0 =
* code refactoring and optimization
* Elementor compatibility
* Accessibility fix

= 1.5.20 =
* code refactoring and optimization
* WooCommerce 4.3 compatibility

= 1.5.19 =
* Fixed: issue related to single quote in a search terms
* code refactoring

= 1.5.18 =
* Fixed: issue when empty results on search page
* Fixed: empty placeholder in search bar
* Some code refactoring

= 1.5.17 =
* Fixed: search results page pre_get_posts filter

= 1.5.16 =
* Fixed: compatibility with Avada

= 1.5.15 =
* Updated: po file
* Small tweaks

= 1.5.14 =
* Compatibility with WooCommerce 4.0

= 1.5.13 =
* Added compatibility with WOOF plugin
* Fixed - issue with query parameters in View All button

= 1.5.12 =
* Fixed - WP 5.3 compatibility issue
* Fixed - issue with '+' symbol in the query

= 1.5.11 =
* Fixed - Polylang compatibility issue
* Fixed - Variations displaying when not in stock

= 1.5.10 =
* Fixed - DIVI shortcodes issue in search results

= 1.5.9 =
* Fixed - outputting variations when parent product in draft
* Code optimizations

= 1.5.8 =
* Improved - search results page output
* Improved - visibility and exclusion query parameters

= 1.5.7 =
* Fixed - search results page query
* Improved - autocomplete function

= 1.5.6 =
* Added - "Search Field Background Color" option
* Improved - "Fuzzy Search" option

= 1.5.5 =
* Fixed - php warning

= 1.5.4 =
* Fixed - results order (by title) issue when "fuzzy search" option enabled
* Fixed - issue on mobiles when results popup can't be closed

= 1.5.3 =
* Added - "Search Page Layout with Posts" option
* Fixed - displaying of "View all" link when no suggestions

= 1.5.2 =
* Fixed - "Disallowed Product Categories" option
* Fixed - searching by SKU

= 1.5.1 =
* Added "Disallowed Product Categories" option
* Support for WooCommerce 3.4.2

= 1.5.0 =
* Added excerpt position option

= 1.4.8 =
* Fixed duplicating of results when searching by SKU;
* Fixed outputting of all posts instead of no results;

= 1.4.7 =
* Fixed Search Page results amount issue

= 1.4.6 =
* Added Search Exclude plugin compatibility
* Under the hood improvements

= 1.4.5 =
* Fixed View All Button link
* Fixed Search results page output

= 1.4.4 =
* Speed optimizations
* Fixed form submitting link

= 1.4.3 =
* Added option - Exclude "Out of stock" products from results
* Under the hood improvements

= 1.4.2 =
* Fixed fuzzy search
* Fixed issue with '/' in search text

= 1.4.1 =
* Fixed syntax error for php version less than 5.4

= 1.4.0 =
* Added option "Fuzzy search (multiple word search)"
* Under the hood improvements

= 1.3.0 =
* Added option "Enable search through Variable Product Variations"
* Added option "Accent Words on Search Page"
* Under the hood improvements

= 1.2.3 =
* Fixed issue with a border in "No results" block

= 1.2.2 =
* Fixed issue with a special characters like "őűóíúéá"
* Fixed issue with a multibyte strings

= 1.2.1 =
* Fixed WooCommerce 3.0 compatibility issue, when new products didn't shows up in the search results
* Small improvements

= 1.2.0 =
* Added option to display a product SKU in the results popup
* Added option to restrict the product searching by selected categories
* Added option to set custom widget input border width
* Small improvements

= 1.1.3 =
* Prevent redirecting to the Search results page when a customer presses Enter and the number of typed characters less then characters number set in the plugin settings
* Fixed popup content scrolling by mouse wheel (Windows OS browsers)

= 1.1.2 =
* Fixed searching by sku
* Fixed css cross browser issues

= 1.1.1 =

* Fixed issue with fonts (fontello) conflict

= 1.1.0 =

* Changed search results page output - when using products search or when you set option to search only through products in default or in custom search widget (shortcode) the search page displays WooCommerce product layout
* Added option ("Display default search output on search results page") to disable plugin filter that overrides default WordPress or WooCommerce search query

= 1.0.0 =

* Initial release
