app/template/default/Block/cart.twig line 1

Open in your IDE?
  1. {#
    This file is part of EC-CUBE
    
    Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
    
    http://www.ec-cube.co.jp/
    
    For the full copyright and license information, please view the LICENSE
    file that was distributed with this source code.
    #}
    {% set totalQuantity = get_carts_total_quantity() %}
    <li class="header__menu-item no-tab no-sp">
        <a href="{{ url('cart') }}" class="header__menu-item-link">
            <svg xmlns="http://www.w3.org/2000/svg" width="30.353" height="33.533" viewBox="0 0 30.353 33.533">
                <g id="Group_1929" data-name="Group 1929" transform="translate(-3006.68 -1195.586)">
                    <g id="Group_1911" data-name="Group 1911" transform="translate(-8.015 1151)">
                    <path id="Path_3072" data-name="Path 3072" d="M3028.058,73.717a2.4,2.4,0,1,0,.871,1.059A2.4,2.4,0,0,0,3028.058,73.717Zm-.452,2.373a.973.973,0,0,1-.352.427.97.97,0,0,1-.919.09.97.97,0,0,1-.428-.353.972.972,0,0,1-.089-.919.969.969,0,0,1,1.7-.164.974.974,0,0,1,.089.919Z" fill="#9e9e9f"/>
                    <path id="Path_3073" data-name="Path 3073" d="M3041.257,73.717a2.4,2.4,0,1,0,.871,1.059A2.4,2.4,0,0,0,3041.257,73.717Zm-.452,2.373a.968.968,0,0,1-.353.427.968.968,0,0,1-.918.09.972.972,0,0,1-.428-.353.972.972,0,0,1-.089-.919.972.972,0,0,1,.894-.593.971.971,0,0,1,.894,1.348Z" fill="#9e9e9f"/>
                    </g>
                    <g id="Group_1912" data-name="Group 1912" transform="translate(-8.015 1151)">
                    <path id="Path_3074" data-name="Path 3074" d="M3042.591,61.84a.871.871,0,0,1-.715.688l-15.7,2.555-3.82-13.123h17.957c-.018-.218-.033-.436-.033-.659a7.8,7.8,0,0,1,.084-1.085h-18.516l-.774-2.66v0a3.4,3.4,0,0,0-2.546-2.352l-2.781-.6a.872.872,0,0,0-.366,1.705l2.781.6a1.655,1.655,0,0,1,1.241,1.146l5.082,17.457c-.114.054-.225.112-.332.175a3.532,3.532,0,0,0-1.282,1.32,3.648,3.648,0,0,0-.445,1.679h0v.091h0a3.609,3.609,0,0,0,3.611,3.522h16.345a.872.872,0,1,0,0-1.744H3026.04a1.866,1.866,0,0,1-1.867-1.822,1.83,1.83,0,0,1,.4-1.135,1.8,1.8,0,0,1,.48-.413,2.212,2.212,0,0,1,.676-.26l16.43-2.674a2.619,2.619,0,0,0,2.144-2.062l.747-3.675a7.835,7.835,0,0,1-1.592-.925Z" fill="#9e9e9f"/>
                    </g>
                </g>
            </svg>
            <span class="ec-cartNavi__badge">{{ totalQuantity|number_format }}</span>
        </a>
    </li>