For AI agents: this page is also available as Markdown at /docs/integration-woocommerce.md. Every docs page is: add .md to its URL. llms.txt lists them all.

WooCommerce

The WarpSearch plugin indexes WooCommerce products into a WarpSearch collection and serves product search from it, with as-you-type results and optional replacement of the standard store search. It is open source (GPL) on GitHub and tested with WordPress 7.1, WooCommerce 11.2 (HPOS) and PHP 8.3.

How it works

Install

  1. Create a collection and a writer key as described in the shared setup.
  2. Download warpsearch-for-woocommerce-<version>.zip from the latest release, upload it under Plugins > Add New > Upload Plugin and activate it. WooCommerce is required. Composer sites can use composer require warpsearch/warpsearch-for-woocommerce.
  3. Go to WooCommerce > WarpSearch, enter the collection and keys, and click Test connection.
  4. Click Reindex all products, or run wp warpsearch reindex.
  5. Show results with the WarpSearch block, the [warpsearch_products] shortcode, or enable Replace store search to answer WordPress product searches from WarpSearch.

Settings

Setting Purpose
Endpoint, collection, writer key The WarpSearch connection.
Search key Optional separate key used for searching; defaults to the server-held writer key.
Index name Lets several sites share one collection.
Batch size, results per page Keep them within your plan's limits.

WP-CLI

wp warpsearch reindex
wp warpsearch index 123 456
wp warpsearch status

Good to know

View this page as Markdown

Cookie settings

Optional tracking stays off until you choose it. Your choice applies to this browser for 180 days. Read the details.

Essential storage keeps you signed in, protects forms, and remembers this choice. It is always available.