Hi,
Thanks for reaching out.
The Filter Control Type options depend on the type of field you filter by. Your Category field is an Option field, and Option fields only support Checkbox and Radio. The Button control is available for Text and Title fields.
To show your two categories as buttons, filter by a Text field instead:
- Open your collection under Dynamic Content and add a Text field, for example "Category".
- Edit each item and type its category into the new field, for example "Category A" or "Category B". Type each value exactly the same on every item, because "Category A" and "category a" would show as two separate buttons.
- Edit the Dynamic Filter on your Index page and open the filter item. Then set:
- Filter Model: Field-wise Filter
- Field: your new Text field
- Filter Layout: Flat
- Filter Control Type: Button
- Click Apply, then save the page.
On the front end you'll get one button per category, with an item count next to it. Clicking a button shows only the matching items, and Reset shows all of them again.
Note: if you leave the filter's Title empty, the field's name is shown above the buttons. Give the field a clear name or fill in the Title.
Best regards,