File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
app/code/Magento/Bundle/Ui/DataProvider/Product/Form/Modifier
dev/tests/functional/tests/app/Magento/Catalog/Test/Block/Adminhtml/Product Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -63,6 +63,7 @@ public function modifyMeta(array $meta)
63
63
'sortOrder ' => self ::SORT_ORDER ,
64
64
'formElement ' => Form \Element \Checkbox::NAME ,
65
65
'componentType ' => Form \Field::NAME ,
66
+ 'label ' => __ ('Dynamic Price ' ),
66
67
'prefer ' => 'toggle ' ,
67
68
'additionalClasses ' => 'admin__field-x-small ' ,
68
69
'templates ' => ['checkbox ' => 'ui/form/components/single/switcher ' ],
Original file line number Diff line number Diff line change @@ -294,7 +294,9 @@ public function addNewAttribute($sectionName = 'product-details')
294
294
$ this ->openSection ($ sectionName );
295
295
$ section ->addNewAttribute ($ sectionName );
296
296
} else {
297
- throw new \Exception ("$ sectionName hasn't 'Add attribute' button or is not instance of ProductSection class. " );
297
+ throw new \Exception (
298
+ "$ sectionName hasn't 'Add attribute' button or is not instance of ProductSection class. "
299
+ );
298
300
}
299
301
}
300
302
}
You can’t perform that action at this time.
0 commit comments