File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
app/code/Magento/Swatches/view
adminhtml/templates/catalog/product/attribute
frontend/templates/product/view Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ $stores = $block->getStoresSortedBySortOrder();
19
19
<th class="col-draggable"></th>
20
20
<th class="col-default"><span><?= $ block ->escapeHtml (__ ('Is Default ' )) ?> </span></th>
21
21
<?php foreach ($ stores as $ _store ) : ?>
22
- <th class="col-swatch col-swatch-min-width col-<%- data.id %><?= ($ _store ->getId () == \Magento \Store \Model \Store::DEFAULT_STORE_ID ) ? '_required ' : '' ?> "
22
+ <th class="col-swatch col-swatch-min-width col-<%- data.id %><?= ($ _store ->getId () == \Magento \Store \Model \Store::DEFAULT_STORE_ID ) ? ' _required ' : '' ?> "
23
23
colspan="2">
24
24
<span><?= $ block ->escapeHtml ($ _store ->getName ()) ?> </span>
25
25
</th>
Original file line number Diff line number Diff line change 12
12
"[data-role=swatch-options]": {
13
13
"Magento_Swatches/js/swatch-renderer": {
14
14
"jsonConfig": <?= /* @noEscape */ $ swatchOptions = $ block ->getJsonConfig () ?> ,
15
- "jsonSwatchConfig": <?= /* @noEscape */ $ swatchOptions = $ block ->getJsonSwatchConfig () ?> ,
15
+ "jsonSwatchConfig": <?= /* @noEscape */ $ swatchOptions = $ block ->getJsonSwatchConfig () ?> ,
16
16
"mediaCallback": "<?= $ block ->escapeJs ($ block ->escapeUrl ($ block ->getMediaCallback ())) ?> ",
17
17
"gallerySwitchStrategy": "<?= $ block ->escapeJs ($ block ->getVar ('gallery_switch_strategy ' , 'Magento_ConfigurableProduct ' )) ?: 'replace ' ; ?> ",
18
18
"jsonSwatchImageSizeConfig": <?= /* @noEscape */ $ block ->getJsonSwatchSizeConfig () ?>
You can’t perform that action at this time.
0 commit comments