Skip to content

Commit 81eb563

Browse files
author
Cristian Partica
committed
MAGETWO-35688: [FPT] Final price of Simple Product isn't recalculated after selecting options on product page
- static fix
1 parent 48fef10 commit 81eb563

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/code/Magento/Weee/Model/Observer.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,9 @@ public function getPriceConfiguration(\Magento\Framework\Event\Observer $observe
223223
if (is_array($configs)) {
224224
foreach ($configs as $keyConfig => $config) {
225225
$calcPrice = 'finalPrice';
226-
if ($this->_taxData->priceIncludesTax() && $this->_taxData->displayPriceExcludingTax()) {
226+
if ($this->_taxData->priceIncludesTax() &&
227+
$this->_taxData->displayPriceExcludingTax()
228+
) {
227229
$calcPrice = 'basePrice';
228230
}
229231
if (array_key_exists('prices', $configs)) {

0 commit comments

Comments
 (0)