changed inventory and sum num group by product_id