hstrom Posted November 6, 2018 Share Posted November 6, 2018 Hi everyone, Every week I got a lot of products that has been set to "disabled" (not to show on frontend) when doing a sync with an offline catalogue. I would like to delete all of those products to keep the database clean and fast (I suppose). But to delete all these products (sometimes thousands) take forever doing it manually in the product catalogue. Does someone know of a way to do this by a cron? Just delete all products that are disabled? With kind regards, - Johan. Link to comment Share on other sites More sharing options...
joseantgv Posted November 7, 2018 Share Posted November 7, 2018 7 hours ago, hstrom said: Hi everyone, Every week I got a lot of products that has been set to "disabled" (not to show on frontend) when doing a sync with an offline catalogue. I would like to delete all of those products to keep the database clean and fast (I suppose). But to delete all these products (sometimes thousands) take forever doing it manually in the product catalogue. Does someone know of a way to do this by a cron? Just delete all products that are disabled? With kind regards, - Johan. But these products will never be enabled again? And how many are they? Link to comment Share on other sites More sharing options...
hstrom Posted November 7, 2018 Author Share Posted November 7, 2018 Yes, these products will to 99% never be enabled again, If they are, we import the product again, as new. It will differ between a few hundred to 10.000-20.000 products, each week, that we disable. So without removing them, the database will contain a lot of disabled products, which in turn will burden the database a lot, I guess. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now