![]() 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/amasty/shopby/view/frontend/templates/navigation/ |
<?php /** * @author Amasty Team * @copyright Copyright (c) Amasty (https://www.amasty.com) * @package Improved Layered Navigation Base for Magento 2 */ /** @var \Amasty\Shopby\Block\Navigation\ApplyButton $block */ /** @var \Magento\Framework\Escaper $escaper */ use Amasty\Shopby\Block\Navigation\UrlModifier; $postfix = uniqid(); ?> <?php if ($block->blockEnabled()): ?> <?php if (!$block->isAjaxEnabled()): ?> <form data-amshopby-filter=""> <input type="hidden" name="<?= /* @noEscape */ UrlModifier::VAR_REPLACE_URL ?>" value="1"/> </form> <?php endif; ?> <div class="am_shopby_apply_filters"> <div class="am-show-button -horizontal"> <span class="am-items"></span> <button amshopby-apply-filter="1" id="amasty_shopby_apply_filters_<?= /* @noEscape */ $postfix ?>" data-mage-init='{"amShopbyApplyFilters":{ "ajaxEnabled": <?= $block->isAjaxEnabled() ? '1' : '0' ?>, "ajaxSettingEnabled": <?= $block->isAjaxSettingEnabled() ? '1' : '0' ?>, "navigationSelector": "<?= $escaper->escapeHtml($block->getNavigationSelector()) ?>", "clearUrl": "<?= $escaper->escapeUrl($block->getClearUrl()) ?>", "buttonPosition": "<?= $escaper->escapeHtml($block->getButtonPosition()) ?>" }}' title="<?= $escaper->escapeHtmlAttr(__('Apply Filters')) ?>" aria-label="<?= $escaper->escapeHtmlAttr(__('Apply Filters')) ?>" class="amshopby-button"> <?= $escaper->escapeHtml(__('Apply')) ?> </button> </div> </div> <?php endif; ?>