We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 651928c commit 1c2573fCopy full SHA for 1c2573f
app/code/Magento/Quote/Model/Quote/Item/Compare.php
@@ -68,14 +68,9 @@ protected function getOptionValues($value)
68
*/
69
public function compare(Item $target, Item $compared)
70
{
71
- if ($target->getSku() !== null && $target->getSku() === $compared->getSku()) {
72
- return true;
73
- }
74
-
75
if ($target->getProductId() != $compared->getProductId()) {
76
return false;
77
}
78
79
$targetOptionByCode = $target->getOptionsByCode();
80
$comparedOptionsByCode = $compared->getOptionsByCode();
81
if (!$target->compareOptions($targetOptionByCode, $comparedOptionsByCode)) {
0 commit comments