Cannot delete a product or the edit product page give an error "A problem occurred while saving. Please fix the errors and try again" when you try to delete a product?
The products cannot be deleted if a product or a variant is a part of:
You will need to close off any open consignment (Stock Order/Transfer, Stock Returns and Inventory Count), delete any composite product and complete or void any open sale that contains the product you wish to delete.