Added functionalities regarding setting discount and second price