11 <div
class=
"swatch-opt-<?= /* @escapeNotVerified */ $productId ?>" 12 data-role=
"swatch-option-<?= /* @escapeNotVerified */ $productId ?>"></div>
14 <script type=
"text/x-magento-init">
16 "[data-role=swatch-option-<?= /* @escapeNotVerified */ $productId ?>]": {
17 "Magento_Swatches/js/swatch-renderer": {
18 "selectorProduct":
".product-item-details",
20 "enableControlLabel":
false,
21 "numberToShow": <?=
$block->getNumberSwatchesPerProduct(); ?>,
22 "jsonConfig": <?=
$block->getJsonConfig(); ?>,
23 "jsonSwatchConfig": <?=
$block->getJsonSwatchConfig(); ?>,
24 "mediaCallback":
"<?= /* @escapeNotVerified */ $block->getMediaCallback() ?>" 30 <script type=
"text/x-magento-init">
32 "[data-role=priceBox][data-price-box=product-id-<?= /* @escapeNotVerified */ $productId ?>]": {
35 "priceFormat": <?=
$block->getPriceFormatJson(); ?>,
36 "prices": <?=
$block->getPricesJson(); ?>