{% extends 'front/front.html.twig' %}{% block bodyClass %}cart{% endblock %}{% block breadcrumbs %}{% include 'front/layout/breadcrumbs.html.twig' with {'page':'Panier'} %}{% endblock %}{% block javascripts %}<script src="https://www.paypal.com/sdk/js?client-id={{ paypalClientId }}&components=messages,buttons" data-namespace="PayPalSDK"></script><script>var giftRoute = '{{ path('cart_add_gift') }}';</script>{% endblock %}{% block content %}<div id="shopping-cart" class="ctn cf shopping-cart order-process">{% include 'front/checkout/steps.html.twig' with {'step':1} %}<div class="tools"><a href="{{ path('checkout_cart_validation') }}" class="button bt-black">{% trans %}Valider le panier{% endtrans %}</a></div><h1>{% trans %}Panier{% endtrans %}</h1><h2>{% trans %}Bon de commande ou devis{% endtrans %}</h2><div class="checkout-ctn">{# <div class="discounts"><h3>{% trans %}Vos avantages clients{% endtrans %}</h3><div class="img">{% include 'front/cart/discounts.html.twig' %}</div></div>#}{% if customerMgr.isLogged() and cart.canAddGift() and not cart.hasGift and (gifts|length > 0) %}{% include 'front/cart/gift-choice.html.twig' %}{% endif %}{% include 'front/layout/messages.html.twig' %}<div class="cart-details"><div class="tools" style="text-align:left; "><a class="bt-cart-empty" href="{{ path('cart_empty') }}">{% trans %}Vider le panier{% endtrans %}</a><div class="products-total">{% trans %}Sous total HT : {% endtrans %} <span class="total-products">{{ cart.totalProducts|price }}</span></div></div><table><tbody>{% if cart.items|length %}{% for item in cart.getItems(app.request.get('_locale')) %}{% include 'front/cart/cart-line.html.twig' with { item:item } %}{% endfor %}{% else %}<tr class="empty"><td colspan="8">{% trans %}Votre panier est vide.{% endtrans %}</td></tr>{% endif %}{% if cart.isExpert() %}<tr class="cartcoupon cartdiscount"><td class="infos-ctn" colspan="3">{% trans %}Remise Expert{% endtrans %}</td><td class="price-ctn">{{ cart.getTotalProductsDiscount() | price }}</td></tr>{% endif %}{% if cart.coupons|length %}{% for coupon in cart.coupons %}{% include 'front/cart/coupon-line.html.twig' with { coupon:coupon } %}{% endfor %}{% endif %}</tbody><tfoot><tr class="total-products-line"><td class="label total-products-label"><divdata-pp-messagedata-pp-style-layout="text"data-pp-style-logo-type="none"data-pp-style-text-color="monochrome"data-pp-style-text-size="14"data-pp-amount="{{ cart.getTotalProducts(true) }}"data-pp-placement=payment></div></td><td colspan="2" class="label total-products-label">{% trans %}Total Produit HT : {% endtrans %}</td><td class="price total-products">{% if cart.items|length %}{{ cart.getTotalProducts(true) | price }}{% else %}0,00 €{% endif %}</td></tr></tfoot></table>{% if cart.items|length %}<form class="coupon-form"><div class="text"><label>{% trans %}Code de réduction : {% endtrans %}</label><input type="text" name="coupon" value="" id="coupon"></div><button class="button">{% trans %}Appliquer{% endtrans %}</button><div class="output"></div></form>{% endif %}<div class="cart-navigation cf" {% if cart.items|length==0 %}style="display:none;"{% endif %}><a href="{{ path('checkout_cart_validation') }}" class="button bt-black validate"><span>{% trans %}Valider le panier{% endtrans %}</span></a></div></div><div class="cart-mentions">{% if not customerMgr.isExpert() %}<p>{% trans %}Livraison gratuite dès 99 euros d'achat. Livraison en France métropolitaine uniquement (sauf Corse et Dropshipping){% endtrans %}</p>{% endif %}</div><div class="footer-spacer"></div></div></div>{% endblock %}{% block newsletter %}{% endblock %}