Creating and adding discounts to the cart