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 e3593ae commit 224b118Copy full SHA for 224b118
app/code/Magento/ConfigurableProduct/Model/Product/Type/Configurable/Price.php
@@ -21,7 +21,7 @@ public function getFinalPrice($qty, $product)
21
if ($qty === null && $product->getCalculatedFinalPrice() !== null) {
22
return $product->getCalculatedFinalPrice();
23
}
24
- if ($product->getCustomOption('simple_product')) {
+ if ($product->getCustomOption('simple_product') && $product->getCustomOption('simple_product')->getProduct()) {
25
return parent::getFinalPrice($qty, $product->getCustomOption('simple_product')->getProduct());
26
} else {
27
$priceInfo = $product->getPriceInfo();
0 commit comments