Documentation

Learn how to set up, customize, and expand the functionality of WooCommerce

Developer Documentation


Documents

  • Product Filter – Search

    This section focuses on the search filter feature provided by the Product Filter – Search widget, its equivalent [woocommerce_product_filter] shortcode or the corresponding API function. We will be exploring how to change the look and feel of it, and indistinctively refer to the Product Filter – Search whether generated by the widget or any other […]

  • Product Search Field

    The HTML produced for a Product Search Field, its equivalent [woocommerce_product_search] shortcode or the API function is shown below. When you want to review an instance of the Product Search Field, you can observe the according HTML in your browser’s Web Inspector. The field’s code will usually be embedded within a widget container or similar, […]

  • Themes

    This section is provided for WooCommerce developers who want to deploy the advanced search facility with specific themes. You may need an advanced understanding of PHP and WordPress development. If you are not a developer but would like to find one to help with customization, please select a WooExpert or Developer for assistance. Some issues related […]

  • 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() […]

  • Products

    Provide all products or those that match a specified set of search and filter constraints. HTTP Request GET /wp-json/wps/v1/products Parameters The endpoint allows to specify the parameters described below. Parameter Type Description status string Limit the results by post status. Options: publish for unprivileged requests. Privileged requests allow publish, any, future, trash, draft, pending and […]

  • REST API

    The WooCommerce Product Search extension introduces a new REST API, which allows to use the Search Engine to build customized components and Apps which support holistic search and filtering. [1] Endpoints The new REST API includes the following endpoints: Shop Provide products, related terms and additional data for all products or those that match a […]

  • Shop

    The Shop REST API endpoint provides products, related terms and additional data for all products or those that match a specified set of search and filter constraints. Additional data includes stats about products on sale, stock status, price range data, ratings, stats on featured products and other relevant data. HTTP Request GET /wp-json/wps/v1/shop Parameters The […]

  • Terms

    Provide all taxonomy terms or those that match a specified set of search and filter constraints. HTTP Request GET /wp-json/wps/v1/terms Parameters The endpoint allows to specify the parameters described below. Parameter Type Description taxonomy string The product taxonomy (or taxonomies separated by comma) whose terms to retrieve for the current context. except string Except the […]

Use of your personal data
We and our partners process your personal data (such as browsing data, IP Addresses, cookie information, and other unique identifiers) based on your consent and/or our legitimate interest to optimize our website, marketing activities, and your user experience.