{% if customerMgr.isExpert() %}
<div class="price-grid price-grid-expert price-grid-{{ product.id }}" data-pid="{{ product.id }}">
<div class="price current-price">
{{ product.getPrice(false, priceGroup) | price }}
</div>
<div class="price-tax-incl">
{{ product.getPrice(false, priceGroup, true) | price }}<sup>{{ 'ttc' | trans }}</sup>
</div>
</div>
{% else %}
<div class="price-grid price-grid-{{ product.id }}" data-pid="{{ product.id }}">
{% for line in priceGrid %}
<div>
{% if loop.last %}
{% if line.from > 1 %}
<div class="qtys">{% trans %}à partir de{% endtrans %} {{ line.from }} {% trans %}et +{% endtrans %}</div>
{% endif %}
{% elseif line.from == line.to %}
<div class="qtys">{% trans %}pour{% endtrans %} {{ line.from }}</div>
{% else %}
<div class="qtys">{% trans %}de{% endtrans %} {{ line.from }} {% trans %}à{% endtrans %} {{ line.to }}</div>
{% endif %}
{% set hasDiscount = line.normal > line.price %}
{% if (discountsList is defined) and (product.id not in discountsList) and product.hasSoleilPrice() and (not hasDiscount or (line.discountType == 'soleil' or line.discountType == 'bienvenue')) %}
{% set soleilDiscount = cart.hasSoleilDiscount(product) %}
<table class="soleil-price">
<tr>
<th>Prix brut</th>
<th>Prix pro {% if product.isSoleil() %}<span class="picto soleil"></span>{% elseif product.isNonSoleil() %}<span class="picto non-soleil"></span>{% endif %}<span class="tooltip price-notice" rel-tooltip="discount-soleil-{{ product.id }}">i</span></th>
</tr>
<tr>
<td class="price-normal {% if not soleilDiscount %}current-price{% endif %}">{{ product.getPrice() | price }}</td>
<td class="price-reduced {% if soleilDiscount %}current-price{% endif %}">{{ product.getSoleilPrice(false) | price }}</td>
</tr>
</table>
{% else %}
<div class="price {{ hasDiscount ? 'stricked-price' : '' }}">{{ hasDiscount ? line.normal|price : '' }}</div>
<div class="price current-price {{ hasDiscount ? 'reduced-price' : '' }}">{{ line.price|price }}</div>
<div class="price percent">{{ hasDiscount ? line.percent|percent : '' }}</div>
{% endif %}
</div>
{% endfor %}
</div>
<div class="hidden discount-soleil-{{ product.id }}">
{% if product.hasSoleil() %}
<p class="price-soleil-notice">{% trans %}-25% de remise sur les produits <span class="picto soleil"></span> <br>dès 100€ HT de commande de produits <span class="picto soleil"></span>{% endtrans %}</p>
{% endif %}
{% if product.hasNonSoleil() %}
<p class="price-soleil-notice">{% trans %}-10% de remise sur les produits <span class="picto non-soleil"></span> <br>dès 100€ HT de commande de produits <span class="picto non-soleil"></span>{% endtrans %}</p>
{% endif %}
{# <p class="price-soleil-notice"><span class="picto {{ product.isSoleil() ? '' : 'non-' }}soleil"></span>Remise appliquée sur le prix initial</p>#}
</div>
{% endif %}