From 8c94ba031af2435038cd68cc502aab11c54c2c3c Mon Sep 17 00:00:00 2001 From: Rihards Abolins Date: Thu, 21 Oct 2021 10:38:26 +0300 Subject: [PATCH] [3480] Grouped product support for wishlist --- src/Model/Resolver/WishlistItemsResolver.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Model/Resolver/WishlistItemsResolver.php b/src/Model/Resolver/WishlistItemsResolver.php index 26e77b4..1ad5e05 100755 --- a/src/Model/Resolver/WishlistItemsResolver.php +++ b/src/Model/Resolver/WishlistItemsResolver.php @@ -254,7 +254,7 @@ protected function getItemOptions($item, $type) // Magento produce HTML markup as label for files. We need plain name of the file instead. foreach ($options as $index => $option){ - if($option['option_type'] === 'file'){ + if(isset($option['option_type']) && $option['option_type'] == 'file'){ $options[$index]['value'] = $option['print_value']; } }