|
13 | 13 | <?php $_attributes = $block->decorateArray($block->getAllowAttributes()); ?>
|
14 | 14 | <?php $_skipSaleableCheck = $this->helper('Magento\Catalog\Helper\Product')->getSkipSaleableCheck(); ?>
|
15 | 15 | <?php if (($_product->isSaleable() || $_skipSaleableCheck) && count($_attributes)):?>
|
16 |
| -<fieldset id="catalog_product_composite_configure_fields_configurable" class="fieldset admin__fieldset product-options"> |
| 16 | +<fieldset id="catalog_product_composite_configure_fields_configurable" class="fieldset admin__fieldset"> |
17 | 17 | <legend class="legend admin__legend"><span><?php echo __('Associated Products') ?></span></legend>
|
18 |
| - <div class="field admin__field _required required"> |
19 |
| - <?php foreach ($_attributes as $_attribute): ?> |
20 |
| - <label class="label admin__field-label"><?php echo $_attribute->getLabel() ?></label> |
21 |
| - <div class="control admin__field-control <?php if ($_attribute->getDecoratedIsLast()):?> last<?php endif; ?>"> |
22 |
| - <select name="super_attribute[<?php echo $_attribute->getAttributeId() ?>]" |
23 |
| - id="attribute<?php echo $_attribute->getAttributeId() ?>" |
24 |
| - class="admin__control-select required-entry super-attribute-select"> |
25 |
| - <option><?php echo __('Choose an Option...') ?></option> |
26 |
| - </select> |
27 |
| - </div> |
28 |
| - <?php endforeach; ?> |
| 18 | + <div class="product-options"> |
| 19 | + <div class="field admin__field _required required"> |
| 20 | + <?php foreach ($_attributes as $_attribute): ?> |
| 21 | + <label class="label admin__field-label"><?php echo $_attribute->getLabel() ?></label> |
| 22 | + <div class="control admin__field-control <?php if ($_attribute->getDecoratedIsLast()):?> last<?php endif; ?>"> |
| 23 | + <select name="super_attribute[<?php echo $_attribute->getAttributeId() ?>]" |
| 24 | + id="attribute<?php echo $_attribute->getAttributeId() ?>" |
| 25 | + class="admin__control-select required-entry super-attribute-select"> |
| 26 | + <option><?php echo __('Choose an Option...') ?></option> |
| 27 | + </select> |
| 28 | + </div> |
| 29 | + <?php endforeach; ?> |
| 30 | + </div> |
29 | 31 | </div>
|
30 | 32 | </fieldset>
|
31 | 33 | <script>
|
|
0 commit comments