<?php /** * Minicart of the Black Friday page: the site component (counter from customer-data), but a direct link to the * checkout, without the dropdown with the products and without the "Cosul meu" text. * * @var \Magento\Checkout\Block\Cart\Sidebar $block * @var \Magento\Framework\Escaper $escaper */ ?> <div data-block="minicart" class="minicart-wrapper"><a class="action showcart" href="<?= $escaper->escapeUrl($block->getCheckoutUrl()) ?>" data-bind="scope: 'minicart_content'" data-bf-cart aria-label="<?= $escaper->escapeHtmlAttr(__('Finalizează comanda')) ?>"><span class="counter qty empty" data-bind="css: { empty: !!getCartParam('summary_count') == false }, blockLoader: isLoading"><span class="counter-number"><!-- ko text: getCartParam('summary_count') || 0 --><!-- /ko --></span></span></a> <script>
        window.checkout = <?= /* @noEscape */ json_encode($block->getConfig()) ?>;</script><script type="text/x-magento-init">
    {
        "[data-block='minicart']": {
            "Magento_Ui/js/core/app": <?= /* @noEscape */ $block->getJsLayout() ?>
        },
        "*": {
            "Magento_Ui/js/block-loader": "<?= $escaper->escapeJs($block->getViewFileUrl('images/loader-1.gif')) ?>"
        }
    }</script></div>