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.
2 parents 5a82cc9 + 55c4dba commit d95a654Copy full SHA for d95a654
app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/General.php
@@ -224,6 +224,7 @@ protected function customizeWeightField(array $meta)
224
'validate-zero-or-greater' => true
225
],
226
'additionalClasses' => 'admin__field-small',
227
+ 'sortOrder' => 0,
228
'addafter' => $this->locator->getStore()->getConfig('general/locale/weight_unit'),
229
'imports' => $disabled ? [] : [
230
'disabled' => '!${$.provider}:' . self::DATA_SCOPE_PRODUCT
@@ -269,6 +270,7 @@ protected function customizeWeightField(array $meta)
269
270
271
272
'value' => (int)$this->locator->getProduct()->getTypeInstance()->hasWeight(),
273
+ 'sortOrder' => 10,
274
'disabled' => $disabled,
275
]
276
);
0 commit comments