Skip to content

Commit bf49cb3

Browse files
author
Natalia Momotenko
committed
Merge remote-tracking branch 'fearless-kiwis/FearlessKiwis-MAGETWO-44960-catalog-rule-not-applied-on-product-page' into PR-1
2 parents 24b56c7 + 2d62fad commit bf49cb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Tax/Pricing/Render/Adjustment.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ protected function apply()
5454
$this->amountRender->setDisplayValue(
5555
$this->amountRender->getAmount()->getValue($this->getAdjustmentCode())
5656
);
57-
if ($this->taxHelper->priceIncludesTax()) {
57+
if ($this->taxHelper->priceIncludesTax() && $this->amountRender->getPriceType() == 'finalPrice') {
5858
// for dynamic calculations of prices with any options, use the base price amount
5959
$this->amountRender->setPriceType('basePrice');
6060
}

0 commit comments

Comments
 (0)