We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cebc94c commit 654b468Copy full SHA for 654b468
app/code/Magento/Catalog/Pricing/Price/ConfiguredRegularPrice.php
@@ -70,12 +70,8 @@ public function setItem(ItemInterface $item)
70
public function getValue()
71
{
72
$basePrice = parent::getValue();
73
-
74
- if ($basePrice === false) {
75
- return $basePrice;
76
- }
77
78
- return $this->item
+ return ($this->item && $basePrice !== false)
79
? $basePrice + $this->configuredOptions->getItemOptionsValue($basePrice, $this->item)
80
: $basePrice;
81
}
0 commit comments