Skip to content

Commit fbe5e3b

Browse files
Update Wishlist.php
1 parent 600bc64 commit fbe5e3b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/code/Magento/Wishlist/CustomerData/Wishlist.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,8 @@ protected function getItemData(\Magento\Wishlist\Model\Item $wishlistItem)
147147
*/
148148
protected function getImageData($product)
149149
{
150-
/* Set variant product if it is configurable product. It will show variant product image in sidebar instead of configurable product image. */
150+
/*Set variant product if it is configurable product.
151+
It will show variant product image in sidebar instead of configurable product image.*/
151152
$simpleOption = $product->getCustomOption('simple_product');
152153
if ($simpleOption !== null) {
153154
$optionProduct = $simpleOption->getProduct();

0 commit comments

Comments
 (0)