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 9ba4141 commit 6855934Copy full SHA for 6855934
app/code/Magento/Catalog/Model/CategoryLinkManagement.php
@@ -45,7 +45,7 @@ public function getAssignedProducts($categoryId)
45
$links = [];
46
47
/** @var \Magento\Catalog\Model\Product $product */
48
- foreach ($products->getItems() as $productId => $product) {
+ foreach ($products->getItems() as $product) {
49
/** @var \Magento\Catalog\Api\Data\CategoryProductLinkInterface $link */
50
$link = $this->productLinkFactory->create();
51
$link->setSku($product->getSku())
0 commit comments