12 <div
class=
"swatch-attribute swatch-layered <?= /* @escapeNotVerified */ $swatchData['attribute_code'] ?>" 13 attribute-code=
"<?= /* @escapeNotVerified */ $swatchData['attribute_code'] ?>" 14 attribute-
id=
"<?= /* @escapeNotVerified */ $swatchData['attribute_id'] ?>">
15 <div
class=
"swatch-attribute-options clearfix">
17 <a href=
"<?= /* @escapeNotVerified */ $label['link'] ?>" 18 aria-label=
"<?= /* @escapeNotVerified */ $label['label'] ?>" 19 class=
"swatch-option-link-layered">
24 <div
class=
"swatch-option <?= /* @escapeNotVerified */ $label['custom_style'] ?>" 27 option-
id=
"<?= /* @escapeNotVerified */ $option ?>" 28 option-label=
"<?= /* @escapeNotVerified */ $label['label'] ?>" 29 option-tooltip-thumb=
"" 30 option-tooltip-
value=
"" 35 <?php $swatchThumbPath =
$block->getSwatchPath(
'swatch_thumb',
37 <?php $swatchImagePath =
$block->getSwatchPath(
'swatch_image',
39 <div
class=
"swatch-option image <?= /* @escapeNotVerified */ $label['custom_style'] ?>" 42 option-
id=
"<?= /* @escapeNotVerified */ $option ?>" 43 option-label=
"<?= /* @escapeNotVerified */ $label['label'] ?>" 44 option-tooltip-thumb=
"<?= /* @escapeNotVerified */ $swatchThumbPath ?>" 45 option-tooltip-
value=
"" 46 style=
"background: url(<?= /* @escapeNotVerified */ $swatchImagePath ?>) no-repeat center; background-size: initial;"></div>
50 <div
class=
"swatch-option color <?= /* @escapeNotVerified */ $label['custom_style'] ?>" 53 option-
id=
"<?= /* @escapeNotVerified */ $option ?>" 54 option-label=
"<?= /* @escapeNotVerified */ $label['label'] ?>" 55 option-tooltip-thumb=
"" 56 option-tooltip-
value=
"<?= /* @escapeNotVerified */ $swatchData['swatches'][$option]['value'] ?>" 57 style=
"background: <?= /* @escapeNotVerified */ $swatchData['swatches'][$option]['value'] ?> no-repeat center; background-size: initial;"></div>
62 <div
class=
"swatch-option text <?= /* @escapeNotVerified */ $label['custom_style'] ?>" 65 option-
id=
"<?= /* @escapeNotVerified */ $option ?>" 66 option-label=
"<?= /* @escapeNotVerified */ $label['label'] ?>" 67 option-tooltip-thumb=
"" 68 option-tooltip-
value=
"" 79 require([
"jquery",
"jquery/ui",
"Magento_Swatches/js/swatch-renderer"],
function ($) {
80 $(
'.swatch-layered.<?= /* @escapeNotVerified */ $swatchData['attribute_code
'] ?>')
81 .
find(
'[option-type="1"], [option-type="2"], [option-type="0"], [option-type="3"]')
82 .SwatchRendererTooltip();
$block setTitle( 'CMS Block Title') -> setIdentifier('fixture_block') ->setContent('< h1 >Fixture Block Title</h1 >< a href=" store url</a><p> Config value
taxRateField find('.mselect-list') .on( 'click.mselect-edit'