added dicount field and corresponding ajax requests to update price fields without page refresh