templates/front/notre-boutique.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% block body %}
  3.     <!--=====================================
  4.                   BANNER PART START
  5.       =======================================-->
  6.     <section class="inner-section single-banner" style="background: url(images/single-banner.jpg) no-repeat center;">
  7.         <div class="container">
  8.             <ol class="breadcrumb">
  9.                 <li class="breadcrumb-item"><a href="{{ path('app_accueil') }}">Accueil</a></li>
  10.                 {% if type=='categorie' %}
  11.                     <li class="breadcrumb-item active" aria-current="page">Catégorie</li>
  12.                     <li class="breadcrumb-item active" aria-current="page">{{ categorie }}</li>
  13.                 {% else %}
  14.                     <li class="breadcrumb-item active" aria-current="page">Nos produits</li>
  15.                 {% endif %}
  16.             </ol>
  17.         </div>
  18.     </section>
  19.     <!--=====================================
  20.                 BANNER PART END
  21.     =======================================-->
  22.     <!--=====================================
  23.                  SHOP PART START
  24.      =======================================-->
  25.     <section class="inner-section shop-part">
  26.         <div class="container">
  27.             <div class="row">
  28.                 <div class="col-lg-12">
  29.                     <div class="top-filter">
  30.                         <div class="filter-show">
  31.                             <label class="filter-label">Voir :</label>
  32.                             <select class="form-select filter-select">
  33.                                 <option value="1">12</option>
  34.                                 <option value="2">24</option>
  35.                                 <option value="3">36</option>
  36.                             </select>
  37.                         </div>
  38.                         {# <div class="filter-short">
  39.                             <label class="filter-label">Short by :</label>
  40.                             <select class="form-select filter-select">
  41.                                 <option selected>default</option>
  42.                                 <option value="3">trending</option>
  43.                                 <option value="1">featured</option>
  44.                                 <option value="2">recommend</option>
  45.                             </select>
  46.                         </div>
  47.                        <div class="filter-action">
  48.                             <a href="shop-3column.html" title="Three Column"><i class="fas fa-th"></i></a>
  49.                             <a href="shop-2column.html" title="Two Column"><i class="fas fa-th-large"></i></a>
  50.                             <a href="shop-1column.html" title="One Column"><i class="fas fa-th-list"></i></a>
  51.                         </div> #}
  52.                     </div>
  53.                 </div>
  54.             </div>
  55.             <div class="row row-cols-2 row-cols-md-3 row-cols-lg-3 row-cols-xl-5">
  56.                 {% for produit in produits %}
  57.                     <div class="col">
  58.                         {% include 'front/partials/_item.html.twig' %}
  59.                     </div>
  60.                 {% endfor %}
  61.             </div>
  62.             <div class="row">
  63.                 <div class="col-lg-12">
  64.                     <div class="bottom-paginate">
  65.                        
  66.                         <p class="page-info">
  67.                             {% set subtotal = produits.currentPageNumber * 15 %}
  68.                             Affichage de
  69.                             {% if subtotal <  produits.getTotalItemCount %}
  70.                                 {{ produits.currentPageNumber * 15 }}
  71.                                 {% else %}
  72.                                     {{ produits.getTotalItemCount }}
  73.                             {% endif %}
  74.                             –
  75.                             {{ produits.getTotalItemCount }} produits</p>
  76.                         <ul class="pagination">
  77.                             {# <li class="page-item"> #}
  78.                             {# <a class="page-link" href="#"> #}
  79.                             {# <i class="fas fa-long-arrow-alt-left"></i> #}
  80.                             {# </a> #}
  81.                             {# </li> #}
  82.                             {# <li class="page-item"><a class="page-link active" href="#">1</a></li>
  83.                             <li class="page-item"><a class="page-link" href="#">2</a></li>
  84.                             <li class="page-item"><a class="page-link" href="#">3</a></li>
  85.                             <li class="page-item">...</li>
  86.                             <li class="page-item"><a class="page-link" href="#">60</a></li> #}
  87.                             <ul class="pagination">
  88.                                 {{ knp_pagination_render(produits) }}
  89.                             </ul>
  90.                             {# <li class="page-item"> #}
  91.                             {# <a class="page-link" href="#"> #}
  92.                             {# <i class="fas fa-long-arrow-alt-right"></i> #}
  93.                             {# </a> #}
  94.                             {# </li> #}
  95.                         </ul>
  96.                     </div>
  97.                 </div>
  98.             </div>
  99.         </div>
  100.     </section>
  101.     <!--=====================================
  102.                 SHOP PART END
  103.     =======================================-->
  104. {% endblock %}