templates/front/partials/_item.html.twig line 1

Open in your IDE?
  1. <div class="product-card">
  2.     <div class="product-media">
  3.         <a class="product-image" href="{{ path('app_fiche_produit',{'slug':produit.slug}) }}">
  4.             <img src="{{ produit.imagesProduits.first}}" alt="{{ produit.libelle }}">
  5.         </a>
  6.         <div class="product-widget">
  7.             {#            <a title="Product Compare" href="compare.html" class="fas fa-random"></a>#}
  8.             {#            <a title="Product Video" href="https://youtu.be/9xzcVxSBbG8" class="venobox fas fa-play" data-autoplay="true" data-vbtype="video"></a>#}
  9.             <a title="Product View" href="#" class="fas fa-eye" data-bs-toggle="modal" data-bs-target="#product-view"></a>
  10.         </div>
  11.     </div>
  12.     <div class="product-content">
  13.                 <div class="product-rating">
  14.                    <small> Disponibilite: {{ produit.disponibilite ? produit.disponibilite|date('Y-m-d') : '' }}</small>
  15.                 </div>
  16.         <h6 class="product-name">
  17.             <a href="{{ path('app_fiche_produit',{'slug':produit.slug}) }}">{{ produit.libelle }}</a>
  18.         </h6>
  19.         <h6 class="product-price">
  20.             {#            <del>$34</del>#}
  21.             <span>{{ produit.prix }} FCFA <small>/{{ produit.uniteMesure }}</small></span>
  22.         </h6>
  23.         <a class="btn product-add" title="Ajouter au panier" href="{{ path('app_fiche_produit',{'slug':produit.slug}) }}">
  24.             <i class="fas fa-ey"></i>
  25.             <span>Plus de détails</span>
  26.         </a>
  27.         {#        <div class="product-action">#}
  28.         {#            <button class="action-minus" title="Quantity Minus"><i class="icofont-minus"></i></button>#}
  29.         {#            <input class="action-input" title="Quantity Number" type="text" name="quantity" value="1">#}
  30.         {#            <button class="action-plus" title="Quantity Plus"><i class="icofont-plus"></i></button>#}
  31.         {#        </div>#}
  32.     </div>
  33. </div>