We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9739336 commit 756a142Copy full SHA for 756a142
app/code/Magento/CatalogImportExport/Model/Import/Product/Validator.php
@@ -310,10 +310,8 @@ protected function isValidAttributes()
310
if ($entityTypeModel) {
311
foreach ($this->_rowData as $attrCode => $attrValue) {
312
$attrParams = $entityTypeModel->retrieveAttributeFromCache($attrCode);
313
- if ($attrCode === Product::COL_CATEGORY) {
314
- if (!$this->isCategoriesValid($attrValue)) {
315
- return false;
316
- }
+ if ($attrCode === Product::COL_CATEGORY && $attrValue) {
+ $this->isCategoriesValid($attrValue);
317
} elseif ($attrParams) {
318
$this->isAttributeValid($attrCode, $attrParams, $this->_rowData);
319
}
0 commit comments