fix total product sum, added delete product method