diff --git a/vendor/magento/module-inventory-import-export/Model/Import/Validator/QtyValidator.php b/vendor/magento/module-inventory-import-export/Model/Import/Validator/QtyValidator.php index 5a5ca3ee688..b136e451533 100644 --- a/vendor/magento/module-inventory-import-export/Model/Import/Validator/QtyValidator.php +++ b/vendor/magento/module-inventory-import-export/Model/Import/Validator/QtyValidator.php @@ -1,7 +1,7 @@ Sources::COL_QTY]); + } elseif (!is_numeric($rowData[Sources::COL_QTY])) { + $errors[] = __('"%column" contains incorrect value', ['column' => Sources::COL_QTY]); } return $this->validationResultFactory->create(['errors' => $errors]); diff --git a/vendor/magento/module-inventory-import-export/i18n/en_US.csv b/vendor/magento/module-inventory-import-export/i18n/en_US.csv index ce3841cc168..75db9bc0a97 100644 --- a/vendor/magento/module-inventory-import-export/i18n/en_US.csv +++ b/vendor/magento/module-inventory-import-export/i18n/en_US.csv @@ -10,3 +10,4 @@ "Missing required column ""%column""","Missing required column ""%column""" "Source code ""%code"" does not exists","Source code ""%code"" does not exists" "Row Validator must implement %interface.","Row Validator must implement %interface." +"""%column"" contains incorrect value","""%column"" contains incorrect value"