The deletion of out of stock products is a three-step procedure.
- Export all products
- Clean up the list of products
- Import list of products to delete
Export all products
The first step is to export all products and their stock level.
- Create a new export template of the type Product export
- Add the fields
product_sku
product_in_stock - Export the template
- Save the file on your computer
Clean up the list of products
Second step is to clean up the list of products by removing all products where the stock is more than 0
- Open the file in your favourite spreadsheet
- Sort the sheet on the product_in_stock field
- Delete all rows where the stock is greater than 0
- Add the column product_delete
- Set the column product_delete to Y for all rows
- Save the file
Import list of products to delete
Third step is to import the file to delete the products
- Create a new import template of the type Product import
- Set the template to use Column headers for configuration
- Import the file
- The products in the file will now have been removed