/** * @inheritdoc */ public function getCartItemDiscount(CartItem $cartItem) { return $cartItem->getQuantity() * $cartItem->getPrice() * ($this->percentage / 100); }
/** * @inheritdoc */ public function getCartItemDiscount(CartItem $cartItem) { return $cartItem->getQuantity() * $this->amount; }
/** * @inheritdoc */ public function getCartItemDiscount(CartItem $cartItem) { return $cartItem->getQuantity() * $cartItem->getRealTaxedPrice($this->facade->getDeliveryCountry()) * ($this->percentage / 100); }