Skip to content

Commit fb913ad

Browse files
kishanpatadiadmytro-ch
authored andcommitted
Update Wishlist.php
1 parent eea948d commit fb913ad

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
@@ -149,7 +149,8 @@ protected function getItemData(\Magento\Wishlist\Model\Item $wishlistItem)
149149
*/
150150
protected function getImageData($product)
151151
{
152-
/* Set variant product if it is configurable product. It will show variant product image in sidebar instead of configurable product image. */
152+
/*Set variant product if it is configurable product.
153+
It will show variant product image in sidebar instead of configurable product image.*/
153154
$simpleOption = $product->getCustomOption('simple_product');
154155
if ($simpleOption !== null) {
155156
$optionProduct = $simpleOption->getProduct();

0 commit comments

Comments
 (0)