Jump to content

Delete products, which have never had orders or sales, and are disabled for more than 3 months.


edgarveloso

Recommended Posts

Hello.

I need delete products, which have never had orders or sales, and are disabled for more than 3 months.

The "img" folder has more than 150 Gb. I already have a script that deletes images that the product does not exist.

I need a query to find disabled products older than 3 months and delete them in the remaining tables.

Does anyone have any tips?

Prestashop 1.6.1.7

Edited by edgarveloso (see edit history)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...