Hello Magento Friends,

Today I am going to throw light on How to Filter by Multiple SKU on Admin Product Grid in Magento 2?

While working with the admin product grid in Magento 2, you can filter only one SKU at a time. When admin users need to perform mass actions on the product then first they need to filter the products one by one and then apply mass actions. It becomes a time-consuming process for the admin. Thus, to make the work of the admin quick, I have a solution for it.

Note: For tracking all the admin activities install Magento 2 Admin Actions Log.

With the help of the below steps, the admin can filter multiple SKUs at a time from the admin product grid.

Steps to Filter by Multiple SKU on Admin Product Grid in Magento 2:

Step 1: Create a di.xml file in your extension


Now, add the code as follows

Step 2: Now create the ProductDataProvider.php file in the following path 


Then add the code as mentioned below


Hence, this way you can filter multiple SKUs on the admin product grid in Magento 2.

Add any custom filter to Product Grid in Magento 2

If you face any difficulty, let me know through the comment box. Share the article with your friends and stay updated with us for more tutorials.

Happy Coding!

Click to rate this post!
[Total: 3 Average: 5]