diff --git a/feedme/FeedMe/ElementTypes/Commerce_ProductFeedMeElementType.php b/feedme/FeedMe/ElementTypes/Commerce_ProductFeedMeElementType.php index 9d63b602..f0526afb 100644 --- a/feedme/FeedMe/ElementTypes/Commerce_ProductFeedMeElementType.php +++ b/feedme/FeedMe/ElementTypes/Commerce_ProductFeedMeElementType.php @@ -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); } } }