Ir al contenido

Getting started

Esta página aún no está disponible en tu idioma.

  • WordPress 6.4 or newer.
  • WooCommerce 8.0 or newer.
  • PHP 8.1 or newer.
  1. Install and activate WooCommerce.
  2. Install Sieve and activate it.
  3. Open the Sieve menu in the admin (capability manage_woocommerce).

The index stores a compact, query-ready copy of each product's filterable values: categories, tags, global attributes, price, stock status, on sale and average rating. Every product is indexed for every source, whichever facets you configure, so adding or removing a facet never needs a rebuild.

Sieve builds the index for you. On the first admin page load after activation (and once after each plugin update) it schedules a background backfill with WP-Cron that indexes 200 products per run until the catalog is done. If DISABLE_WP_CRON is set, each admin page load indexes one batch inline instead. New, edited, trashed and deleted products update the index on save.

The top of the screen shows Indexed rows and a Rebuild index button. Rebuild indexes the whole catalog in one request and then removes rows for products that are no longer published. Click it:

  • after a bulk import (for example a CSV import or a sync from an ERP),
  • when counts look out of date,
  • when the card warns that the index is empty: publish products first, then rebuild before placing [sieve] on a page.
Setting Default What it does
Filter layout Sidebar Sidebar puts filters on the left and products on the right, Stacked puts filters above the grid, Inline bar shows compact horizontal filters.
Options with no matches Hide Hide removes an option that would return no products for the current selection; Show dimmed keeps it greyed out with a count of 0, so the list does not jump.
Products per page 12 Products shown before pagination appears. Minimum 1.
Columns 3 Grid columns on wide screens, 1 to 6. Tablets and phones use fewer columns automatically.

The Appearance panel below it sets the style preset and colours, see Appearance.

A fresh install ships this preset, so filtering works before you save anything:

Label Source Type
Category tax:product_cat Checkboxes
Price price Range slider
Availability stock Checkboxes
On sale on_sale Checkboxes

Each facet in the list is a card with:

  • Move up and Move down to set the order shoppers see.
  • The source key (for example tax:pa_color), shown for reference.
  • Label, the heading shoppers see.
  • Type, the presentation, with a help line under it. Only types the source can render are offered: Price is always a range slider, Search is always a search box, and every other source offers every type except Range slider. See Facet types.
  • Remove.

To add one, pick a source under Add a facet and click Add facet. Sources are detected from the store and grouped as taxonomies (product category, product tag), attributes (every global pa_* attribute) and product fields (price, stock status, on sale, average rating, search box). Each source can be added once.

Click Save settings when you are done. Reset to defaults in the Appearance panel only resets the appearance, not your facets.

Add the filter to any page with either:

  • The [sieve] shortcode, or
  • The Sieve Filter block.

Both render a complete, self-contained widget: the facets, the results grid, sorting, active-filter chips and pagination. No theme configuration is required.