Skip to content

Commit

Permalink
Products - Fix existing element-matching on core attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
engram-design committed Feb 28, 2017
1 parent f27b8ad commit 4eb9605
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ public function matchExistingElement(&$criteria, $data, $settings)
$criteria->id = $variants[0]->productId;
}
} else {
$criteria->$handle = DbHelper::escapeParam($data[$handle]);
$feedValue = Hash::get($data, $handle . '.data', $data[$handle]);
$criteria->$handle = DbHelper::escapeParam($feedValue);
}
}
}
Expand Down

0 comments on commit 4eb9605

Please sign in to comment.