templates/women/base/base_women.twig line 1

  1. <!DOCTYPE html>
  2. <html lang="en">
  3.     {% block head %}
  4.     <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css" integrity="sha512-z3gLpd7yknf1YoNbCzqRKc4qyor8gaKU1qmn+CShxbuBusANI9QpRohGBreCFkKxLhei6S9CQXFEbbKuqLg0DA==" crossorigin="anonymous" referrerpolicy="no-referrer" />
  5.         {% include 'women/base/head_women.twig' %}
  6.             <link rel="stylesheet" type="text/css" href="{{ asset('assets/css/custom.css') }}">
  7.     {% endblock %}
  8.         <link rel="stylesheet" type="text/css" href="{{ asset('assets/css/custom.css') }}">
  9.         <script src="{{ asset("assets/js/cart.js") }}"></script>
  10.         <link rel="stylesheet" type="text/css" href="{{ asset('assets/css/responsive.css') }}">
  11.         <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css" integrity="sha512-z3gLpd7yknf1YoNbCzqRKc4qyor8gaKU1qmn+CShxbuBusANI9QpRohGBreCFkKxLhei6S9CQXFEbbKuqLg0DA==" crossorigin="anonymous" referrerpolicy="no-referrer" />
  12.         <meta name="viewport" content="width=device-width, initial-scale=1.0">
  13.     {% block body %}
  14.         <body class="theme-color-18">
  15.            {% block header %}
  16.                    {% include 'women/base/header_women.twig' %}
  17.            {% endblock %}
  18.            {% block breadcrumb %}
  19.            {% endblock %}
  20.            {% block main %}
  21.            {% endblock %}
  22.         {% block newsletter %}
  23.                 {# {% include 'front_end/base/newsletter.twig' %} #}
  24.         {% endblock %}
  25.             {% block footer %}
  26.                 {% include 'women/base/footer.twig' %}
  27.             {% endblock %}
  28.            {% block js %}
  29.                    {% include 'front_end/base/_js.html.twig' %}
  30.            {% endblock %}
  31.                    {% block cart_popup %}
  32.                 <!-- Add to cart bar -->
  33.                 <div id="cart_side" class=" add_to_cart right">
  34.                         <a href="javascript:void(0)" class="overlay" onclick="closeCart()"></a>
  35.                         <div class="cart-inner">
  36.                         <div class="cart_top">
  37.                                 <h3>{{ 'my cart' | trans({},'templates') }}</h3>
  38.                                 <div class="close-cart">
  39.                                 <a href="javascript:void(0)" onclick="closeCart()">
  40.                                         <i class="fa fa-times"></i>
  41.                                 </a>
  42.                                 </div>
  43.                         </div>
  44.                         <div class="cart_media">
  45.                                 {% if app.session.get('cart') %}
  46.                                         <ul class="cart_product">
  47.                                         {% for cartItem in app.session.get('cart') %}
  48.                                         <li>
  49.                                                 <div class="media">
  50.                                                 <a href="#">
  51.                                                         <img alt="" class="me-3" src="{{ cartItem.image }}">
  52.                                                 </a>
  53.                                                 <div class="media-body">
  54.                                                         <a href="#">
  55.                                                         <h4>{{ cartItem.name }}</h4>
  56.                                                         </a>
  57.                                                         <h4>
  58.                                                         <span>{{ cartItem.quantity }} x {{ cartItem.price }} EUR</span>
  59.                                                         </h4>
  60.                                                 </div>
  61.                                                 </div>
  62.                                                 <div class="close-circle">
  63.                                                 <a href="#" onclick="cart.removeFromCart({{cartItem.id}},this)">
  64.                                                         <i class="ti-trash"></i>
  65.                                                 </a>
  66.                                                 </div>
  67.                                         </li>
  68.                                         {% endfor %}
  69.                                         </ul>
  70.                                         {% if app.session.get('total_price') %}
  71.                                         <ul class="cart_total">
  72.                                         <li>
  73.                                                 <div class="total">
  74.                                                 <h5>{{ 'Subtotal' | trans({},'templates') }} : <span>{{ app.session.get('total_price') }} EUR</span></h5>
  75.                                                 </div>
  76.                                         </li>
  77.                                         <li>
  78.                                                 <div class="buttons">
  79.                                                 <a href="{{ path('app_cart_index',{"gender": "women"})}}" class="btn btn-solid btn-xs view-cart">{{ 'view cart' | trans({},'templates') }}</a>
  80.                                                 {# <a href="#" class="btn btn-solid btn-xs checkout">checkout</a> #}
  81.                                                 </div>
  82.                                         </li>
  83.                                         </ul>
  84.                                         {% endif %}
  85.                                 {% else %}
  86.                                         <ul class="cart_product">
  87.                                         </ul>
  88.                                         <ul class="cart_total">
  89.                                         </ul>
  90.                                         <h5 id="cart_empty_msg"><span> {{ 'There are no items in your cart' | trans({},'templates') }}</span></h5>
  91.                                 {% endif %}
  92.                         </div>
  93.                         </div>
  94.                 </div>
  95.                 <!-- Add to cart bar end-->
  96.         {% endblock %}
  97.         <script src="{{ asset('assets/js/addtocart.js') }}"></script>
  98.         <script src="{{ asset("assets/js/cart.js") }}"></script>
  99.         </body>
  100.     {% endblock %}
  101. </html>