File tree Expand file tree Collapse file tree 1 file changed +4
-11
lines changed
app/design/frontend/Magento/luma/Magento_LayeredNavigation/templates/layer Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Original file line number Diff line number Diff line change 15
15
<?php if ($ block ->canShowBlock ()) : ?>
16
16
<div class="block filter" id="layered-filter-block" data-mage-init='
17
17
{
18
- "collapsible":
18
+ "collapsible":
19
19
{
20
20
"openedState": "active",
21
21
"collapsible": true,
26
26
"element": "body"
27
27
}
28
28
}
29
-
30
29
}'>
31
30
<?php $ filtered = count ($ block ->getLayer ()->getState ()->getFilters ()) ?>
32
31
<div class="block-title filter-title" data-count="<?= /* @noEscape */ $ filtered ?> ">
46
45
<?php foreach ($ block ->getFilters () as $ filter ) : ?>
47
46
<?php if ($ filter ->getItemsCount ()) : ?>
48
47
<?php if (!$ wrapOptions ) : ?>
49
- <strong role="heading" aria-level="2" class="block-subtitle filter-subtitle">
50
- <?= $ block ->escapeHtml (__ ('Shopping Options ' )) ?>
51
- </strong>
48
+ <strong role="heading" aria-level="2" class="block-subtitle filter-subtitle"><?= $ block ->escapeHtml (__ ('Shopping Options ' )) ?> </strong>
52
49
<div class="filter-options" id="narrow-by-list" data-role="content" data-mage-init='
53
50
{
54
51
"accordion":
62
59
<?php $ wrapOptions = true ;
63
60
endif ; ?>
64
61
<div data-role="collapsible" class="filter-options-item">
65
- <div data-role="title" class="filter-options-title">
66
- <?= $ block ->escapeHtml (__ ($ filter ->getName ())) ?>
67
- </div>
68
- <div data-role="content" class="filter-options-content">
69
- <?= /* @noEscape */ $ block ->getChildBlock ('renderer ' )->render ($ filter ) ?>
70
- </div>
62
+ <div data-role="title" class="filter-options-title"><?= $ block ->escapeHtml (__ ($ filter ->getName ())) ?> </div>
63
+ <div data-role="content" class="filter-options-content"><?= /* @noEscape */ $ block ->getChildBlock ('renderer ' )->render ($ filter ) ?> </div>
71
64
</div>
72
65
<?php endif ; ?>
73
66
<?php endforeach ; ?>
You can’t perform that action at this time.
0 commit comments