In admin I want to add product category filter in order grid so that admin can filter by category and processed the order. Please help me guys. Thanks

1 Answer 1


As per your requirement it is very lengthy process we need to load every ordered items and get category for all of items for all orders.

so it will cause page speed issue.

but you can add filter by SKU.

to add filter by sku you can follow below answer which is used to add skus column to sales order grid then you can add filter for that also by modifying ui_component xml file.

Magento 2 + Custom column added sku on grid not showing data in export file

Hope this solution help you to complete you task.

Thank you

  • thnks Nirav for your reply. Commented Apr 24, 2020 at 8:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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