templates/front_end/base/base.html.twig line 1
<!DOCTYPE html>
<html lang="en">
{% block head %}
<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" />
{% include 'front_end/base/_head.html.twig' %}
{% endblock %}
{% block body %}
<body class="theme-color-18">
{% block header %}
{% include 'front_end/base/_header.html.twig' %}
{% endblock %}
{% block breadcrumb %}
{% endblock %}
{% block main %}
{% endblock %}
{% block newsletter %}
{# {% include 'front_end/base/newsletter.twig' %} #}
{% endblock %}
{% block footer %}
{% include 'front_end/base/_footer.html.twig' %}
{% endblock %}
{% block cart_popup %}
<!-- Add to cart bar -->
<div id="cart_side" class=" add_to_cart right">
<a href="javascript:void(0)" class="overlay" onclick="closeCart()"></a>
<div class="cart-inner">
<div class="cart_top">
<h3>{{ 'my cart' | trans({},'templates')}}</h3>
<div class="close-cart">
<a href="javascript:void(0)" onclick="closeCart()">
<i class="fa fa-times"></i>
</a>
</div>
</div>
<div class="cart_media">
{% if app.session.get('cart') %}
<ul class="cart_product">
{% for cartItem in app.session.get('cart') %}
<li>
<div class="media">
<a href="#">
<img alt="" class="me-3" src="{{ cartItem.image }}">
</a>
<div class="media-body">
<a href="#">
<h4>{{ cartItem.name }}</h4>
</a>
<h4>
<span>{{ cartItem.quantity }} x {{ cartItem.price }} EUR</span>
</h4>
</div>
</div>
<div class="close-circle">
<a href="#" onclick="cart.removeFromCart({{cartItem.id}},this)">
<i class="ti-trash"></i>
</a>
</div>
</li>
{% endfor %}
</ul>
{% if app.session.get('total_price') %}
<ul class="cart_total">
<li>
<div class="total">
<h5>{{ 'subtotal' | trans({},'templates') }} : <span>{{ app.session.get('total_price') }}</span></h5>
</div>
</li>
<li>
<div class="buttons">
<a href="{{ path('app_cart_index_home') }}" class="btn btn-solid btn-xs view-cart">{{ 'view cart' | trans({},'templates') }}</a>
{# <a href="#" class="btn btn-solid btn-xs checkout">checkout</a> #}
</div>
</li>
</ul>
{% endif %}
{% else %}
<h5><span> {{ 'There are no items in your cart' | trans({},'templates') }}</span></h5>
{% endif %}
</div>
</div>
</div>
<!-- Add to cart bar end-->
{% endblock %}
{% block js %}
{% include 'front_end/base/_js.html.twig' %}
{% endblock %}
</body>
{% endblock %}
<script src="{{ asset("assets/js/cart.js") }}"></script>
<script src="{{ asset('assets/js/modules.js') }}"></script>
</html>