diff --git a/src/Component/Converter/Akeneo/Csv/Product.php b/src/Component/Converter/Akeneo/Csv/Product.php index 6ce97036..05c9d61c 100644 --- a/src/Component/Converter/Akeneo/Csv/Product.php +++ b/src/Component/Converter/Akeneo/Csv/Product.php @@ -139,10 +139,10 @@ public function revert(array $item): array $output = []; $output['sku'] = $item['sku'] ?? $item['identifier'] ?? null; - $output['enabled'] = $item['enabled']; - $output['family'] = $item['family']; - $output['categories'] = $item['categories']; - $output['parent'] = $item['parent']; + $output['enabled'] = $item['enabled'] ?? null; + $output['family'] = $item['family'] ?? null; + $output['categories'] = $item['categories'] ?? null; + $output['parent'] = $item['parent'] ?? null; $output = $this->decoder->decode($output); foreach ($item as $key => $itemValue) {