free
web stats

Fill the form & Get Installation Support

Connect With Us





captcha

Connect With Us





captcha

Guide to remove or delete products of a particular attribute set in Magento 2.

In this guide, I am going to show you, how to remove the product of a particular attribute set in Magento 2 programmatically?

First of all, you have to create a file called “deleteProducts.php” on Magento 2 root directory.

And then paste the below code into that file.

And now you can run this file through cronjob and URL.

So the URL will be like this : http://yourdomainname/deleteProducts.php

That’s it.

I hope my post is helpful. If you still need any assistance about that, please comment below.

Was this article helpful?
YesNo
Fill the below form if you have any Magento programming need.




captcha