cancel
Showing results for 
Search instead for 
Did you mean: 

Delete all products in specific category

Delete all products in specific category

I need a code snippet, to delete all products in a specific category. I will run a script as cron, an refill it afterwards manualy.

1 REPLY

Re: Delete all products in specific category

You can add button to category edit page like in this tutorial. And send ajax request to controller which remove all assigned products from category.

Thanks

Jigneshkumar

iFour Technolab Pvt. Ltd.