Make product categories inactive

I was wondering why there is no active checkbox on the product categories. A company has split and a lot of products are set inactive. But now they want to clean up the categories as well, but they can’t.

Is there a reason why the categories cannot be deactivated?

There is no constraint that prevents to delete them.
So once you have no products linked to them you can delete them instead of deactivating.

1 Like

Indeed product.template-product.category has on delete CASCADE so there is no need for the category to be empty to be deleted (except if it is used as accounting category).

Thanks, it seems easier than I thought.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.