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 8fe512f commit 7844846Copy full SHA for 7844846
app/code/Magento/ConfigurableProduct/Model/LinkManagement.php
@@ -196,7 +196,7 @@ public function addChild($sku, $childSku)
196
$configurableOptionData = $this->getConfigurableAttributesData($attributeData);
197
198
/** @var \Magento\ConfigurableProduct\Helper\Product\Options\Factory $optionFactory */
199
- $optionFactory = $this->optionsFactory();
+ $optionFactory = $this->optionsFactory;
200
$options = $optionFactory->create($configurableOptionData);
201
$childrenIds[] = $child->getId();
202
$product->getExtensionAttributes()->setConfigurableProductOptions($options);
0 commit comments