FacetWP can be used to add faceted search (i.e. advanced filtering) to WooCommerce shop pages. Facets can be created using any of the following WooCommerce product data:
- Sale Price
- Regular Price
- Average Rating
- Stock Status (in stock / out of stock)
- On Sale
- Product Categories
- Product tags
- Product attributes
Create your facet
After you’ve added some new products, go to Settings > FacetWP, click the Facets tab, then click the Add New button.
For the facet’s Data source, scroll down until you see the WooCommerce header, then select the appropriate choice.
Settings > FacetWP > Settings, there’s a WooCommerce tab. It includes a dropdown to choose whether FacetWP should automatically support variable products.
Out of stock products
Settings > FacetWP > Settings, there’s a WooCommerce tab. It includes a dropdown to choose whether FacetWP should include out-of-stock products as filter choices.
Display facets on your shop
Please see our screencast on adding facets to WooCommerce shop pages. The screencast uses the Storefront theme, but the same approach works with most themes.