Do not allow to cumulate the coupon many times. Fix #217
This commit is contained in:
@@ -94,6 +94,11 @@ class CartItem extends BaseCartItem
|
||||
return $this->getPromo() == 1 ? $this->getPromoPrice() : $this->getPrice();
|
||||
}
|
||||
|
||||
public function getRealTaxedPrice(Country $country)
|
||||
{
|
||||
return $this->getPromo() == 1 ? $this->getTaxedPromoPrice($country) : $this->getTaxedPrice($country);
|
||||
}
|
||||
|
||||
public function getTaxedPrice(Country $country)
|
||||
{
|
||||
$taxCalculator = new Calculator();
|
||||
|
||||
Reference in New Issue
Block a user