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