Skip to content

Commit

Permalink
ENGCOM-4669: Same product quantity not increment when added with gues…
Browse files Browse the repository at this point in the history
…t user. #21375 #21501
  • Loading branch information
sidolov authored Apr 15, 2019
2 parents 6d6918e + 854c4bf commit e0ab398
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/code/Magento/Quote/Model/Quote/Item/Compare.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ protected function getOptionValues($value)
if (is_string($value) && $this->jsonValidator->isValid($value)) {
$value = $this->serializer->unserialize($value);
if (is_array($value)) {
unset($value['qty'], $value['uenc']);
unset($value['qty'], $value['uenc'], $value['related_product'], $value['item']);
$value = array_filter($value, function ($optionValue) {
return !empty($optionValue);
});
Expand Down

0 comments on commit e0ab398

Please sign in to comment.