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 d75d1c3 commit c6a5b1fCopy full SHA for c6a5b1f
app/code/Magento/Catalog/Model/Product/Attribute/Backend/Sku.php
@@ -56,7 +56,7 @@ public function validate($object)
56
);
57
}
58
59
- if (strcasecmp($attrCode, 'sku') >= 0) {
+ if (strcasecmp($attrCode, 'sku') >= 0 && strlen($value) === 0) {
60
throw new LocalizedException(
61
__('The "%1" attribute value is empty.', $attrCode)
62
0 commit comments