Is there any way to filter products grid collection in the admin > Product > Catalog grid by category Magento 2.1+?

I would like to filter products that are within a filtered category.

There seems to be a few examples of how to add Category column to the Grid however, I have tried 3 separate examples, and none of them seem to work.


Even if this is an old thread there is still no free solution... So I've created a free extension that adds the feature of category filter in the admin product grid.



| improve this answer | |
  • Hi i have installed your extension, but when i click on the catalog in admin panel i'm getting this error {"0":"Recoverable Error: Argument 1 passed to Utklasad\\AdminProductGridCategoryFilter\\Model\\Category\\CategoryList::__construct() must be an instance of Magento\\Catalog\\Model\\ResourceModel\\Category\\CollectionFactory, instance of Magento\\Framework\\ObjectManager\\ObjectManager given, called in \/var\/www\/html\/work\/hoodmart\/vendor\/magento\/framework\/ObjectManager\/Factory\/AbstractFactory.php . Can you help me please. – Karthickeyan Aug 30 '18 at 13:24
  • 1
    I have fixed it. app/code/Utklasad/AdminProductGridCategoryFilter/Model/Category/Categorylist.php. in this file change the class name from CategoryList to Categorylist – Karthickeyan Aug 30 '18 at 13:31
  • Ah, sorry for the typo there... I will fix it in the repo. Thanks! – utklasad Aug 31 '18 at 14:12
  • I'm using magento 2.3, there is not showing in admin. i have done all steps of installations. but now showing in admin. – Wajahat Bashir Sep 30 '19 at 6:51
  • 1
    Man why is this not a core feature. Cheers! – Liam Mitchell Nov 18 '19 at 23:20

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.