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 24ed2f8 commit 88f5a67Copy full SHA for 88f5a67
app/code/Magento/Catalog/Controller/Adminhtml/Product/Save.php
@@ -139,9 +139,6 @@ public function execute()
139
}
140
141
$originalSku = $product->getSku();
142
- if($originalSku == 0){
143
- throw new \Magento\Framework\Exception\LocalizedException(__("SKU cannot be zero."));
144
- }
145
$canSaveCustomOptions = $product->getCanSaveCustomOptions();
146
$product->save();
147
$this->handleImageRemoveError($data, $product->getId());
app/code/Magento/Catalog/i18n/en_US.csv
@@ -868,4 +868,3 @@ Details,Details
868
"Add To Compare","Add To Compare"
869
"Learn more","Learn more"
870
"Recently Viewed","Recently Viewed"
871
-"SKU cannot be zero.","SKU cannot be zero."
0 commit comments