diff --git a/app/Import/Definitions/ProductMap.php b/app/Import/Definitions/ProductMap.php index e8247300ee0a..5f4e636ad12c 100644 --- a/app/Import/Definitions/ProductMap.php +++ b/app/Import/Definitions/ProductMap.php @@ -31,6 +31,7 @@ class ProductMap 12 => 'product.custom_value2', 13 => 'product.custom_value3', 14 => 'product.custom_value4', + 15 => 'product.image_url' ]; } @@ -52,6 +53,7 @@ class ProductMap 12 => 'texts.custom_value', 13 => 'texts.custom_value', 14 => 'texts.custom_value', + 15 => 'texts.image_url', ]; } } diff --git a/app/Import/Transformer/Csv/ProductTransformer.php b/app/Import/Transformer/Csv/ProductTransformer.php index 1c0c082dac7b..a1829df41912 100644 --- a/app/Import/Transformer/Csv/ProductTransformer.php +++ b/app/Import/Transformer/Csv/ProductTransformer.php @@ -42,6 +42,7 @@ class ProductTransformer extends BaseTransformer 'custom_value2' => $this->getString($data, 'product.custom_value2'), 'custom_value3' => $this->getString($data, 'product.custom_value3'), 'custom_value4' => $this->getString($data, 'product.custom_value4'), + 'product_image' => $this->getString($data, 'product.image_url'), ]; } }