custom field filter as in date_hierarchy = 'created'

How do I get a custom field (called product_type) to show up like the way year filters are shown automatically ?

date_hierarchy = 'created'

Are List Filters what you’re looking for?

This works too. Thanks.