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 8604312 commit a8cc25cCopy full SHA for a8cc25c
app/code/Magento/Eav/Model/Entity/Attribute/OptionManagement.php
@@ -153,7 +153,7 @@ private function saveOption(
153
154
$existingLabels = $this->optionResource->getStoreLabelsByOptionId((int)$optionId);
155
foreach ($existingLabels as $storeId => $labelText) {
156
- $options['value'][$optionId][$storeId] = $labelText;
+ $options['value'][$optionId][$storeId] ??= $labelText;
157
}
158
159
if (is_array($option->getStoreLabels())) {
0 commit comments