![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/old/vendor/magento/module-layered-navigation/view/frontend/templates/layer/ |
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ ?> <?php /** * Category layered navigation * * @var $block \Magento\LayeredNavigation\Block\Navigation */ ?> <?php if ($block->canShowBlock()) : ?> <div class="block filter"> <div class="block-title filter-title"> <strong><?= $block->escapeHtml(__('Shop By')) ?></strong> </div> <div class="block-content filter-content"> <?= $block->getChildHtml('state') ?> <?php if ($block->getLayer()->getState()->getFilters()) : ?> <div class="block-actions filter-actions"> <a href="<?= $block->escapeUrl($block->getClearUrl()) ?>" class="action clear filter-clear"><span><?= $block->escapeHtml(__('Clear All')) ?></span></a> </div> <?php endif; ?> <?php $wrapOptions = false; ?> <?php foreach ($block->getFilters() as $filter) : ?> <?php if (!$wrapOptions) : ?> <strong role="heading" aria-level="2" class="block-subtitle filter-subtitle"><?= $block->escapeHtml(__('Shopping Options')) ?></strong> <dl class="filter-options" id="narrow-by-list"> <?php $wrapOptions = true; endif; ?> <?php if ($filter->getItemsCount()) : ?> <dt role="heading" aria-level="3" class="filter-options-title"><?= $block->escapeHtml(__($filter->getName())) ?></dt> <dd class="filter-options-content"><?= /* @noEscape */ $block->getChildBlock('renderer')->render($filter) ?></dd> <?php endif; ?> <?php endforeach; ?> <?php if ($wrapOptions) : ?> </dl> <?php endif; ?> </div> </div> <?php endif; ?>