Why can't I delete a product?

Question

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?

Setup

  • Vend for Mac and PC 

Answer

The products cannot be deleted if a product or a variant is a part of:

  • Open/sent Stock Order and Stock Transfer
  • Open Stock Return
  • An open or in progress Inventory Count
  • Parked, open Layby or On-account sale
  • Any composite product as a component

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.