<div class="reference">{% set country = customerMgr.getCustomerCountry() %}<div class="reference-ctn">{% if product.picture %}<div class="img"><a href="{{ asset(product.picture.webPath) | imagine_filter('product_zoom') }}" data-caption="{{ product.name|escape('html_attr') }}" data-fancybox="references"><img src="{{ asset(product.picture.webPath) | imagine_filter('product_small') }}" alt="{{ product.name|e('html_attr') }}"></a></div>{% endif %}{% include 'front/catalog/product/view/soleil.html.twig' %}<div class="stock-ctn">{% include 'front/catalog/product/view/stock.html.twig' %}{% if product.isAvailableForCountry(country) %}{% if product.id in discounts|keys %}{% set productsDiscounts = attribute(discounts, product.id) %}{% for discount in productsDiscounts %}{% include 'front/catalog/product/view/discount.html.twig' with {discount:discount} %}{% endfor %}{% endif %}{% endif %}</div><div class="name-ctn">{% if product.parent %}<div class="name">{{ product.name|slice(product.parent.name|length+2, product.name|length) }}</div>{% else %}<div class="name"></div>{% endif %}{% if product.isAvailableForCountry(country) %}{% if product.getPrice(false, priceGroup) %}{% if customerMgr.canSeePrices() and not product.isStopped() %}{% include 'front/catalog/product/view/price-grid.html.twig' with {priceGrid:attribute(priceGrids,product.id)} %}{% endif %}{% set currentQty = cartMgr.qtyInCart(product) %}<div class="bt-cart {{ currentQty > 0 ? 'in-cart' : ''}}">{% if customerMgr.canSeePrices() and product.isAvailable() %}{% include 'front/cart/bt.html.twig' with {product:product} %}<div class="qty"><a class="down">-</a><input type="text" value="{{ currentQty }}" name="qty[{{ product.id }}]" class="qty-value" data-id="{{ product.id }}"><a class="up">+</a></div>{% endif %}</div>{% elseif customerMgr.isExpert() %}<p>{% trans %}Produit non disponible pour les Experts{% endtrans %}</p>{% endif %}{% endif %}</div></div>{% if customerMgr.canSeePrices() and (product.ecotax > 0) %}<div class="eco-tax">{% trans %}Eco-participation{% endtrans %} : {{ product.ecotax|price }}</div>{% endif %}{% if customerMgr.canSeePrices() and not product.isStopped() and not product.isAvailable() %}<div class="stock-alert" style="height:30px; line-height:15px;"><a data-product="{{ product.id }}" data-customer="{{ customer.id }}" data-language="{{ app.request.getLocale() }}" class="bt-stock-alert">{% trans %}Prévenez-moi par email dès que l'article est en stock.{% endtrans %}</a><br></div>{% endif %}</div>