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 e5bb358 commit ccd8898Copy full SHA for ccd8898
app/code/Magento/Bundle/Model/Plugin/BundleLoadOptions.php
@@ -52,7 +52,10 @@ public function aroundLoad(
52
return $product;
53
}
54
55
- $productExtension = $this->productExtensionFactory->create();
+ $productExtension = $product->getExtensionAttributes();
56
+ if ($productExtension === null) {
57
+ $productExtension = $this->productExtensionFactory->create();
58
+ }
59
$productExtension->setBundleProductOptions($this->productOptionList->getItems($product));
60
61
$product->setExtensionAttributes($productExtension);
0 commit comments