Skip to content

Commit c7da62c

Browse files
Merge branch 'MAGETWO-48913' of https://github.corp.magento.com/magento-tango/magento2ce into MAGETWO-48913
2 parents 706c572 + 95d5938 commit c7da62c

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

app/code/Magento/Bundle/Ui/DataProvider/Product/Form/Modifier/BundlePrice.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ public function modifyMeta(array $meta)
6363
'sortOrder' => self::SORT_ORDER,
6464
'formElement' => Form\Element\Checkbox::NAME,
6565
'componentType' => Form\Field::NAME,
66+
'label' => __('Dynamic Price'),
6667
'prefer' => 'toggle',
6768
'additionalClasses' => 'admin__field-x-small',
6869
'templates' => ['checkbox' => 'ui/form/components/single/switcher'],

dev/tests/functional/tests/app/Magento/Catalog/Test/Block/Adminhtml/Product/Edit/Section/Options.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class Options extends Section
3030
*
3131
* @var string
3232
*/
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)';
3434

3535
/**
3636
* Add an option button.

dev/tests/functional/tests/app/Magento/Catalog/Test/Block/Adminhtml/Product/ProductForm.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,9 @@ public function addNewAttribute($sectionName = 'product-details')
294294
$this->openSection($sectionName);
295295
$section->addNewAttribute($sectionName);
296296
} 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+
);
298300
}
299301
}
300302
}

0 commit comments

Comments
 (0)