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 51fcebd commit 1ec99eeCopy full SHA for 1ec99ee
app/code/Magento/ConfigurableProduct/Model/LinkManagement.php
@@ -110,7 +110,7 @@ public function getChildren($sku)
110
*/
111
public function addChild($sku, $childSku)
112
{
113
- $product = $this->productRepository->get($sku);
+ $product = $this->productRepository->get($sku, true);
114
$child = $this->productRepository->get($childSku);
115
116
$childrenIds = array_values($this->configurableType->getChildrenIds($product->getId())[0]);
0 commit comments