How it works
Where the search and filters appear, how results load, and what happens when JavaScript is off.
Where it appears
| Place | What shows | Set up on |
|---|---|---|
| Shop and product category pages | The plugin's filter sidebar next to your theme's product list, or your theme's own filters updated without a reload | General โ Shop Pages |
| Your theme's search box | Live suggestions while typing | General โ Search Form |
| WooCommerce product search forms | Replaced by the plugin's live search box | General โ Search Form |
| Any page or post | Search box or filter panel with results | Shortcodes, or Pro builder widgets |
Live search
- The shopper types. After Minimum characters (default 2) and a pause of Typing delay (default 150 ms), one request goes to the store.
- The store runs WooCommerce's own product search, plus an exact SKU match if Match exact SKU is on, and returns the suggestions.
- The dropdown shows them with the matched text in bold. Older or duplicate requests are cancelled or skipped.
- Pressing Enter, or View all results, opens the standard WooCommerce search results page.
Filters and results
- Shop and category pages: the plugin applies the chosen filters to WooCommerce's own product query and swaps in the updated product list, result count and page links from your theme, without a full reload. The theme's cards, "Sort by" menu and pagination stay.
- Shortcode pages: the filter panel loads results from the store. They're shown as your shop page's own product list, WooCommerce's standard cards, or the plugin's cards (Product cards).
- Active filters show as removable chips above the products, with Clear all.
- Only published products are shown, following each product's catalog visibility and WooCommerce's Hide out of stock items setting. An exact SKU match on a variation shows its parent product.
Without JavaScript
Every search box and filter panel is a real form. Without JavaScript (or before it loads), submitting it reloads the page with the filters in the address, such as ?apsf_category=dresses&apsf_min_price=20, and the same filters are applied to WooCommerce's product list. Such links can be shared.
Performance
- Scripts and styles load only on pages that show the search or filters: shop and category pages (unless Theme default is chosen), pages with a shortcode, and every page when live search is added to your theme's search form or replaces the WooCommerce search form.
- The catalog's price range is cached and refreshed when products change.
- For guests on sites without a persistent object cache, suggestions are cached for 10 minutes; product queries are cached when a persistent object cache is available.
- Live search, filters and sorting run entirely on your own site.
Accessibility
- The search box is a combobox: arrow keys move through suggestions, Enter opens one, Escape closes the list, and the number of suggestions is announced.
- Result updates are announced ("Products updated."), filter groups can be collapsed with the keyboard, and each chip has a "Remove filter" label.
- Motion is reduced when the visitor's system asks for it.
Languages
Every text can be translated. With WPML or Polylang, searches and filters run in the shopper's language, and the text settings (placeholder, no results message) can be translated with string translation.