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.
2 parents cb1151f + aed9dcd commit 709454aCopy full SHA for 709454a
app/code/Magento/ConfigurableProduct/Model/Product/Type/Configurable.php
@@ -552,8 +552,8 @@ public function getUsedProductIds($product)
552
{
553
if (!$product->hasData($this->_usedProductIds)) {
554
$usedProductIds = [];
555
- foreach ($this->getUsedProducts($product) as $product) {
556
- $usedProductIds[] = $product->getId();
+ foreach ($this->getUsedProducts($product) as $childProduct) {
+ $usedProductIds[] = $childProduct->getId();
557
}
558
$product->setData($this->_usedProductIds, $usedProductIds);
559
0 commit comments