Skip to content

Commit 9097ecc

Browse files
committed
MC-19783: Weight attribute label is missing
1 parent 54244f7 commit 9097ecc

File tree

1 file changed

+2
-0
lines changed
  • app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier

1 file changed

+2
-0
lines changed

app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/General.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ protected function customizeWeightField(array $meta)
221221
'validate-zero-or-greater' => true
222222
],
223223
'additionalClasses' => 'admin__field-small',
224+
'sortOrder' => 0,
224225
'addafter' => $this->locator->getStore()->getConfig('general/locale/weight_unit'),
225226
'imports' => $disabled ? [] : [
226227
'disabled' => '!${$.provider}:' . self::DATA_SCOPE_PRODUCT
@@ -266,6 +267,7 @@ protected function customizeWeightField(array $meta)
266267
],
267268
],
268269
'value' => (int)$this->locator->getProduct()->getTypeInstance()->hasWeight(),
270+
'sortOrder' => 10,
269271
'disabled' => $disabled,
270272
]
271273
);

0 commit comments

Comments
 (0)