I have an old magento store (1.6.20) that is going to be migrated. Need to remove some categories AND products that are only in that category. For example:

product hammer is in tools, metal and woodworking

product nails is in metal

Remove metal and woodworking, keep tools (and hammer).

Found a script that removes categories + products, but also products inside multiple categories: https://oldwildissue.wordpress.com/2011/11/21/delete-all-the-products-in-a-given-category-via-php/

Can't delete products manually, as there are thousands, most likely they're in multiple categories.

Any hints on how to proceed?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.