14 <?php
$_skipSaleableCheck = $this->helper(
'Magento\Catalog\Helper\Product')->getSkipSaleableCheck(); ?>
16 <fieldset
id=
"catalog_product_composite_configure_fields_configurable" class=
"fieldset admin__fieldset">
17 <legend
class=
"legend admin__legend">
18 <span><?=
__(
'Associated Products') ?></span>
20 <div
class=
"product-options">
21 <div
class=
"field admin__field _required required">
23 <label
class=
"label admin__field-label"><?php
24 echo $_attribute->getProductAttribute()
27 <div
class=
"control admin__field-control <?php 28 if ($_attribute->getDecoratedIsLast()): 31 <select
name=
"super_attribute[<?= /* @escapeNotVerified */ $_attribute->getAttributeId() ?>]" 32 id=
"attribute<?= /* @escapeNotVerified */ $_attribute->getAttributeId() ?>" 33 class=
"admin__control-select required-entry super-attribute-select">
34 <option><?=
__(
'Choose an Option...') ?></option>
43 "Magento_ConfigurableProduct/js/configurable",
44 "Magento_Catalog/catalog/product/composite/configure" 47 var config = <?=
$block->getJsonConfig() ?>;
48 if (window.productConfigure) {
49 config.containerId = window.productConfigure.blockFormFields.id;
50 if (window.productConfigure.restorePhase) {
51 config.inputsInitialized =
true;
55 ProductConfigure.spConfig =
new Product.Config(config);
if($_attribute->getDecoratedIsLast()) endforeach