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 e7f6b76 commit 313d888Copy full SHA for 313d888
app/code/Magento/Wishlist/Model/ResourceModel/Item/Collection.php
@@ -351,7 +351,7 @@ protected function _assignProducts()
351
/** @var \Magento\Wishlist\Model\Item $item */
352
foreach ($this as $item) {
353
$product = $productCollection->getItemById($item->getProductId());
354
- if ($product) {
+ if ($product && !$product->getIsHidden()) {
355
if ($checkInStock && !$product->isInStock()) {
356
$this->removeItemByKey($item->getId());
357
} else {
0 commit comments