Skip to content

Commit 6ac2641

Browse files
author
Partica, Cristian
committed
MAGETWO-44039: [Bundle FPT] Bundle options show Excl tax prices even when displaying including...
- static test failure fix
1 parent ca2a295 commit 6ac2641

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/code/Magento/Tax/Observer/GetPriceConfigurationObserver.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,8 @@ private function updatePriceForBundle($holder, $key)
118118
/** @var \Magento\Framework\Pricing\Amount\Base $baseAmount */
119119
$baseAmount = $selectionItem->getPriceInfo()->getPrice(BasePrice::PRICE_CODE)->getAmount();
120120
/** @var \Magento\Framework\Pricing\Amount\Base $oldAmount */
121-
$oldAmount = $selectionItem->getPriceInfo()->getPrice(RegularPrice::PRICE_CODE)->getAmount();
121+
$oldAmount =
122+
$selectionItem->getPriceInfo()->getPrice(RegularPrice::PRICE_CODE)->getAmount();
122123
if ($baseAmount->hasAdjustment('tax')) {
123124
$holder[$key]['basePrice']['amount'] =
124125
$baseAmount->getBaseAmount() + $baseAmount->getAdjustmentAmount('tax');

0 commit comments

Comments
 (0)