Don't prevent importing duplicate products

This commit is contained in:
Hillel Coren 2016-12-22 17:28:56 +02:00
parent ce199565f4
commit ddda4b90b4

View File

@ -14,7 +14,7 @@ class ProductTransformer extends BaseTransformer
*/ */
public function transform($data) public function transform($data)
{ {
if (empty($data->product_key) || $this->hasProduct($data->product_key)) { if (empty($data->product_key)) {
return false; return false;
} }