# Filters in your product configurator

When your customer picks `Frame` on the table Noor, they see only the 2 frames at `Base`. When they pick
`Separate legs`, only the 2 bases with legs.

<FrameCompare
  frames={[
    {
      src: '/media/en/set-up-a-model/customer-type-separate-legs.webp',
      alt: 'Base in the configurator with Base type on Separate legs. At Base Noor straight legs and Noor angled legs.',
      label: 'Base type: Separate legs',
      change: 'Noor straight legs and Noor angled legs',
    },
    {
      src: '/media/en/set-up-a-model/customer-type-frame.webp',
      alt: 'Base in the configurator with Base type on Frame. At Base Noor U-frame and Noor A-frame.',
      label: 'Base type: Frame',
      change: 'Noor U-frame and Noor A-frame',
    },
  ]}
/>

A filter narrows the options after it. It adds nothing to the order. There are 2 kinds of filters.

## A filter over the products of a part

`Base type` is a property the 4 bases vary in: `Separate legs` or `Frame`. As a filter, each value leaves the products
that carry it.

<Figure
  src="/media/en/set-up-a-model/step-5-filter-type.webp"
  alt="The filter Base type in step 5: Over the products of Base. Each value leaves the products that carry it. Separate legs leaves Noor straight legs and Noor angled legs. Frame leaves Noor U-frame and Noor A-frame."
/>

### When more products are left after the filter

`Noor straight legs` and `Noor angled legs` have exactly the same properties: `Separate legs`, in `Black` or
`Stainless steel`. So a filter cannot tell them apart. Then the configurator asks by itself which product it is. That
question is named after the part, here `Base`, and has the products' names as answers. You set nothing up for it.

When each product of that question has a [photo](../../products/product/), it shows small before the name, like the
swatch of a value. When 1 product lacks its photo, none of the products shows one.

When 1 product is left after the filter, that is the answer and the question does not come. When you want your customer
never to pick by product name, give the products a property they vary in and make a filter of it.

## A filter over kinds

`Finish` has 2 [kinds](../../products/kinds/): `Wood` has `Oak` and `Walnut`. `Lacquered` has `Black`. As a filter, each
kind leaves its own values. With **No preference** the filter narrows nothing.

<FrameCompare
  frames={[
    {
      src: '/media/en/products/customer-kinds-no-preference.webp',
      alt: 'The part Top with the filter Wood or lacquered on No preference. At Finish stand Oak, Walnut and Black.',
      label: 'Wood or lacquered: No preference',
      change: 'Finish: 3 values',
    },
    {
      src: '/media/en/products/customer-kinds-wood.webp',
      alt: 'The part Top with the filter Wood or lacquered on Wood. At Finish stand only Oak and Walnut.',
      label: 'Wood or lacquered: Wood',
      change: 'Finish: 2 values. Black drops out.',
    },
  ]}
/>

<Figure
  src="/media/en/set-up-a-model/step-5-filter-kind.webp"
  alt="The filter Finish, by kind in step 5: Over Finish of Top. Each kind leaves its own values. Wood leaves Oak and Walnut. Lacquered leaves Black. No preference narrows nothing: all 3 values."
/>

## Add a filter

1. In step 5, choose **Filters** and then **Add filter**.
2. Pick what the filter is over. Portal only offers what can filter: a property the products of 1 part vary in, or a
   property with kinds.
3. Choose **Confirm** and then **Save**. Your customer sees it after [Publish](../publish/).

The filter is named after its property. You give it a name of its own, such as `Wood or lacquered`, under
[Names](../names-and-groups/).