<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
use Twig\TemplateWrapper;
/* front/dec/listProductDec.html.twig */
class __TwigTemplate_dce492b111a829d4008b1c4348dd61c6 extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'meta' => [$this, 'block_meta'],
'stylesheets' => [$this, 'block_stylesheets'],
'body' => [$this, 'block_body'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 1
return "front/base.html.twig";
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "front/dec/listProductDec.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "front/dec/listProductDec.html.twig"));
$this->parent = $this->loadTemplate("front/base.html.twig", "front/dec/listProductDec.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 2
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_title(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
yield "Sunshine Elegance | ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["categorie"]) || array_key_exists("categorie", $context) ? $context["categorie"] : (function () { throw new RuntimeError('Variable "categorie" does not exist.', 2, $this->source); })()), "getName", [], "method", false, false, false, 2), "html", null, true);
yield " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 3
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_meta(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta"));
// line 4
yield " <meta name=\"keywords\" content=\"Chaussures,Chaussures Femme,Jebba,Robe,Bottine\">
<meta name=\"description\" content=\"Marque tunisienne spécialisée dans la vente de vêtements et chaussures en ligne\">
<meta name=\"author\" content=\"Sunshine-Elegance\">
<!-- Facebook OG -->
<meta property=\"og:image\" content=\"";
// line 8
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("front/assets/imgs/theme/logo3.png"), "html", null, true);
yield "\">
<meta property=\"og:url\" content=\"https://www.sunshineelegance.tn/\">
<meta property=\"og:type\" content=\"article\">
<meta property=\"og:title\" content=\"Sunshine Elegance | Marque tunisienne spécialisée dans la vente de vêtements et chaussures en ligne\">
<meta property=\"og:description\" content=\"Marque tunisienne spécialisée dans la vente de vêtements et chaussures en ligne\">
<!-- Twitter OG -->
<meta name=\"twitter:title\" content=\"Sunshine Elegance | Marque tunisienne spécialisée dans la vente de vêtements et chaussures en ligne\">
<meta name=\"twitter:description\" content=\"Marque tunisienne spécialisée dans la vente de vêtements et chaussures en ligne\">
<meta name=\"twitter:image\" content=\"";
// line 16
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("front/assets/imgs/theme/logo3.png"), "html", null, true);
yield "\">
<meta name=\"twitter:card\" content=\"summary_large_image\">
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 19
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_stylesheets(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
// line 20
yield " ";
yield from $this->yieldParentBlock("stylesheets", $context, $blocks);
yield "
<style>
.product-cart-wrap .product-img-action-wrap {
max-height: none;
width: 100%;
position: relative;
overflow: hidden;
}
.product-img-action-wrap .product-img {
width: 100%;
height: auto;
object-fit: cover;
display: block;
}
.product-badges span {
font-size: 0.75rem;
padding: 4px 8px;
border-radius: 4px;
font-weight: 500;
}
@media (max-width: 768px) {
.order-mobile-first {
order: -1 !important;
}
}
/*rendre la barre de filtres plus compacte sur mobile*/
@media (max-width: 768px) {
.shop-product-fillter {
flex-direction: column;
align-items: flex-start;
gap: 12px;
}
.sort-by-product-area {
flex-direction: column;
width: 100%;
gap: 10px;
}
.sort-by-cover {
width: 100%;
}
.sort-by-product-wrap {
display: flex;
justify-content: space-between;
align-items: center;
padding: 6px 12px;
background-color: #f7f8f9;
border: 1px solid #cce7d0;
border-radius: 20px;
}
.sort-by-dropdown-wrap {
flex-grow: 1;
text-align: right;
}
.sort-by-dropdown {
position: absolute;
left: 0;
top: 100%;
z-index: 10;
}
}
/*amélioration affichage des cartes produit*/
@media (max-width: 768px) {
.row-product {
width: 50% !important;
}
}
@media (max-width: 480px) {
.row-product {
width: 100% !important;
}
}
</style>
<script>
var category_id = JSON.parse(\"";
// line 114
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["category_id"]) || array_key_exists("category_id", $context) ? $context["category_id"] : (function () { throw new RuntimeError('Variable "category_id" does not exist.', 114, $this->source); })()), "js"), "html", null, true);
yield "\")
// Filtres des tailles et couleurs
var taillesFilter = ";
// line 116
yield json_encode(CoreExtension::getAttribute($this->env, $this->source, (isset($context["Globals"]) || array_key_exists("Globals", $context) ? $context["Globals"] : (function () { throw new RuntimeError('Variable "Globals" does not exist.', 116, $this->source); })()), "getTailles", [(isset($context["categories"]) || array_key_exists("categories", $context) ? $context["categories"] : (function () { throw new RuntimeError('Variable "categories" does not exist.', 116, $this->source); })())], "method", false, false, false, 116));
yield ";
var couleursFilter = ";
// line 117
yield json_encode(CoreExtension::getAttribute($this->env, $this->source, (isset($context["Globals"]) || array_key_exists("Globals", $context) ? $context["Globals"] : (function () { throw new RuntimeError('Variable "Globals" does not exist.', 117, $this->source); })()), "getCouleurs", [(isset($context["categories"]) || array_key_exists("categories", $context) ? $context["categories"] : (function () { throw new RuntimeError('Variable "categories" does not exist.', 117, $this->source); })())], "method", false, false, false, 117));
yield ";
</script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 124
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_body(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 125
yield " ";
// line 126
yield " <main class=\"main\" id=\"app\" v-cloak>
<div class=\"page-header breadcrumb-wrap\">
<div class=\"container\">
<div class=\"breadcrumb\">
<a href=\"";
// line 130
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("home");
yield "\" rel=\"nofollow\">Acceuil</a>
";
// line 131
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["categorie"] ?? null), "parent", [], "any", false, true, false, 131), "parent", [], "any", true, true, false, 131) && !(null === CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["categorie"]) || array_key_exists("categorie", $context) ? $context["categorie"] : (function () { throw new RuntimeError('Variable "categorie" does not exist.', 131, $this->source); })()), "parent", [], "any", false, false, false, 131), "parent", [], "any", false, false, false, 131)))) {
// line 132
yield " <span></span>
<a href=\"";
// line 133
yield ((((isset($context["CATEGORY_URL_TYPE"]) || array_key_exists("CATEGORY_URL_TYPE", $context) ? $context["CATEGORY_URL_TYPE"] : (function () { throw new RuntimeError('Variable "CATEGORY_URL_TYPE" does not exist.', 133, $this->source); })()) == 1)) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("category_dec", ["id" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["categorie"]) || array_key_exists("categorie", $context) ? $context["categorie"] : (function () { throw new RuntimeError('Variable "categorie" does not exist.', 133, $this->source); })()), "parent", [], "any", false, false, false, 133), "parent", [], "any", false, false, false, 133), "id", [], "any", false, false, false, 133), "name" => $this->extensions['Twig\Extra\String\StringExtension']->createSlug(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["categorie"]) || array_key_exists("categorie", $context) ? $context["categorie"] : (function () { throw new RuntimeError('Variable "categorie" does not exist.', 133, $this->source); })()), "parent", [], "any", false, false, false, 133), "parent", [], "any", false, false, false, 133), "name", [], "any", false, false, false, 133))]), "html", null, true)) : ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("category_new", ["id" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["categorie"]) || array_key_exists("categorie", $context) ? $context["categorie"] : (function () { throw new RuntimeError('Variable "categorie" does not exist.', 133, $this->source); })()), "parent", [], "any", false, false, false, 133), "parent", [], "any", false, false, false, 133), "id", [], "any", false, false, false, 133), "name" => $this->extensions['Twig\Extra\String\StringExtension']->createSlug(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["categorie"]) || array_key_exists("categorie", $context) ? $context["categorie"] : (function () { throw new RuntimeError('Variable "categorie" does not exist.', 133, $this->source); })()), "parent", [], "any", false, false, false, 133), "parent", [], "any", false, false, false, 133), "name", [], "any", false, false, false, 133))]), "html", null, true)));
yield "\"rel=\"nofollow\">
";
// line 134
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["categorie"]) || array_key_exists("categorie", $context) ? $context["categorie"] : (function () { throw new RuntimeError('Variable "categorie" does not exist.', 134, $this->source); })()), "parent", [], "any", false, false, false, 134), "parent", [], "any", false, false, false, 134), "name", [], "any", false, false, false, 134), "html", null, true);
yield "</a>
";
}
// line 136
yield " ";
if (( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["categorie"]) || array_key_exists("categorie", $context) ? $context["categorie"] : (function () { throw new RuntimeError('Variable "categorie" does not exist.', 136, $this->source); })()), "parent", [], "any", false, false, false, 136)) && !(null === CoreExtension::getAttribute($this->env, $this->source, (isset($context["categorie"]) || array_key_exists("categorie", $context) ? $context["categorie"] : (function () { throw new RuntimeError('Variable "categorie" does not exist.', 136, $this->source); })()), "parent", [], "any", false, false, false, 136)))) {
// line 137
yield " <span></span>
<a href=\"";
// line 138
yield ((((isset($context["CATEGORY_URL_TYPE"]) || array_key_exists("CATEGORY_URL_TYPE", $context) ? $context["CATEGORY_URL_TYPE"] : (function () { throw new RuntimeError('Variable "CATEGORY_URL_TYPE" does not exist.', 138, $this->source); })()) == 1)) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("category_dec", ["id" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["categorie"]) || array_key_exists("categorie", $context) ? $context["categorie"] : (function () { throw new RuntimeError('Variable "categorie" does not exist.', 138, $this->source); })()), "parent", [], "any", false, false, false, 138), "id", [], "any", false, false, false, 138), "name" => $this->extensions['Twig\Extra\String\StringExtension']->createSlug(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["categorie"]) || array_key_exists("categorie", $context) ? $context["categorie"] : (function () { throw new RuntimeError('Variable "categorie" does not exist.', 138, $this->source); })()), "parent", [], "any", false, false, false, 138), "name", [], "any", false, false, false, 138))]), "html", null, true)) : ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("category_new", ["id" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["categorie"]) || array_key_exists("categorie", $context) ? $context["categorie"] : (function () { throw new RuntimeError('Variable "categorie" does not exist.', 138, $this->source); })()), "parent", [], "any", false, false, false, 138), "id", [], "any", false, false, false, 138), "name" => $this->extensions['Twig\Extra\String\StringExtension']->createSlug(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["categorie"]) || array_key_exists("categorie", $context) ? $context["categorie"] : (function () { throw new RuntimeError('Variable "categorie" does not exist.', 138, $this->source); })()), "parent", [], "any", false, false, false, 138), "name", [], "any", false, false, false, 138))]), "html", null, true)));
yield "\"rel=\"nofollow\">
";
// line 139
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["categorie"]) || array_key_exists("categorie", $context) ? $context["categorie"] : (function () { throw new RuntimeError('Variable "categorie" does not exist.', 139, $this->source); })()), "parent", [], "any", false, false, false, 139), "name", [], "any", false, false, false, 139), "html", null, true);
yield "</a>
";
}
// line 141
yield " <span></span> ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["categorie"]) || array_key_exists("categorie", $context) ? $context["categorie"] : (function () { throw new RuntimeError('Variable "categorie" does not exist.', 141, $this->source); })()), "getName", [], "method", false, false, false, 141), "html", null, true);
yield "
</div>
</div>
</div>
";
// line 147
yield "<section class=\"mt-50 mb-50\">
<div class=\"container\">
<div class=\"row flex-row-reverse\">
";
// line 151
yield " <div class=\"col-lg-9\">
";
// line 154
yield " <div class=\"shop-product-fillter\">
";
// line 156
yield " <div class=\"totall-product\">
<p>Nous avons trouvé <strong class=\"text-brand\">\${ totalItems }</strong> article<span v-if=\"totalItems>1\">s</span> !</p>
</div>
";
// line 161
yield " <div class=\"sort-by-product-area\">
";
// line 164
yield " <div class=\"sort-by-cover mr-10\">
<div class=\"sort-by-product-wrap\">
<div class=\"sort-by\">
<span><i class=\"fi-rs-apps\"></i>Montrer:</span>
</div>
<div class=\"sort-by-dropdown-wrap\">
<span v-show=\"pageSize!=9999\"> \${ pageSize } <i class=\"fi-rs-angle-small-down\"></i></span>
<span v-show=\"pageSize==9999\"> Tous <i class=\"fi-rs-angle-small-down\"></i></span>
</div>
</div>
";
// line 175
yield " <div class=\"sort-by-dropdown\">
<ul>
<li class=\"activeFilter\"><a :class=\"{ active: pageSize==10 }\" href=\"#&\" @click=\"pageSize=10;getData(page,true)\">10</a></li>
<li class=\"activeFilter\"><a :class=\"{ active: pageSize==20 }\" href=\"#&\" @click=\"pageSize=20;getData(page,true)\">20</a></li>
<li class=\"activeFilter\"><a :class=\"{ active: pageSize==40 }\" href=\"#&\" @click=\"pageSize=40;getData(page,true)\">40</a></li>
<li class=\"activeFilter\"><a :class=\"{ active: pageSize==9999 }\" href=\"#&\" @click=\"pageSize=9999;getData(page,true)\">Tous</a></li>
</ul>
</div>
</div>
";
// line 186
yield " <div class=\"sort-by-cover\">
<div class=\"sort-by-product-wrap\">
<div class=\"sort-by\">
<span><i class=\"fi-rs-apps-sort\"></i>Trier par:</span>
</div>
<div class=\"sort-by-dropdown-wrap\">
<span v-show=\"orderBy==1\"> Nom: A à Z <i class=\"fi-rs-angle-small-down\"></i></span>
<span v-show=\"orderBy==2\"> Nom: Z à A <i class=\"fi-rs-angle-small-down\"></i></span>
<span v-show=\"orderBy==3\"> Prix: croissant <i class=\"fi-rs-angle-small-down\"></i></span>
<span v-show=\"orderBy==4\"> Prix: décroissant <i class=\"fi-rs-angle-small-down\"></i></span>
<span v-show=\"orderBy==5\"> Date ajout: croissant<i class=\"fi-rs-angle-small-down\"></i></span>
<span v-show=\"orderBy==6\"> Date ajout: décroissant<i class=\"fi-rs-angle-small-down\"></i></span>
</div>
</div>
";
// line 201
yield " <div class=\"sort-by-dropdown\">
<ul>
<li class=\"activeFilter\"><a :class=\"{ active: orderBy==1 }\" href=\"#&\" @click=\"orderBy=1;getData(page,true)\">Nom: A à Z</a></li>
<li class=\"activeFilter\"><a :class=\"{ active: orderBy==2 }\" href=\"#&\" @click=\"orderBy=2;getData(page,true)\">Nom: Z à A</a></li>
<li class=\"activeFilter\"><a :class=\"{ active: orderBy==3 }\" href=\"#&\" @click=\"orderBy=3;getData(page,true)\">Prix: croissant</a></li>
<li class=\"activeFilter\"><a :class=\"{ active: orderBy==4 }\" href=\"#&\" @click=\"orderBy=4;getData(page,true)\">Prix: décroissant</a></li>
<li class=\"activeFilter\"><a :class=\"{ active: orderBy==5 }\" href=\"#&\" @click=\"orderBy=5;getData(page,true)\">Date ajout: croissant</a></li>
<li class=\"activeFilter\"><a :class=\"{ active: orderBy==6 }\" href=\"#&\" @click=\"orderBy=6;getData(page,true)\">Date ajout: décroissant</a></li>
</ul>
</div>
</div>
</div>
</div>
";
// line 216
yield " <div class=\"row product-grid-3\">
";
// line 218
yield " <div class=\"col-lg-6 col-md-6 col-12 col-sm-6 row-product\" v-for=\"entry in products\">
<div class=\"product-cart-wrap mb-30 col-product\">
";
// line 221
yield " <div class=\"product-img-action-wrap\" @click=\"openProduct(entry.idProduit,entry.name,entry.id)\">
<div class=\"product-img product-img-zoom\">
<a href=\"#&\">
<img class=\"default-img product-img\" :src=\"'";
// line 224
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["APP_URL"]) || array_key_exists("APP_URL", $context) ? $context["APP_URL"] : (function () { throw new RuntimeError('Variable "APP_URL" does not exist.', 224, $this->source); })()), "html", null, true);
yield "/images/300-400/'+entry.image\" :alt=\"entry.name\">
</a>
</div>
";
// line 229
yield " <div class=\"product-badges product-badges-position product-badges-mrg\" v-if=\"(entry.promo && entry.promo.isValid) || !entry.stock || entry.isNew\">
<span v-if=\"!entry.stock\" class=\"hot mr-1\">Rupture de stock</span>
<span v-if=\"entry.isNew\" class=\"new mr-1\">Nouveau</span>
<span class=\"best\" v-if=\"entry.promo && entry.promo.isValid && entry.promo.discountType=='amount'\">-\${ entry.promo.discountValue.toFixed(3) } <sup class=\"currency-style\">TND</sup></span>
<span class=\"best\" v-if=\"entry.promo && entry.promo.isValid && entry.promo.discountType=='percent'\">-\${ entry.promo.discountValue } %</span>
</div>
</div>
";
// line 237
yield " <div class=\"product-content-wrap\">
<h2 @click=\"openProduct(entry.idProduit,entry.name,entry.id)\">
<div class=\"menu-item card-title\">\${ entry.name }</div>
</h2>
<div class=\"product-price\">
<span v-if=\"entry.promo && entry.promo.isValid && entry.promo.discountType=='percent'\">\${ (entry.priceTTC-(entry.priceTTC*entry.promo.discountValue/100)).toFixed(3) } <sup class=\"currency-style\">TND</sup></span>
<span class=\"old-price\" v-if=\"entry.promo && entry.promo.isValid\">\${ entry.priceTTC.toFixed(3) } <sup class=\"currency-style\">TND</sup></span>
</div>
<div class=\"product-action-1 show\" @click=\"getProduit(entry.idProduit,entry.id)\">
<button aria-label=\"Acheter maintenant\" class=\"action-btn hover-up\"><i class=\"fi-rs-shopping-bag-add\"></i></button>
</div>
</div>
</div>
</div>
</div>
";
// line 254
yield " <div class=\"pagination-area mt-15 mb-sm-5 mb-lg-0\" v-show=\"pages.length>1\">
<nav aria-label=\"Page navigation example\">
<ul class=\"pagination justify-content-start\">
<li class=\"page-item\" v-show=\"page>1\" @click=\"getData(page-1)\"><a class=\"page-link\" href=\"#&\"><i class=\"fi-rs-angle-double-small-left\"></i></a></li>
<li v-for=\"entry in pages\" class=\"page-item\" @click=\"getData(entry)\" :class=\"{ active: entry==page }\"><a class=\"page-link\" href=\"#&\">\${ entry }</a></li>
<li class=\"page-item\" v-show=\"page<pages[pages.length-1]\" @click=\"getData(page+1)\"><a class=\"page-link\" href=\"#&\"><i class=\"fi-rs-angle-double-small-right\"></i></a></li>
</ul>
</nav>
</div>
</div>
";
// line 266
yield " <div class=\"col-lg-3 order-mobile-first primary-sidebar sticky-sidebar\">
";
// line 268
yield " <button class=\"btn btn-outline-primary w-100 d-md-none mb-3\" type=\"button\" data-bs-toggle=\"collapse\" data-bs-target=\"#mobileFilters\" aria-expanded=\"false\" aria-controls=\"mobileFilters\">
<i class=\"fi-rs-filter me-2\"></i> Affiner la recherche
</button>
<div class=\"collapse d-md-block\" id=\"mobileFilters\">
<div class=\"sidebar-widget price_range range mb-30\">
<div class=\"widget-header position-relative mb-20 pb-10\">
<h5 class=\"widget-title mb-10\">Filter par prix</h5>
<div class=\"bt-1 border-color-1\"></div>
</div>
";
// line 280
yield " <div class=\"price-filter\">
<div class=\"price-filter-inner\">
<div id=\"slider-range\"></div>
<div class=\"price_slider_amount\">
<div class=\"label-input\">
<span>Intervalle:</span><input type=\"text\" id=\"amount\" name=\"price\" placeholder=\"Ajouter le prix\"/>
</div>
</div>
</div>
</div>
<button class=\"btn btn-sm btn-default mt-10\" :disabled=\"disabled\" @click=\"getData(page,true)\">
<i class=\"fi-rs-filter mr-5\"></i> Filtrer
</button>
";
// line 295
yield " <div class=\"list-group\" v-if=\"totalItems\">
<div class=\"list-group-item mb-10 mt-10\">
<label class=\"fw-900\">Tailles</label>
<div class=\"custome-checkbox\">
<div class=\"row\">
<div v-for=\"entry in taillesFilter\" class=\"col-4\" style=\"white-space: nowrap\">
<input class=\"form-check-input\" type=\"checkbox\" name=\"checkbox\" :id=\"'exampleCheckbox'+entry.name\" v-model=\"entry.selected\" @change=\"getData(page,true)\">
<label class=\"form-check-label\" :for=\"'exampleCheckbox'+entry.name\"><span>\${ entry.name }</span></label>
</div>
</div>
</div>
<label class=\"fw-900 mt-15\">Couleurs</label>
<div class=\"attr-detail attr-color mb-15\">
<ul class=\"list-filter color-filter multi\">
<li :class=\"entry.selected ? 'active' : ''\" v-for=\"entry in couleursFilter\" @click=\"entry.selected = !entry.selected; getData(page,true)\">
<a href=\"#\" :title=\"entry.name\">
<span :style=\"{ 'background-color': entry.code ? entry.code :'#fff','border': '1px solid #ddd' }\"></span>
</a>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
";
// line 322
yield " </div>
</div>
</section>
</main>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 329
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_javascripts(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 330
yield " ";
yield from $this->yieldParentBlock("javascripts", $context, $blocks);
yield "
<script>
// Reinialiser les filtres de recherche
window.onbeforeunload = function () {
//unchecked your check box here.
\$(\"input[type='checkbox']\").prop('checked', false);
//app.getData(app.page);
};
</script>
<script src=\"";
// line 339
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("front/assets/scripts/dec/index.js"), "html", null, true);
yield "\"></script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "front/dec/listProductDec.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 575 => 339, 562 => 330, 549 => 329, 533 => 322, 505 => 295, 489 => 280, 476 => 268, 473 => 266, 460 => 254, 442 => 237, 433 => 229, 426 => 224, 421 => 221, 417 => 218, 414 => 216, 398 => 201, 382 => 186, 370 => 175, 358 => 164, 354 => 161, 348 => 156, 345 => 154, 341 => 151, 336 => 147, 327 => 141, 322 => 139, 318 => 138, 315 => 137, 312 => 136, 307 => 134, 303 => 133, 300 => 132, 298 => 131, 294 => 130, 288 => 126, 286 => 125, 273 => 124, 256 => 117, 252 => 116, 247 => 114, 149 => 20, 136 => 19, 122 => 16, 111 => 8, 105 => 4, 92 => 3, 67 => 2, 44 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% extends 'front/base.html.twig' %}
{% block title %}Sunshine Elegance | {{ categorie.getName() }} {% endblock %}
{% block meta %}
<meta name=\"keywords\" content=\"Chaussures,Chaussures Femme,Jebba,Robe,Bottine\">
<meta name=\"description\" content=\"Marque tunisienne spécialisée dans la vente de vêtements et chaussures en ligne\">
<meta name=\"author\" content=\"Sunshine-Elegance\">
<!-- Facebook OG -->
<meta property=\"og:image\" content=\"{{ asset('front/assets/imgs/theme/logo3.png') }}\">
<meta property=\"og:url\" content=\"https://www.sunshineelegance.tn/\">
<meta property=\"og:type\" content=\"article\">
<meta property=\"og:title\" content=\"Sunshine Elegance | Marque tunisienne spécialisée dans la vente de vêtements et chaussures en ligne\">
<meta property=\"og:description\" content=\"Marque tunisienne spécialisée dans la vente de vêtements et chaussures en ligne\">
<!-- Twitter OG -->
<meta name=\"twitter:title\" content=\"Sunshine Elegance | Marque tunisienne spécialisée dans la vente de vêtements et chaussures en ligne\">
<meta name=\"twitter:description\" content=\"Marque tunisienne spécialisée dans la vente de vêtements et chaussures en ligne\">
<meta name=\"twitter:image\" content=\"{{ asset('front/assets/imgs/theme/logo3.png') }}\">
<meta name=\"twitter:card\" content=\"summary_large_image\">
{% endblock %}
{% block stylesheets %}
{{ parent() }}
<style>
.product-cart-wrap .product-img-action-wrap {
max-height: none;
width: 100%;
position: relative;
overflow: hidden;
}
.product-img-action-wrap .product-img {
width: 100%;
height: auto;
object-fit: cover;
display: block;
}
.product-badges span {
font-size: 0.75rem;
padding: 4px 8px;
border-radius: 4px;
font-weight: 500;
}
@media (max-width: 768px) {
.order-mobile-first {
order: -1 !important;
}
}
/*rendre la barre de filtres plus compacte sur mobile*/
@media (max-width: 768px) {
.shop-product-fillter {
flex-direction: column;
align-items: flex-start;
gap: 12px;
}
.sort-by-product-area {
flex-direction: column;
width: 100%;
gap: 10px;
}
.sort-by-cover {
width: 100%;
}
.sort-by-product-wrap {
display: flex;
justify-content: space-between;
align-items: center;
padding: 6px 12px;
background-color: #f7f8f9;
border: 1px solid #cce7d0;
border-radius: 20px;
}
.sort-by-dropdown-wrap {
flex-grow: 1;
text-align: right;
}
.sort-by-dropdown {
position: absolute;
left: 0;
top: 100%;
z-index: 10;
}
}
/*amélioration affichage des cartes produit*/
@media (max-width: 768px) {
.row-product {
width: 50% !important;
}
}
@media (max-width: 480px) {
.row-product {
width: 100% !important;
}
}
</style>
<script>
var category_id = JSON.parse(\"{{ category_id|e('js') }}\")
// Filtres des tailles et couleurs
var taillesFilter = {{ Globals.getTailles(categories)|json_encode|raw }};
var couleursFilter = {{ Globals.getCouleurs(categories)|json_encode|raw }};
</script>
{% endblock %}
{% block body %}
{# {% verbatim %} #}
<main class=\"main\" id=\"app\" v-cloak>
<div class=\"page-header breadcrumb-wrap\">
<div class=\"container\">
<div class=\"breadcrumb\">
<a href=\"{{ path('home') }}\" rel=\"nofollow\">Acceuil</a>
{% if categorie.parent.parent is defined and categorie.parent.parent is not null %}
<span></span>
<a href=\"{{ CATEGORY_URL_TYPE == 1 ? path('category_dec', {id: categorie.parent.parent.id , name :categorie.parent.parent.name|slug }) : path('category_new', {id: categorie.parent.parent.id , name :categorie.parent.parent.name|slug }) }}\"rel=\"nofollow\">
{{ categorie.parent.parent.name }}</a>
{% endif %}
{% if categorie.parent is not empty and categorie.parent is not null %}
<span></span>
<a href=\"{{ CATEGORY_URL_TYPE == 1 ? path('category_dec', {id: categorie.parent.id , name :categorie.parent.name|slug }) : path('category_new', {id: categorie.parent.id , name :categorie.parent.name|slug }) }}\"rel=\"nofollow\">
{{ categorie.parent.name }}</a>
{% endif %}
<span></span> {{ categorie.getName() }}
</div>
</div>
</div>
{# ===== SECTION PRINCIPALE DE LISTE DE PRODUITS ===== #}
<section class=\"mt-50 mb-50\">
<div class=\"container\">
<div class=\"row flex-row-reverse\">
{# ===== COLONNE PRINCIPALE (LISTE DES PRODUITS) ===== #}
<div class=\"col-lg-9\">
{# ===== BARRE DE FILTRAGE (nombre de produits, affichage et tri) ===== #}
<div class=\"shop-product-fillter\">
{# Affichage du nombre total d'articles trouvés #}
<div class=\"totall-product\">
<p>Nous avons trouvé <strong class=\"text-brand\">\${ totalItems }</strong> article<span v-if=\"totalItems>1\">s</span> !</p>
</div>
{# Zone de tri et d'affichage par nombre #}
<div class=\"sort-by-product-area\">
{# Choix du nombre de produits à afficher par page #}
<div class=\"sort-by-cover mr-10\">
<div class=\"sort-by-product-wrap\">
<div class=\"sort-by\">
<span><i class=\"fi-rs-apps\"></i>Montrer:</span>
</div>
<div class=\"sort-by-dropdown-wrap\">
<span v-show=\"pageSize!=9999\"> \${ pageSize } <i class=\"fi-rs-angle-small-down\"></i></span>
<span v-show=\"pageSize==9999\"> Tous <i class=\"fi-rs-angle-small-down\"></i></span>
</div>
</div>
{# Dropdown pour choisir pageSize #}
<div class=\"sort-by-dropdown\">
<ul>
<li class=\"activeFilter\"><a :class=\"{ active: pageSize==10 }\" href=\"#&\" @click=\"pageSize=10;getData(page,true)\">10</a></li>
<li class=\"activeFilter\"><a :class=\"{ active: pageSize==20 }\" href=\"#&\" @click=\"pageSize=20;getData(page,true)\">20</a></li>
<li class=\"activeFilter\"><a :class=\"{ active: pageSize==40 }\" href=\"#&\" @click=\"pageSize=40;getData(page,true)\">40</a></li>
<li class=\"activeFilter\"><a :class=\"{ active: pageSize==9999 }\" href=\"#&\" @click=\"pageSize=9999;getData(page,true)\">Tous</a></li>
</ul>
</div>
</div>
{# Choix du tri (ordre alphabétique, prix, date) #}
<div class=\"sort-by-cover\">
<div class=\"sort-by-product-wrap\">
<div class=\"sort-by\">
<span><i class=\"fi-rs-apps-sort\"></i>Trier par:</span>
</div>
<div class=\"sort-by-dropdown-wrap\">
<span v-show=\"orderBy==1\"> Nom: A à Z <i class=\"fi-rs-angle-small-down\"></i></span>
<span v-show=\"orderBy==2\"> Nom: Z à A <i class=\"fi-rs-angle-small-down\"></i></span>
<span v-show=\"orderBy==3\"> Prix: croissant <i class=\"fi-rs-angle-small-down\"></i></span>
<span v-show=\"orderBy==4\"> Prix: décroissant <i class=\"fi-rs-angle-small-down\"></i></span>
<span v-show=\"orderBy==5\"> Date ajout: croissant<i class=\"fi-rs-angle-small-down\"></i></span>
<span v-show=\"orderBy==6\"> Date ajout: décroissant<i class=\"fi-rs-angle-small-down\"></i></span>
</div>
</div>
{# Dropdown pour le tri #}
<div class=\"sort-by-dropdown\">
<ul>
<li class=\"activeFilter\"><a :class=\"{ active: orderBy==1 }\" href=\"#&\" @click=\"orderBy=1;getData(page,true)\">Nom: A à Z</a></li>
<li class=\"activeFilter\"><a :class=\"{ active: orderBy==2 }\" href=\"#&\" @click=\"orderBy=2;getData(page,true)\">Nom: Z à A</a></li>
<li class=\"activeFilter\"><a :class=\"{ active: orderBy==3 }\" href=\"#&\" @click=\"orderBy=3;getData(page,true)\">Prix: croissant</a></li>
<li class=\"activeFilter\"><a :class=\"{ active: orderBy==4 }\" href=\"#&\" @click=\"orderBy=4;getData(page,true)\">Prix: décroissant</a></li>
<li class=\"activeFilter\"><a :class=\"{ active: orderBy==5 }\" href=\"#&\" @click=\"orderBy=5;getData(page,true)\">Date ajout: croissant</a></li>
<li class=\"activeFilter\"><a :class=\"{ active: orderBy==6 }\" href=\"#&\" @click=\"orderBy=6;getData(page,true)\">Date ajout: décroissant</a></li>
</ul>
</div>
</div>
</div>
</div>
{# ===== GRILLE DE PRODUITS ===== #}
<div class=\"row product-grid-3\">
{# Boucle sur chaque produit #}
<div class=\"col-lg-6 col-md-6 col-12 col-sm-6 row-product\" v-for=\"entry in products\">
<div class=\"product-cart-wrap mb-30 col-product\">
{# Image + Badges #}
<div class=\"product-img-action-wrap\" @click=\"openProduct(entry.idProduit,entry.name,entry.id)\">
<div class=\"product-img product-img-zoom\">
<a href=\"#&\">
<img class=\"default-img product-img\" :src=\"'{{ APP_URL }}/images/300-400/'+entry.image\" :alt=\"entry.name\">
</a>
</div>
{# Affichage des badges: Rupture, Nouveau, Promo #}
<div class=\"product-badges product-badges-position product-badges-mrg\" v-if=\"(entry.promo && entry.promo.isValid) || !entry.stock || entry.isNew\">
<span v-if=\"!entry.stock\" class=\"hot mr-1\">Rupture de stock</span>
<span v-if=\"entry.isNew\" class=\"new mr-1\">Nouveau</span>
<span class=\"best\" v-if=\"entry.promo && entry.promo.isValid && entry.promo.discountType=='amount'\">-\${ entry.promo.discountValue.toFixed(3) } <sup class=\"currency-style\">TND</sup></span>
<span class=\"best\" v-if=\"entry.promo && entry.promo.isValid && entry.promo.discountType=='percent'\">-\${ entry.promo.discountValue } %</span>
</div>
</div>
{# Titre + prix + bouton panier #}
<div class=\"product-content-wrap\">
<h2 @click=\"openProduct(entry.idProduit,entry.name,entry.id)\">
<div class=\"menu-item card-title\">\${ entry.name }</div>
</h2>
<div class=\"product-price\">
<span v-if=\"entry.promo && entry.promo.isValid && entry.promo.discountType=='percent'\">\${ (entry.priceTTC-(entry.priceTTC*entry.promo.discountValue/100)).toFixed(3) } <sup class=\"currency-style\">TND</sup></span>
<span class=\"old-price\" v-if=\"entry.promo && entry.promo.isValid\">\${ entry.priceTTC.toFixed(3) } <sup class=\"currency-style\">TND</sup></span>
</div>
<div class=\"product-action-1 show\" @click=\"getProduit(entry.idProduit,entry.id)\">
<button aria-label=\"Acheter maintenant\" class=\"action-btn hover-up\"><i class=\"fi-rs-shopping-bag-add\"></i></button>
</div>
</div>
</div>
</div>
</div>
{# ===== PAGINATION ===== #}
<div class=\"pagination-area mt-15 mb-sm-5 mb-lg-0\" v-show=\"pages.length>1\">
<nav aria-label=\"Page navigation example\">
<ul class=\"pagination justify-content-start\">
<li class=\"page-item\" v-show=\"page>1\" @click=\"getData(page-1)\"><a class=\"page-link\" href=\"#&\"><i class=\"fi-rs-angle-double-small-left\"></i></a></li>
<li v-for=\"entry in pages\" class=\"page-item\" @click=\"getData(entry)\" :class=\"{ active: entry==page }\"><a class=\"page-link\" href=\"#&\">\${ entry }</a></li>
<li class=\"page-item\" v-show=\"page<pages[pages.length-1]\" @click=\"getData(page+1)\"><a class=\"page-link\" href=\"#&\"><i class=\"fi-rs-angle-double-small-right\"></i></a></li>
</ul>
</nav>
</div>
</div>
{# ===== BARRE LATÉRALE (FILTRES) ===== #}
<div class=\"col-lg-3 order-mobile-first primary-sidebar sticky-sidebar\">
{# Bouton Filtrer affiché uniquement en mobile #}
<button class=\"btn btn-outline-primary w-100 d-md-none mb-3\" type=\"button\" data-bs-toggle=\"collapse\" data-bs-target=\"#mobileFilters\" aria-expanded=\"false\" aria-controls=\"mobileFilters\">
<i class=\"fi-rs-filter me-2\"></i> Affiner la recherche
</button>
<div class=\"collapse d-md-block\" id=\"mobileFilters\">
<div class=\"sidebar-widget price_range range mb-30\">
<div class=\"widget-header position-relative mb-20 pb-10\">
<h5 class=\"widget-title mb-10\">Filter par prix</h5>
<div class=\"bt-1 border-color-1\"></div>
</div>
{# Range de prix (jQuery UI slider) #}
<div class=\"price-filter\">
<div class=\"price-filter-inner\">
<div id=\"slider-range\"></div>
<div class=\"price_slider_amount\">
<div class=\"label-input\">
<span>Intervalle:</span><input type=\"text\" id=\"amount\" name=\"price\" placeholder=\"Ajouter le prix\"/>
</div>
</div>
</div>
</div>
<button class=\"btn btn-sm btn-default mt-10\" :disabled=\"disabled\" @click=\"getData(page,true)\">
<i class=\"fi-rs-filter mr-5\"></i> Filtrer
</button>
{# Filtres par taille et couleur #}
<div class=\"list-group\" v-if=\"totalItems\">
<div class=\"list-group-item mb-10 mt-10\">
<label class=\"fw-900\">Tailles</label>
<div class=\"custome-checkbox\">
<div class=\"row\">
<div v-for=\"entry in taillesFilter\" class=\"col-4\" style=\"white-space: nowrap\">
<input class=\"form-check-input\" type=\"checkbox\" name=\"checkbox\" :id=\"'exampleCheckbox'+entry.name\" v-model=\"entry.selected\" @change=\"getData(page,true)\">
<label class=\"form-check-label\" :for=\"'exampleCheckbox'+entry.name\"><span>\${ entry.name }</span></label>
</div>
</div>
</div>
<label class=\"fw-900 mt-15\">Couleurs</label>
<div class=\"attr-detail attr-color mb-15\">
<ul class=\"list-filter color-filter multi\">
<li :class=\"entry.selected ? 'active' : ''\" v-for=\"entry in couleursFilter\" @click=\"entry.selected = !entry.selected; getData(page,true)\">
<a href=\"#\" :title=\"entry.name\">
<span :style=\"{ 'background-color': entry.code ? entry.code :'#fff','border': '1px solid #ddd' }\"></span>
</a>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
{# FIN BARRE LATÉRALE #}
</div>
</div>
</section>
</main>
{# {% endverbatim %} #}
{% endblock %}
{% block javascripts %}
{{ parent() }}
<script>
// Reinialiser les filtres de recherche
window.onbeforeunload = function () {
//unchecked your check box here.
\$(\"input[type='checkbox']\").prop('checked', false);
//app.getData(app.page);
};
</script>
<script src=\"{{ asset('front/assets/scripts/dec/index.js') }}\"></script>
{% endblock %}
", "front/dec/listProductDec.html.twig", "/home/sunshil/www/sunshine-elegance/templates/front/dec/listProductDec.html.twig");
}
}