Shopify now provides native product filtering on collection pages.

You can filter on:

For more details on how setting up product filtering in the admin, please follow this Shopify tutorial:

👉 Add storefront filtering

Setting up products filter on a collection template in the theme:

Select the section settings on any collection template to enable or disable filtering:

filters.png