text: function calculateTotalPrice(product, quantity, discount) {
    var priceWithoutDiscount = product.price * quantity;
    var discountAmount = priceWithoutDiscount * discount;
    return priceWithoutDiscount - discountAmount;
  }
  