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 5fda3e2 commit 22830e3Copy full SHA for 22830e3
app/code/Magento/CatalogImportExport/Model/Import/Product/Validator/Name.php
@@ -37,16 +37,11 @@ public function isValid($value)
37
$skuExists = $this->skuStorage->has($value[Product::COL_SKU]);
38
$hasCustomOptions = $this->hasCustomOptions($value);
39
$hasNameValue = $this->hasNameValue($value);
40
- $isStoreViewCodeEmpty = !isset($value['store_view_code']) || $value['store_view_code'] === '';
41
42
if (!$skuExists && !$hasCustomOptions && !$hasNameValue) {
43
return $this->invalidate();
44
}
45
46
- if (!$hasNameValue && !$hasCustomOptions && !$skuExists && $isStoreViewCodeEmpty) {
47
- return $this->invalidate();
48
- }
49
-
50
return true;
51
52
0 commit comments