diff --git a/app/code/local/Lycenok/Datafeed/Model/Updateproduct.php b/app/code/local/Lycenok/Datafeed/Model/Updateproduct.php index b62d51f..f6961e7 100644 --- a/app/code/local/Lycenok/Datafeed/Model/Updateproduct.php +++ b/app/code/local/Lycenok/Datafeed/Model/Updateproduct.php @@ -53,6 +53,7 @@ protected function processValues($values) { if (count($values) > 0 && count($values) < 2) { throw new Exception('Too few values (<2)'); }; + $productId = null; $sku = $values[0]; $newAvailabilityId = (isset($values[1]) ? getAvailabilityId($values[1]) : null);