WooCommerce Product Search and Filter Demo
WooCommerce product search and filters combine catalog text with shopper selections. This electronics demo lets shoppers refine a search for iPhone by Brand, moving from a product phrase to the Apple catalog subset. Both controls narrow the product list together.
Try this: Type iPhone in the search box, then pick Apple to narrow the results.
How this demo is configured
- Create a filter by Brand (product attribute pa_brand). Show as Checkboxes. Show the first 6 terms, with a More toggle.
- Search field: shown.
Filters
Showing 25–36 of 36 results
-
Add to cart
Samsung Galaxy S24 Ultra
$1,299.00 -
Sale
Add to cart
Google Pixel 8
Original price was: $699.00.$549.00Current price is: $549.00. -
Add to cart
Google Pixel 8a
$499.00 -
Add to cart
Microsoft Surface Laptop 7 (13.8")
$1,199.00 -
Add to cart
HP Spectre x360 14
$1,449.00 -
Sale
Read more
Acer Swift Go 14
Original price was: $849.00.$699.00Current price is: $699.00. -
Add to cart
iPhone 15
$799.00 -
Add to cart
MacBook Pro 14" (M3 Pro)
$1,999.00 -
Sale
Add to cart
Dell XPS 13 (9340)
Original price was: $1,199.00.$1,049.00Current price is: $1,049.00. -
Add to cart
Lenovo ThinkPad X1 Carbon Gen 12
$1,649.00 -
Sale
Add to cart
ASUS ROG Zephyrus G14 (2024)
Original price was: $1,599.00.$1,399.00Current price is: $1,399.00. -
Sale
Add to cart
MacBook Air 13" (M3)
Original price was: $1,099.00.$999.00Current price is: $999.00.
Search first, then refine with filters
The search box submits catalog text, while Brand applies a taxonomy condition. Shoppers can type a product phrase and choose Brand in either order to narrow the same product list.
When search and filters work together
Use product search when shoppers know a name or phrase, then let them narrow matches by brand, category, price, or another product field.
Add product search to a Filter Set
- Edit the product Filter Set and enable Show search box above filters.
- Set Search title (optional) and Search placeholder to language shoppers understand.
- Add a Brand taxonomy filter with the desired selection view.
- Save the set and test a query such as iPhone, then select Apple and check the matching results.
- For AJAX updates, confirm AJAX for Filters is enabled and the product container selector matches the page.