Learn how to set up, customize, and expand the functionality of your WooCommerce products with our library of documentation and tutorials.
  1. Documentation /
  2. Products /
  3. Extensions /
  4. WooCommerce Product Search

WooCommerce Product Search

The WooCommerce Product Search extension provides an advanced Search Engine and Search Experience for you and your customers. Visit the main documentation page here: WooCommerce Product Search Documentation

Categories


Documents

  • Debugging

    The constants documented here can be defined in your site’s wp-config.php. For other constants that you can use to fine-tune certain aspects of the search engine, please refer to the section on Constants. How to enable Debugging Add the following lines in wp-config.php to have general PHP and WordPress warnings, error messages and status information […]

  • Events

    ixProductFilterRequestProcessed This jQuery event is hooked on the document and is triggered after a filter request response has been processed. This will typically involve a change to the set of products displayed, according to the current filter context. This event can be useful in post-processing, after a filter request has been attended. For example, some […]

  • Examples

    Search Form in PHP templates Use the woocommerce_product_search() function to render the search facility in PHP templates. This function accepts an array of options as described for the shortcode. See the page Shortcodes for details on the parameters that can be passed to this function. Example code: <?php if ( function_exists( ‘woocommerce_product_search’ ) ) { echo woocommerce_product_search( […]

  • FAQ

    Searching doesn’t find any products or only some If the index is not fully completed, the search engine will only provide results from those products that have already been processed. Check under WooCommerce > Settings > Search > Index whether the index has reached 100%. Also check the next question for possible reasons. From time […]

  • File Cache

    Cache > File Cache Settings The settings in this section apply to the built-in high performance File Cache of the WooCommerce Product Search extension. You will find these settings on your WordPress dashboard, go to WooCommerce > Settings > Search > Cache > File Cache We recommend to use the default values for most deployments. […]

  • Filters

    product_search_limit This filter allows to alter the limit on the number of results produced for the Product Search Field. Arguments: $limit intthe number of results Return: int the number of results single_term_title Allows to modify the category name displayed for categories shown on the Product Search Field. Arguments: $name stringthe category name Return: string the […]

  • Functions

    All of the following functions take an optional array as their function argument, holding options equivalent to those that the Shortcodes allow. Please refer to documentation of the corresponding shortcode for details on the accepted attributes. All functions return a string which can be used to render the corresponding HTML in a PHP template. woocommerce_product_search() […]

  • General Settings

    Standard Product Search Optimize front end product searches This option allows the Search Engine to control searches made on the front end. If it is enabled, the Search Engine will cater for search results on the front end whenever possible — it should affect most product search facilities that you will normally encounter on public […]

  • Memcached

    Settings The settings in this section apply to the Memcached integration of the WooCommerce Product Search extension. When enabled, the search engine can use a Memcached server or server pool to power its high-performance caching system. You will find these settings on your WordPress dashboard, go to WooCommerce > Settings > Search > Cache > […]

  • Object Cache

    Settings The settings in this section apply to the Object Cache integration of the WooCommerce Product Search extension. You will find these settings on your WordPress dashboard, go to WooCommerce > Settings > Search > Cache > Object Cache The Object Cache integration uses the underlying cache mechanism of the WordPress object cache. We only […]