{% if isProduct == 1 %}
{% if nbrProduct is defined and nbrProduct == 1 %}
{% if object.textHoverProduct1 is defined and object.textHoverProduct1|length > 0 %}
<div class="middleBesoinProduct">
<div class="textHoverBesoinProduct">
{% for item in object.textHoverProduct1 %}
<p>{{ item.name | trans({}, "productTranslate") }}</p>
{% endfor %}
</div>
</div>
{% endif %}
{% elseif nbrProduct is defined and nbrProduct == 2 %}
{% if object.textHoverProduct2 is defined and object.textHoverProduct2|length > 0 %}
<div class="middleBesoinProduct">
<div class="textHoverBesoinProduct">
{% for item in object.textHoverProduct2 %}
<p>{{ item.name | trans({}, "productTranslate") }}</p>
{% endfor %}
</div>
</div>
{% endif %}
{% elseif nbrProduct is defined and nbrProduct == 3 %}
{% if object.textHoverProduct3 is defined and object.textHoverProduct3|length > 0 %}
<div class="middleBesoinProduct">
<div class="textHoverBesoinProduct">
{% for item in object.textHoverProduct3 %}
<p>{{ item.name | trans({}, "productTranslate") }}</p>
{% endfor %}
</div>
</div>
{% endif %}
{% elseif nbrProduct is defined and nbrProduct == 4 %}
{% if object.textHoverProduct4 is defined and object.textHoverProduct4|length > 0 %}
<div class="middleBesoinProduct">
<div class="textHoverBesoinProduct">
{% for item in object.textHoverProduct4 %}
<p>{{ item.name | trans({}, "productTranslate") }}</p>
{% endfor %}
</div>
</div>
{% endif %}
{% elseif nbrProduct is defined and nbrProduct == 5 %}
{% if object.textHoverProduct5 is defined and object.textHoverProduct5|length > 0 %}
<div class="middleBesoinProduct">
<div class="textHoverBesoinProduct">
{% for item in object.textHoverProduct5 %}
<p>{{ item.name | trans({}, "productTranslate") }}</p>
{% endfor %}
</div>
</div>
{% endif %}
{% elseif nbrProduct is defined and nbrProduct == 6 %}
{% if object.textHoverProduct6 is defined and object.textHoverProduct6|length > 0 %}
<div class="middleBesoinProduct">
<div class="textHoverBesoinProduct">
{% for item in object.textHoverProduct6 %}
<p>{{ item.name | trans({}, "productTranslate") }}</p>
{% endfor %}
</div>
</div>
{% endif %}
{% elseif nbrProduct is defined and nbrProduct == 7 %}
{% if object.textHoverProduct7 is defined and object.textHoverProduct7|length > 0 %}
<div class="middleBesoinProduct">
<div class="textHoverBesoinProduct">
{% for item in object.textHoverProduct7 %}
<p>{{ item.name | trans({}, "productTranslate") }}</p>
{% endfor %}
</div>
</div>
{% endif %}
{% else %}
{% if object.textHoverProduct is defined and object.textHoverProduct|length > 0 %}
<div class="middleBesoinProduct">
<div class="textHoverBesoinProduct">
{% for item in object.textHoverProduct %}
<p>{{ item.name | trans({}, "productTranslate") }}</p>
{% endfor %}
</div>
</div>
{% endif %}
{% endif %}
{% else %}
{% if object.textHoverAttribut is defined and object.textHoverAttribut|length > 0 %}
<div class="middleBesoinProduct">
<div class="textHoverBesoinProduct">
{% for item in object.textHoverAttribut %}
<p>{{ item.name | trans({}, "productTranslate") }}</p>
{% endfor %}
</div>
</div>
{% endif %}
{% endif %}