Skip to content

Commit ebe5e80

Browse files
author
Oleg Zinoviev
committed
MAGETWO-32302: Create New Order
- QA updates
1 parent 54ef9bb commit ebe5e80

File tree

2 files changed

+7
-9
lines changed
  • app/code/Magento/Bundle/view/adminhtml/templates/product/composite/fieldset/options
  • dev/tests/functional/tests/app/Magento/Bundle/Test/Block/Adminhtml/Product/Composite

2 files changed

+7
-9
lines changed

app/code/Magento/Bundle/view/adminhtml/templates/product/composite/fieldset/options/bundle.phtml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,13 @@
1111
<?php /* @var $block \Magento\Bundle\Block\Adminhtml\Catalog\Product\Composite\Fieldset\Bundle */ ?>
1212
<?php $options = $block->decorateArray($block->getOptions()); ?>
1313
<?php if (count($options)): ?>
14-
<fieldset id="catalog_product_composite_configure_fields_bundle" class="fieldset admin__fieldset bundle<?php echo $block->getIsLastFieldset() ? ' last-fieldset' : '' ?>">
14+
<fieldset id="catalog_product_composite_configure_fields_bundle" class="fieldset admin__fieldset composite-bundle <?php echo $block->getIsLastFieldset() ? ' last-fieldset' : '' ?>">
1515
<legend class="legend admin__legend"><span><?php echo __('Bundle Items') ?></span></legend><br />
16-
<div class="fields options">
17-
<?php foreach ($options as $option) : ?>
18-
<?php if ($option->getSelections()) : ?>
19-
<?php echo $block->getOptionHtml($option); ?>
20-
<?php endif; ?>
21-
<?php endforeach; ?>
22-
</div>
16+
<?php foreach ($options as $option) : ?>
17+
<?php if ($option->getSelections()) : ?>
18+
<?php echo $block->getOptionHtml($option); ?>
19+
<?php endif; ?>
20+
<?php endforeach; ?>
2321
</fieldset>
2422

2523
<script>

dev/tests/functional/tests/app/Magento/Bundle/Test/Block/Adminhtml/Product/Composite/Configure.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class Configure extends \Magento\Catalog\Test\Block\Adminhtml\Product\Composite\
1919
*
2020
* @var string
2121
*/
22-
protected $option = '//div[@class="fields options"]//label[.="%option_name%"]//following-sibling::*//%selector%';
22+
protected $option = '//div[@class="composite-bundle"]//label[.="%option_name%"]//following-sibling::*//%selector%';
2323

2424
/**
2525
* Fill options for the product

0 commit comments

Comments
 (0)