|
|
@@ -95,8 +95,7 @@ class OrderShopPriceUtils implements OrderShopPriceUtilsInterface |
|
|
|
|
|
|
|
if($orderReductionCart->getAppliedTo() === ReductionCart::APPLIED_TO_ORDER_PRODUCTS) { |
|
|
|
if ($orderReductionCart->getUnit() == 'percent') { |
|
|
|
|
|
|
|
$price = $this->applyReductionPercent( |
|
|
|
$price = $this->amountReductionByPercentValue( |
|
|
|
$this->getTotalOrderProducts($order), |
|
|
|
$orderReductionCart->getValue() |
|
|
|
); |
|
|
@@ -117,7 +116,7 @@ class OrderShopPriceUtils implements OrderShopPriceUtilsInterface |
|
|
|
if($orderReductionCart->getAppliedTo() === ReductionCart::APPLIED_TO_ORDER_PRODUCTS) { |
|
|
|
if ($orderReductionCart->getUnit() == 'percent') { |
|
|
|
|
|
|
|
$price = $this->applyReductionPercent( |
|
|
|
$price = $this->amountReductionByPercentValue( |
|
|
|
$this->getTotalOrderProductsWithTax($order), |
|
|
|
$orderReductionCart->getValue() |
|
|
|
); |