add sum of product in category