Product::where('id',$id)->sum('quantity');
$sum = Model::sum('sum_field');
$sum = Model::sum('field');