Discount calculator in the online store