Magento Forum

   
Delete unsold products
 
Tohm
Jr. Member
 
Total Posts:  12
Joined:  2010-11-19
 

Hi All,

I’m using Magento 1.7 and webservices to programmatically create products.
For some reason I need to delete unsold products which are not salable (stock = 0) (these products are child products automatically created with size/color grids).

Do you have any idea of how to do it?

Thx

Thomas

 
Magento Community Magento Community
Magento Community
Magento Community
 
TreInnova
Guru
 
Avatar
Total Posts:  462
Joined:  2009-02-20
Fano
 
Tohm - 31 January 2013 11:52 PM

Hi All,

I’m using Magento 1.7 and webservices to programmatically create products.
For some reason I need to delete unsold products which are not salable (stock = 0) (these products are child products automatically created with size/color grids).

Do you have any idea of how to do it?

Thx

Thomas

Can we say that you should delete all product that have stock=0 and are not a configurable products?
regards,
filippo.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Tohm
Jr. Member
 
Total Posts:  12
Joined:  2010-11-19
 

Hi,

No, because products with stock equal to 0 can have been sold and then I want to keep their history, or they can be in stock again, so I don\\\\\\\’t want to delete them.

If it was so simple I wouldn\\\\\\\’t ask for a solution wink

By the way I have 50 000 products, so I have to do it programmatically.

Thx for your help.

Thomas

 
Magento Community Magento Community
Magento Community
Magento Community
 
TreInnova
Guru
 
Avatar
Total Posts:  462
Joined:  2009-02-20
Fano
 
Tohm - 01 February 2013 05:54 AM

Hi,

No, because products with stock equal to 0 can have been sold and then I want to keep their history, or they can be in stock again, so I don\\\\\\\’t want to delete them.

If it was so simple I wouldn\\\\\\\’t ask for a solution wink

By the way I have 50 000 products, so I have to do it programmatically.

Thx for your help.

Thomas

Sorry ,
I asked this question to start a discussion with and understand the algorithm of elimination products. It ‘clear that the solution is simple but to be sought.
Filippo.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Store_Manager
Enthusiast
 
Avatar
Total Posts:  854
Joined:  2012-07-09
 

Hello Thomas,

It is possible to delete necessary items on the basis of some rule performing import via Store Manager for Magento application.

Basically, you will need to export your products and then import them back with the definite rule, for example, those products which have quantity more then 1 will be skipped and the rest will be deleted. The rule depends on your needs.

Let me know what specific requirements you have and I will provide you more detailed explanation on the solution.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top