File tree Expand file tree Collapse file tree 3 files changed +5
-2
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 3 files changed +5
-2
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 @@ -30,7 +30,7 @@ class Options extends Section
30
30
*
31
31
* @var string
32
32
*/
33
- protected $ newCustomOptionRow = '[data-index="custom_options"] [data-role="grid"] tbody tr:nth-child(1 ) ' ;
33
+ protected $ newCustomOptionRow = '[data-index="custom_options"] [data-role="grid"] tbody tr:nth-child(%d ) ' ;
34
34
35
35
/**
36
36
* Add an option button.
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