LeanSearch for WooCommerce
Search by product name, SKU, color or size. Let shoppers filter results, preview products and add them to the cart without leaving search.
Install LeanSearch and add product search
Install LeanSearch, prepare your product index and add a search box to your store.
Before you start
You need an administrator account, an active WooCommerce installation and the LeanSearch installation ZIP. Keep your license key available for activation. Back up your site before installing a new plugin.
LeanSearch requires WordPress 6.9+, WooCommerce 10.9+, PHP 8.2+ with mbstring, and MySQL 8.0+ or MariaDB 10.6+. Your host must provide InnoDB storage and a working WordPress or server cron runner for background updates.
Install and activate
- In WordPress, open Plugins > Add New Plugin > Upload Plugin.
- Select the LeanSearch ZIP and choose Install Now.
- Select Activate Plugin. Complete the license activation screen with your LeanSearch license key.
- Open WooCommerce > LeanSearch > Overview. This is where you check your search index and catalogue updates.
Let the first index finish
LeanSearch builds its index from your products and variations. Select Refresh status to check progress. A large catalogue takes longer to prepare. During initial indexing, the search form can still submit ordinary product searches; live suggestions become available when the index is ready.
If progress stops, check the reported error before retrying. Use Resume indexing for unfinished work, or Tools > Run one batch to check whether background processing is delayed.
Add the search box
Add the LeanSearch product search block to a page or supported header template. You can also use [carticy_leansearch] in a Shortcode block, the classic widget or the Elementor widget. Publish the page or template and open it on your storefront.
Adding the plugin does not replace every theme’s existing header search. Add and test the LeanSearch form before removing your previous search component.
Check your first searches
- Search for a published product by name, then by its exact SKU.
- Search for a variation by SKU or its color and size. Open the result and check the selected option.
- Submit the form to check the full results page.
- Test quick view and adding a product to the cart as an ordinary shopper.
Under Search, the default is two characters before suggestions appear and up to eight products in the dropdown. Variations are grouped under their parent product. Save any changes before testing again. Insights are optional and stay off until you enable them.