Hide invalid filter options using metafields

Topic summary

A store with over 2,600 SKUs uses extensive product filtering based on metafields, resulting in numerous filter combinations. The owner seeks a solution to improve customer navigation by dynamically hiding invalid filter options.

Desired functionality:

  • When a customer selects a product type (Filter A), such as T-shirts
  • The size filter (Filter B) should automatically display only the sizes actually available for that product type (e.g., only S, M, L, XL)
  • This would hide filter combinations that yield no results

Goal: Streamline the filtering experience by showing only relevant, valid options based on previous selections.

Summarized with AI on November 8. AI used: claude-sonnet-4-5-20250929.

Hello,

We are a large catalogue store (2.600+ SKU’s) so we are using a lot of product filters based on metafields. Naturally we have a lot of filter combinations.

In order to help customers more easily navigate I would like to know if there is a possibility to hide ‘invalid’ filter combinations?

For example: in filter A (product type) the customer selects T-shirt, then in filter B (size) it only shows the sizes available for that product type (only S, M and L, and no XL).

Thanks a lot.