Magento 2 How to remove zero count in my custom filter i have lot of option with zero count how i will remove

  • do you want to remove just the count (only number) or the filter with count 0 ? – Arun Karnawat Jul 19 '17 at 5:55
  • if count is zero that attribute should not come – Magento 2 Jul 19 '17 at 5:56

You can set this form Admin panel

  1. Go to Admin > Menu> Stores Attributes > Product
  2. choose the required attribute
  3. then under Storefront Properties tab
  4. Set Use in Layered Navigation to Filterable (with results)
  5. Reindex and Clear cache.

Hope this might help

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.