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 34d218a commit 324f6b8Copy full SHA for 324f6b8
app/code/Magento/CatalogImportExport/Model/Import/Product/Validator/Name.php
@@ -17,7 +17,10 @@ class Name extends AbstractImportValidator implements RowValidatorInterface
17
public function isValid($value)
18
{
19
$this->_clearMessages();
20
- if (!$this->hasNameValue($value) && !$this->hasCustomOptions($value) && $value['store_view_code'] != 'default') {
+ if (!$this->hasNameValue($value) &&
21
+ !$this->hasCustomOptions($value) &&
22
+ (!isset($value['store_view_code']) || $value['store_view_code'] != 'default')
23
+ ) {
24
$this->_addMessages(
25
[
26
sprintf(
0 commit comments