Skip to content

Commit d20596b

Browse files
committed
AC-2688:catalog price rule and product custom option price bug when convert currency fixed
1 parent 9c3a50c commit d20596b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/code/Magento/Catalog/Pricing/Price/CalculateCustomOptionCatalogRule.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,7 @@ public function execute(
6565
$regularPrice + $optionPrice,
6666
$product
6767
);
68-
$finalOptionPrice = $totalCatalogRulePrice - $catalogRulePrice;
69-
return $this->priceCurrency->convertAndRound($finalOptionPrice);
68+
return $totalCatalogRulePrice - $catalogRulePrice;
7069
}
7170

7271
return null;

0 commit comments

Comments
 (0)