Skip to content

Commit

Permalink
Merge pull request #29 from riha112/3480
Browse files Browse the repository at this point in the history
[3480] Grouped product support for wishlist
  • Loading branch information
carinadues authored Oct 21, 2021
2 parents d5bfd24 + 8c94ba0 commit d3da123
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Model/Resolver/WishlistItemsResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'];
}
}
Expand Down

0 comments on commit d3da123

Please sign in to comment.