To add a product category filter in WooCommerce, you can use built-in widgets or blocks. Go to Appearance → Widgets or Appearance → Editor, depending on your theme. Add the Product Categories widget or block to your shop sidebar or filter area. Choose display options like dropdown or list, and save changes. For block-based themes, you can also use the Filter by Category block on shop pages. If you need advanced filters, install a product filter plugin. These plugins add AJAX filters, checkboxes, and mobile-friendly layouts without reloading pages.
Share