var/cache/dev/twig/11/11a9960bd1c93a835cbfd88c2945e692.php line 165

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. use Twig\TemplateWrapper;
  15. /* front/category/index.html.twig */
  16. class __TwigTemplate_26f04f0c5744282923bcafbd69585352 extends Template
  17. {
  18.     private Source $source;
  19.     /**
  20.      * @var array<string, Template>
  21.      */
  22.     private array $macros = [];
  23.     public function __construct(Environment $env)
  24.     {
  25.         parent::__construct($env);
  26.         $this->source $this->getSourceContext();
  27.         $this->blocks = [
  28.             'title' => [$this'block_title'],
  29.             'meta' => [$this'block_meta'],
  30.             'stylesheets' => [$this'block_stylesheets'],
  31.             'body' => [$this'block_body'],
  32.             'javascripts' => [$this'block_javascripts'],
  33.         ];
  34.     }
  35.     protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  36.     {
  37.         // line 1
  38.         return "front/base.html.twig";
  39.     }
  40.     protected function doDisplay(array $context, array $blocks = []): iterable
  41.     {
  42.         $macros $this->macros;
  43.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  44.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front/category/index.html.twig"));
  45.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  46.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front/category/index.html.twig"));
  47.         $this->parent $this->loadTemplate("front/base.html.twig""front/category/index.html.twig"1);
  48.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  49.         
  50.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  51.         
  52.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  53.     }
  54.     // line 2
  55.     /**
  56.      * @return iterable<null|scalar|\Stringable>
  57.      */
  58.     public function block_title(array $context, array $blocks = []): iterable
  59.     {
  60.         $macros $this->macros;
  61.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  62.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  63.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  64.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  65.         yield "Sunshine Elegance | ";
  66.         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"falsefalsefalse2), "html"nulltrue);
  67.         yield " ";
  68.         
  69.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  70.         
  71.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  72.         yield from [];
  73.     }
  74.     // line 3
  75.     /**
  76.      * @return iterable<null|scalar|\Stringable>
  77.      */
  78.     public function block_meta(array $context, array $blocks = []): iterable
  79.     {
  80.         $macros $this->macros;
  81.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  82.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta"));
  83.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  84.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta"));
  85.         // line 4
  86.         yield "    <meta name=\"keywords\" content=\"Chaussures,Chaussures Femme,Jebba,Robe,Bottine\">
  87.     <meta name=\"description\" content=\"Marque tunisienne spécialisée dans la vente de vêtements et chaussures en ligne\">
  88.     <meta name=\"author\" content=\"Sunshine-Elegance\">
  89.     <!-- Facebook OG -->
  90.     <meta property=\"og:image\" content=\"";
  91.         // line 8
  92.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("front/assets/imgs/theme/logo3.png"), "html"nulltrue);
  93.         yield "\">
  94.     <meta property=\"og:url\" content=\"https://www.sunshineelegance.tn/\">
  95.     <meta property=\"og:type\" content=\"article\">
  96.     <meta property=\"og:title\" content=\"Sunshine Elegance | Marque tunisienne spécialisée dans la vente de vêtements et chaussures en ligne\">
  97.     <meta property=\"og:description\" content=\"Marque tunisienne spécialisée dans la vente de vêtements et chaussures en ligne\">
  98.     <!-- Twitter OG -->
  99.     <meta name=\"twitter:title\" content=\"Sunshine Elegance | Marque tunisienne spécialisée dans la vente de vêtements et chaussures en ligne\">
  100.     <meta name=\"twitter:description\" content=\"Marque tunisienne spécialisée dans la vente de vêtements et chaussures en ligne\">
  101.     <meta name=\"twitter:image\" content=\"";
  102.         // line 16
  103.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("front/assets/imgs/theme/logo3.png"), "html"nulltrue);
  104.         yield "\">
  105.     <meta name=\"twitter:card\" content=\"summary_large_image\">
  106. ";
  107.         
  108.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  109.         
  110.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  111.         yield from [];
  112.     }
  113.     // line 19
  114.     /**
  115.      * @return iterable<null|scalar|\Stringable>
  116.      */
  117.     public function block_stylesheets(array $context, array $blocks = []): iterable
  118.     {
  119.         $macros $this->macros;
  120.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  121.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  122.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  123.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  124.         // line 20
  125.         yield "    ";
  126.         yield from $this->yieldParentBlock("stylesheets"$context$blocks);
  127.         yield "
  128.     <style>
  129.         .product-cart-wrap .product-img-action-wrap {
  130.             max-height: none;
  131.         }
  132.     </style>
  133.     <script>
  134.         var category_id = JSON.parse(\"";
  135.         // line 27
  136.         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.'27$this->source); })()), "js"), "html"nulltrue);
  137.         yield "\")
  138.         // Filtres des tailles et couleurs
  139.         var taillesFilter = ";
  140.         // line 29
  141.         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.'29$this->source); })()), "getTailles", [(isset($context["categories"]) || array_key_exists("categories"$context) ? $context["categories"] : (function () { throw new RuntimeError('Variable "categories" does not exist.'29$this->source); })())], "method"falsefalsefalse29));
  142.         yield ";
  143.         var couleursFilter = ";
  144.         // line 30
  145.         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.'30$this->source); })()), "getCouleurs", [(isset($context["categories"]) || array_key_exists("categories"$context) ? $context["categories"] : (function () { throw new RuntimeError('Variable "categories" does not exist.'30$this->source); })())], "method"falsefalsefalse30));
  146.         yield ";
  147.     </script>
  148. ";
  149.         
  150.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  151.         
  152.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  153.         yield from [];
  154.     }
  155.     // line 34
  156.     /**
  157.      * @return iterable<null|scalar|\Stringable>
  158.      */
  159.     public function block_body(array $context, array $blocks = []): iterable
  160.     {
  161.         $macros $this->macros;
  162.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  163.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  164.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  165.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  166.         // line 35
  167.         yield "    ";
  168.         // line 36
  169.         yield "    <main class=\"main\" id=\"app\" v-cloak>
  170.         <div class=\"page-header breadcrumb-wrap\">
  171.             <div class=\"container\">
  172.                 <div class=\"breadcrumb\">
  173.                     <a href=\"";
  174.         // line 40
  175.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("home");
  176.         yield "\" rel=\"nofollow\">Acceuil</a>
  177.                     ";
  178.         // line 41
  179.         if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["categorie"] ?? null), "parent", [], "any"falsetruefalse41), "parent", [], "any"truetruefalse41) &&  !(null === CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["categorie"]) || array_key_exists("categorie"$context) ? $context["categorie"] : (function () { throw new RuntimeError('Variable "categorie" does not exist.'41$this->source); })()), "parent", [], "any"falsefalsefalse41), "parent", [], "any"falsefalsefalse41)))) {
  180.             // line 42
  181.             yield "                    <span></span> <a href=\"";
  182.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("category_new", ["id" => CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["categorie"]) || array_key_exists("categorie"$context) ? $context["categorie"] : (function () { throw new RuntimeError('Variable "categorie" does not exist.'42$this->source); })()), "parent", [], "any"falsefalsefalse42), "parent", [], "any"falsefalsefalse42), "id", [], "any"falsefalsefalse42), "name" => $this->extensions['Twig\Extra\String\StringExtension']->createSlug(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["categorie"]) || array_key_exists("categorie"$context) ? $context["categorie"] : (function () { throw new RuntimeError('Variable "categorie" does not exist.'42$this->source); })()), "parent", [], "any"falsefalsefalse42), "parent", [], "any"falsefalsefalse42), "name", [], "any"falsefalsefalse42))]), "html"nulltrue);
  183.             yield "\"
  184.                                      rel=\"nofollow\">";
  185.             // line 43
  186.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["categorie"]) || array_key_exists("categorie"$context) ? $context["categorie"] : (function () { throw new RuntimeError('Variable "categorie" does not exist.'43$this->source); })()), "parent", [], "any"falsefalsefalse43), "parent", [], "any"falsefalsefalse43), "name", [], "any"falsefalsefalse43), "html"nulltrue);
  187.             yield "</a>
  188.                     ";
  189.         }
  190.         // line 45
  191.         yield "                    ";
  192.         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.'45$this->source); })()), "parent", [], "any"falsefalsefalse45)) &&  !(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.'45$this->source); })()), "parent", [], "any"falsefalsefalse45)))) {
  193.             // line 46
  194.             yield "                    <span></span> <a href=\"";
  195.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("category_new", ["id" => CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["categorie"]) || array_key_exists("categorie"$context) ? $context["categorie"] : (function () { throw new RuntimeError('Variable "categorie" does not exist.'46$this->source); })()), "parent", [], "any"falsefalsefalse46), "id", [], "any"falsefalsefalse46), "name" => $this->extensions['Twig\Extra\String\StringExtension']->createSlug(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["categorie"]) || array_key_exists("categorie"$context) ? $context["categorie"] : (function () { throw new RuntimeError('Variable "categorie" does not exist.'46$this->source); })()), "parent", [], "any"falsefalsefalse46), "name", [], "any"falsefalsefalse46))]), "html"nulltrue);
  196.             yield "\"
  197.                                      rel=\"nofollow\">";
  198.             // line 47
  199.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["categorie"]) || array_key_exists("categorie"$context) ? $context["categorie"] : (function () { throw new RuntimeError('Variable "categorie" does not exist.'47$this->source); })()), "parent", [], "any"falsefalsefalse47), "name", [], "any"falsefalsefalse47), "html"nulltrue);
  200.             yield "</a>
  201.                     ";
  202.         }
  203.         // line 49
  204.         yield "                    <span></span> ";
  205.         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.'49$this->source); })()), "getName", [], "method"falsefalsefalse49), "html"nulltrue);
  206.         yield "
  207.                 </div>
  208.             </div>
  209.         </div>
  210.         <section class=\"mt-50 mb-50\">
  211.             <div class=\"container\">
  212.                 <div class=\"row flex-row-reverse\">
  213.                     <div class=\"col-lg-9\">
  214.                         <div class=\"shop-product-fillter\">
  215.                             <div class=\"totall-product\">
  216.                                 <p> Nous avons trouvé <strong class=\"text-brand\">\${ totalItems }</strong> article<span v-if=\"totalItems>1\">s</span> !</p>
  217.                             </div>
  218.                             <div class=\"sort-by-product-area\">
  219.                                 <div class=\"sort-by-cover mr-10\">
  220.                                     <div class=\"sort-by-product-wrap\">
  221.                                         <div class=\"sort-by\">
  222.                                             <span><i class=\"fi-rs-apps\"></i>Montrer:</span>
  223.                                         </div>
  224.                                         <div class=\"sort-by-dropdown-wrap\">
  225.                                             <span v-show=\"pageSize!=9999\"> \${ pageSize } <i
  226.                                                         class=\"fi-rs-angle-small-down\"></i></span>
  227.                                             <span v-show=\"pageSize==9999\"> Tous <i
  228.                                                         class=\"fi-rs-angle-small-down\"></i></span>
  229.                                         </div>
  230.                                     </div>
  231.                                     <div class=\"sort-by-dropdown\">
  232.                                         <ul>
  233.                                             <li class=\"activeFilter\"><a :class=\"{ active: pageSize==9 }\" href=\"#&\"
  234.                                                                         @click=\"pageSize=9;getData(page,true)\">9</a>
  235.                                             </li>
  236.                                             <li class=\"activeFilter\"><a :class=\"{ active: pageSize==18 }\" href=\"#&\"
  237.                                                                         @click=\"pageSize=18;getData(page,true)\">18</a>
  238.                                             </li>
  239.                                             <li class=\"activeFilter\"><a :class=\"{ active: pageSize==36 }\" href=\"#&\"
  240.                                                                         @click=\"pageSize=36;getData(page,true)\">36</a>
  241.                                             </li>
  242.                                             <li class=\"activeFilter\"><a :class=\"{ active: pageSize==9999 }\" href=\"#&\"
  243.                                                                         @click=\"pageSize=9999;getData(page,true)\">Tous</a>
  244.                                             </li>
  245.                                         </ul>
  246.                                     </div>
  247.                                 </div>
  248.                                 <div class=\"sort-by-cover\">
  249.                                     <div class=\"sort-by-product-wrap\">
  250.                                         <div class=\"sort-by\">
  251.                                             <span><i class=\"fi-rs-apps-sort\"></i>Trier par:</span>
  252.                                         </div>
  253.                                         <div class=\"sort-by-dropdown-wrap\">
  254.                                             <span v-show=\"orderBy==1\"> Nom: A à Z <i class=\"fi-rs-angle-small-down\"></i></span>
  255.                                             <span v-show=\"orderBy==2\"> Nom: Z à A <i class=\"fi-rs-angle-small-down\"></i></span>
  256.                                             <span v-show=\"orderBy==3\"> Prix: croissant <i
  257.                                                         class=\"fi-rs-angle-small-down\"></i></span>
  258.                                             <span v-show=\"orderBy==4\"> Prix: décroissant <i
  259.                                                         class=\"fi-rs-angle-small-down\"></i></span>
  260.                                             <span v-show=\"orderBy==5\"> Date ajout: croissant<i
  261.                                                         class=\"fi-rs-angle-small-down\"></i></span>
  262.                                             <span v-show=\"orderBy==6\"> Date ajout: décroissant<i
  263.                                                         class=\"fi-rs-angle-small-down\"></i></span>
  264.                                         </div>
  265.                                     </div>
  266.                                     <div class=\"sort-by-dropdown\">
  267.                                         <ul>
  268.                                             <li class=\"activeFilter\">
  269.                                                 <a :class=\"{ active: orderBy==1 }\" href=\"#&\"
  270.                                                    @click=\"orderBy=1;getData(page,true)\">Nom: A à Z</a>
  271.                                             </li>
  272.                                             <li class=\"activeFilter\"><a :class=\"{ active: orderBy==2 }\" href=\"#&\"
  273.                                                                         @click=\"orderBy=2;getData(page,true)\">Nom: Z à
  274.                                                     A</a></li>
  275.                                             <li class=\"activeFilter\"><a :class=\"{ active: orderBy==3 }\" href=\"#&\"
  276.                                                                         @click=\"orderBy=3;getData(page,true)\">Prix:
  277.                                                     croissant</a></li>
  278.                                             <li class=\"activeFilter\"><a :class=\"{ active: orderBy==4 }\" href=\"#&\"
  279.                                                                         @click=\"orderBy=4;getData(page,true)\">Prix:
  280.                                                     décroissant</a></li>
  281.                                             <li class=\"activeFilter\">
  282.                                                 <a :class=\"{ active: orderBy==5 }\" href=\"#&\"
  283.                                                    @click=\"orderBy=5;getData(page,true)\">Date ajout: croissant</a>
  284.                                             </li>
  285.                                             <li class=\"activeFilter\">
  286.                                                 <a :class=\"{ active: orderBy==6 }\" href=\"#&\"
  287.                                                    @click=\"orderBy=6;getData(page,true)\">Date ajout: décroissant</a>
  288.                                             </li>
  289.                                         </ul>
  290.                                     </div>
  291.                                 </div>
  292.                             </div>
  293.                         </div>
  294.                         <!-- Produits -->
  295.                         <div class=\"row product-grid-3\">
  296.                             <div class=\"col-lg-4 col-md-4 col-12 col-sm-6 row-product\" v-for=\"entry in products\">
  297.                                 <div class=\"product-cart-wrap mb-30 col-product\">
  298.                                     <div class=\"product-img-action-wrap\" @click=\"openProduct(entry.id,entry.name)\">
  299.                                         <div class=\"product-img product-img-zoom\">
  300.                                             <a href=\"#&\">
  301.                                                 <!--<img class=\"default-img\" src=\"../front/assets/imgs/shop/product-2-1.jpg\" alt=\"Sunshine Elegance\">-->
  302.                                                 <img class=\"default-img product-img\"
  303.                                                      :src=\"'";
  304.         // line 147
  305.         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.'147$this->source); })()), "html"nulltrue);
  306.         yield "/images/300-400/'+entry.image\"
  307.                                                      :alt=\"entry.name\">
  308.                                                 <!--<img class=\"hover-img\" src=\"../front/assets/imgs/shop/product-2-2.jpg\" alt=\"Sunshine Elegance\">-->
  309.                                             </a>
  310.                                         </div>
  311.                                         <!--<div class=\"product-action-1\">
  312.                                             <a aria-label=\"Quick view\" class=\"action-btn hover-up\" data-bs-toggle=\"modal\" data-bs-target=\"#quickViewModal\">
  313.                                                 <i class=\"fi-rs-search\"></i>
  314.                                             </a>
  315.                                             <a aria-label=\"Add To Wishlist\" class=\"action-btn hover-up\" href=\"shop-wishlist.html\"><i class=\"fi-rs-heart\"></i></a>
  316.                                             <a aria-label=\"Compare\" class=\"action-btn hover-up\" href=\"shop-compare.html\"><i class=\"fi-rs-shuffle\"></i></a>
  317.                                         </div>-->
  318.                                         <div class=\"product-badges product-badges-position product-badges-mrg\"
  319.                                              v-if=\"(entry.promo && entry.promo.isValid) || !entry.stock || entry.isNew\">
  320.                                             <span v-if=\"!entry.stock\" class=\"hot mr-1\"
  321.                                                   style=\"margin-right: 2px;font-size: 10px;\">Rupture de stock</span>
  322.                                             <span v-if=\"entry.isNew\" class=\"new mr-1\"
  323.                                                   style=\"margin-right: 2px;font-size: 10px;\">Nouveau</span>
  324.                                             <span class=\"best\"
  325.                                                   v-if=\"entry.promo && entry.promo.isValid && entry.promo.discountType=='amount'\"
  326.                                                   style=\"font-size: 10px;\">-\${ entry.promo.discountValue.toFixed(3) } <sup
  327.                                                         class=\"currency-style\">TND</sup></span>
  328.                                             <span class=\"best\"
  329.                                                   v-if=\"entry.promo && entry.promo.isValid && entry.promo.discountType=='percent'\"
  330.                                                   style=\"font-size: 10px;\">-\${ entry.promo.discountValue } %</span>
  331.                                         </div>
  332.                                     </div>
  333.                                     <div class=\"product-content-wrap\">
  334.                                         <h2 @click=\"openProduct(entry.id,entry.name)\">
  335.                                             <div class=\"menu-item\">\${ entry.name }</div>
  336.                                         </h2>
  337.                                         <!--<div class=\"rating-result\" title=\"90%\">
  338.                                             <span>
  339.                                                 <span>90%</span>
  340.                                             </span>
  341.                                         </div>-->
  342.                                         <div class=\"product-price\">
  343.                                             <span v-if=\"!entry.promo || (entry.promo && !entry.promo.isValid)\">\${ entry.priceTTC.toFixed(3) } <sup
  344.                                                         class=\"currency-style\">TND</sup></span>
  345.                                             <span v-if=\"entry.promo && entry.promo.isValid && entry.promo.discountType=='amount'\">\${ (entry.priceTTC-entry.promo.discountValue).toFixed(3) } <sup
  346.                                                         class=\"currency-style\">TND</sup></span>
  347.                                             <span v-if=\"entry.promo && entry.promo.isValid && entry.promo.discountType=='percent'\">\${ (entry.priceTTC-(entry.priceTTC*entry.promo.discountValue/100)).toFixed(3) } <sup
  348.                                                         class=\"currency-style\">TND</sup></span>
  349.                                             <span class=\"old-price\"
  350.                                                   v-if=\"entry.promo && entry.promo.isValid\">\${ entry.priceTTC.toFixed(3) } <sup
  351.                                                         class=\"currency-style\">TND</sup></span>
  352.                                         </div>
  353.                                         <div class=\"product-action-1 show\" @click=\"getProduit(entry.id)\">
  354.                                             <button aria-label=\"Acheter maintenant\" class=\"action-btn hover-up\"><i
  355.                                                         class=\"fi-rs-shopping-bag-add\"></i></button>
  356.                                         </div>
  357.                                     </div>
  358.                                 </div>
  359.                             </div>
  360.                         </div>
  361.                         <!--pagination-->
  362.                         <div class=\"pagination-area mt-15 mb-sm-5 mb-lg-0\" v-show=\"pages.length>1\">
  363.                             <nav aria-label=\"Page navigation example\">
  364.                                 <ul class=\"pagination justify-content-start\">
  365.                                     <!--li class=\"page-item active\"><a class=\"page-link\" href=\"#\">01</a></li>-->
  366.                                     <li class=\"page-item\" v-show=\"page>1\" @click=\"getData(page-1)\"><a class=\"page-link\"
  367.                                                                                                       href=\"#&\"><i
  368.                                                     class=\"fi-rs-angle-double-small-left\"></i></a></li>
  369.                                     <li v-for=\"entry in pages\" class=\"page-item\" @click=\"getData(entry)\"
  370.                                         :class=\"{ active: entry==page }\"><a class=\"page-link\" href=\"#&\">\${ entry }</a>
  371.                                     </li>
  372.                                     <li class=\"page-item\" v-show=\"page<pages[pages.length-1]\" @click=\"getData(page+1)\">
  373.                                         <a class=\"page-link\" href=\"#&\"><i
  374.                                                     class=\"fi-rs-angle-double-small-right\"></i></a></li>
  375.                                 </ul>
  376.                             </nav>
  377.                         </div>
  378.                     </div>
  379.                     <div class=\"col-lg-3 primary-sidebar sticky-sidebar\">
  380.                         ";
  381.         // line 236
  382.         yield "                        <!-- Fillter By Price -->
  383.                         <div class=\"sidebar-widget price_range range mb-30\">
  384.                             <div class=\"widget-header position-relative mb-20 pb-10\">
  385.                                 <h5 class=\"widget-title mb-10\">Filter par prix</h5>
  386.                                 <div class=\"bt-1 border-color-1\"></div>
  387.                             </div>
  388.                             <div class=\"price-filter\">
  389.                                 <div class=\"price-filter-inner\">
  390.                                     <div id=\"slider-range\"></div>
  391.                                     <div class=\"price_slider_amount\">
  392.                                         <div class=\"label-input\">
  393.                                             <span>Intervalle:</span><input type=\"text\" id=\"amount\" name=\"price\"
  394.                                                                            placeholder=\"Add Your Price\"/>
  395.                                         </div>
  396.                                     </div>
  397.                                 </div>
  398.                             </div>
  399.                             <button class=\"btn btn-sm btn-default mt-10\" :disabled=\"disabled\"
  400.                                     @click=\"getData(page,true)\"><i
  401.                                         class=\"fi-rs-filter mr-5\"></i> Filtrer
  402.                             </button>
  403.                             <div class=\"list-group\" v-if=\"totalItems\">
  404.                                 <div class=\"list-group-item mb-10 mt-10\">
  405.                                     <label class=\"fw-900\">Tailles</label>
  406.                                     <div class=\"custome-checkbox\">
  407.                                         <div class=\"row\">
  408.                                             <div v-for=\"entry in taillesFilter\" class=\"col-4\"
  409.                                                  style=\"white-space: nowrap\">
  410.                                                 <input class=\"form-check-input\" type=\"checkbox\" name=\"checkbox\"
  411.                                                        :id=\"'exampleCheckbox'+entry.name\" v-model=\"entry.selected\"
  412.                                                        @change=\"getData(page,true)\">
  413.                                                 <label class=\"form-check-label\"
  414.                                                        :for=\"'exampleCheckbox'+entry.name\"><span>\${ entry.name }</span></label>
  415.                                                 <br>
  416.                                             </div>
  417.                                         </div>
  418.                                     </div>
  419.                                     <label class=\"fw-900 mt-15\">Couleurs</label>
  420.                                     <div class=\"attr-detail attr-color mb-15\">
  421.                                         <ul class=\"list-filter color-filter multi\">
  422.                                             <li :class=\"entry.selected ? 'active' : ''\" v-for=\"entry in couleursFilter\"
  423.                                                 @click=\"entry.selected = !entry.selected,getData(page,true)\">
  424.                                                 <a href=\"#\" :title=\"entry.name\">
  425.                                                     <span :style=\"{ 'background-color': entry.code ? entry.code :'#fff','border': '1px solid #ddd' }\"></span>
  426.                                                 </a>
  427.                                             </li>
  428.                                         </ul>
  429.                                     </div>
  430.                                 </div>
  431.                             </div>
  432.                         </div>
  433.                     </div>
  434.                 </div>
  435.             </div>
  436.         </section>
  437.     </main>
  438.     ";
  439.         
  440.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  441.         
  442.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  443.         yield from [];
  444.     }
  445.     // line 296
  446.     /**
  447.      * @return iterable<null|scalar|\Stringable>
  448.      */
  449.     public function block_javascripts(array $context, array $blocks = []): iterable
  450.     {
  451.         $macros $this->macros;
  452.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  453.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  454.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  455.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  456.         // line 297
  457.         yield "    ";
  458.         yield from $this->yieldParentBlock("javascripts"$context$blocks);
  459.         yield "
  460.     <script>
  461.         // Reinialiser les filtres de recherche
  462.         window.onbeforeunload = function () {
  463.             //unchecked your check box here.
  464.             \$(\"input[type='checkbox']\").prop('checked', false);
  465.             //app.getData(app.page);
  466.         };
  467.     </script>
  468.     <script src=\"";
  469.         // line 306
  470.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("front/assets/scripts/category/index.js"), "html"nulltrue);
  471.         yield "\"></script>
  472. ";
  473.         
  474.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  475.         
  476.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  477.         yield from [];
  478.     }
  479.     /**
  480.      * @codeCoverageIgnore
  481.      */
  482.     public function getTemplateName(): string
  483.     {
  484.         return "front/category/index.html.twig";
  485.     }
  486.     /**
  487.      * @codeCoverageIgnore
  488.      */
  489.     public function isTraitable(): bool
  490.     {
  491.         return false;
  492.     }
  493.     /**
  494.      * @codeCoverageIgnore
  495.      */
  496.     public function getDebugInfo(): array
  497.     {
  498.         return array (  510 => 306,  497 => 297,  484 => 296,  415 => 236,  335 => 147,  233 => 49,  228 => 47,  223 => 46,  220 => 45,  215 => 43,  210 => 42,  208 => 41,  204 => 40,  198 => 36,  196 => 35,  183 => 34,  169 => 30,  165 => 29,  160 => 27,  149 => 20,  136 => 19,  122 => 16,  111 => 8,  105 => 4,  92 => 3,  67 => 2,  44 => 1,);
  499.     }
  500.     public function getSourceContext(): Source
  501.     {
  502.         return new Source("{% extends 'front/base.html.twig' %}
  503. {% block title %}Sunshine Elegance | {{ categorie.getName() }} {% endblock %}
  504. {% block meta %}
  505.     <meta name=\"keywords\" content=\"Chaussures,Chaussures Femme,Jebba,Robe,Bottine\">
  506.     <meta name=\"description\" content=\"Marque tunisienne spécialisée dans la vente de vêtements et chaussures en ligne\">
  507.     <meta name=\"author\" content=\"Sunshine-Elegance\">
  508.     <!-- Facebook OG -->
  509.     <meta property=\"og:image\" content=\"{{ asset('front/assets/imgs/theme/logo3.png') }}\">
  510.     <meta property=\"og:url\" content=\"https://www.sunshineelegance.tn/\">
  511.     <meta property=\"og:type\" content=\"article\">
  512.     <meta property=\"og:title\" content=\"Sunshine Elegance | Marque tunisienne spécialisée dans la vente de vêtements et chaussures en ligne\">
  513.     <meta property=\"og:description\" content=\"Marque tunisienne spécialisée dans la vente de vêtements et chaussures en ligne\">
  514.     <!-- Twitter OG -->
  515.     <meta name=\"twitter:title\" content=\"Sunshine Elegance | Marque tunisienne spécialisée dans la vente de vêtements et chaussures en ligne\">
  516.     <meta name=\"twitter:description\" content=\"Marque tunisienne spécialisée dans la vente de vêtements et chaussures en ligne\">
  517.     <meta name=\"twitter:image\" content=\"{{ asset('front/assets/imgs/theme/logo3.png') }}\">
  518.     <meta name=\"twitter:card\" content=\"summary_large_image\">
  519. {% endblock %}
  520. {% block stylesheets %}
  521.     {{ parent() }}
  522.     <style>
  523.         .product-cart-wrap .product-img-action-wrap {
  524.             max-height: none;
  525.         }
  526.     </style>
  527.     <script>
  528.         var category_id = JSON.parse(\"{{ category_id|e('js') }}\")
  529.         // Filtres des tailles et couleurs
  530.         var taillesFilter = {{ Globals.getTailles(categories)|json_encode|raw }};
  531.         var couleursFilter = {{ Globals.getCouleurs(categories)|json_encode|raw }};
  532.     </script>
  533. {% endblock %}
  534. {% block body %}
  535.     {# {% verbatim %} #}
  536.     <main class=\"main\" id=\"app\" v-cloak>
  537.         <div class=\"page-header breadcrumb-wrap\">
  538.             <div class=\"container\">
  539.                 <div class=\"breadcrumb\">
  540.                     <a href=\"{{ path('home') }}\" rel=\"nofollow\">Acceuil</a>
  541.                     {% if categorie.parent.parent is defined and  categorie.parent.parent is not null %}
  542.                     <span></span> <a href=\"{{ path('category_new', {id: categorie.parent.parent.id, name :categorie.parent.parent.name|slug}) }}\"
  543.                                      rel=\"nofollow\">{{ categorie.parent.parent.name }}</a>
  544.                     {% endif %}
  545.                     {% if categorie.parent is not empty and  categorie.parent is not null  %}
  546.                     <span></span> <a href=\"{{ path('category_new', {id: categorie.parent.id, name :categorie.parent.name|slug}) }}\"
  547.                                      rel=\"nofollow\">{{ categorie.parent.name }}</a>
  548.                     {% endif %}
  549.                     <span></span> {{ categorie.getName() }}
  550.                 </div>
  551.             </div>
  552.         </div>
  553.         <section class=\"mt-50 mb-50\">
  554.             <div class=\"container\">
  555.                 <div class=\"row flex-row-reverse\">
  556.                     <div class=\"col-lg-9\">
  557.                         <div class=\"shop-product-fillter\">
  558.                             <div class=\"totall-product\">
  559.                                 <p> Nous avons trouvé <strong class=\"text-brand\">\${ totalItems }</strong> article<span v-if=\"totalItems>1\">s</span> !</p>
  560.                             </div>
  561.                             <div class=\"sort-by-product-area\">
  562.                                 <div class=\"sort-by-cover mr-10\">
  563.                                     <div class=\"sort-by-product-wrap\">
  564.                                         <div class=\"sort-by\">
  565.                                             <span><i class=\"fi-rs-apps\"></i>Montrer:</span>
  566.                                         </div>
  567.                                         <div class=\"sort-by-dropdown-wrap\">
  568.                                             <span v-show=\"pageSize!=9999\"> \${ pageSize } <i
  569.                                                         class=\"fi-rs-angle-small-down\"></i></span>
  570.                                             <span v-show=\"pageSize==9999\"> Tous <i
  571.                                                         class=\"fi-rs-angle-small-down\"></i></span>
  572.                                         </div>
  573.                                     </div>
  574.                                     <div class=\"sort-by-dropdown\">
  575.                                         <ul>
  576.                                             <li class=\"activeFilter\"><a :class=\"{ active: pageSize==9 }\" href=\"#&\"
  577.                                                                         @click=\"pageSize=9;getData(page,true)\">9</a>
  578.                                             </li>
  579.                                             <li class=\"activeFilter\"><a :class=\"{ active: pageSize==18 }\" href=\"#&\"
  580.                                                                         @click=\"pageSize=18;getData(page,true)\">18</a>
  581.                                             </li>
  582.                                             <li class=\"activeFilter\"><a :class=\"{ active: pageSize==36 }\" href=\"#&\"
  583.                                                                         @click=\"pageSize=36;getData(page,true)\">36</a>
  584.                                             </li>
  585.                                             <li class=\"activeFilter\"><a :class=\"{ active: pageSize==9999 }\" href=\"#&\"
  586.                                                                         @click=\"pageSize=9999;getData(page,true)\">Tous</a>
  587.                                             </li>
  588.                                         </ul>
  589.                                     </div>
  590.                                 </div>
  591.                                 <div class=\"sort-by-cover\">
  592.                                     <div class=\"sort-by-product-wrap\">
  593.                                         <div class=\"sort-by\">
  594.                                             <span><i class=\"fi-rs-apps-sort\"></i>Trier par:</span>
  595.                                         </div>
  596.                                         <div class=\"sort-by-dropdown-wrap\">
  597.                                             <span v-show=\"orderBy==1\"> Nom: A à Z <i class=\"fi-rs-angle-small-down\"></i></span>
  598.                                             <span v-show=\"orderBy==2\"> Nom: Z à A <i class=\"fi-rs-angle-small-down\"></i></span>
  599.                                             <span v-show=\"orderBy==3\"> Prix: croissant <i
  600.                                                         class=\"fi-rs-angle-small-down\"></i></span>
  601.                                             <span v-show=\"orderBy==4\"> Prix: décroissant <i
  602.                                                         class=\"fi-rs-angle-small-down\"></i></span>
  603.                                             <span v-show=\"orderBy==5\"> Date ajout: croissant<i
  604.                                                         class=\"fi-rs-angle-small-down\"></i></span>
  605.                                             <span v-show=\"orderBy==6\"> Date ajout: décroissant<i
  606.                                                         class=\"fi-rs-angle-small-down\"></i></span>
  607.                                         </div>
  608.                                     </div>
  609.                                     <div class=\"sort-by-dropdown\">
  610.                                         <ul>
  611.                                             <li class=\"activeFilter\">
  612.                                                 <a :class=\"{ active: orderBy==1 }\" href=\"#&\"
  613.                                                    @click=\"orderBy=1;getData(page,true)\">Nom: A à Z</a>
  614.                                             </li>
  615.                                             <li class=\"activeFilter\"><a :class=\"{ active: orderBy==2 }\" href=\"#&\"
  616.                                                                         @click=\"orderBy=2;getData(page,true)\">Nom: Z à
  617.                                                     A</a></li>
  618.                                             <li class=\"activeFilter\"><a :class=\"{ active: orderBy==3 }\" href=\"#&\"
  619.                                                                         @click=\"orderBy=3;getData(page,true)\">Prix:
  620.                                                     croissant</a></li>
  621.                                             <li class=\"activeFilter\"><a :class=\"{ active: orderBy==4 }\" href=\"#&\"
  622.                                                                         @click=\"orderBy=4;getData(page,true)\">Prix:
  623.                                                     décroissant</a></li>
  624.                                             <li class=\"activeFilter\">
  625.                                                 <a :class=\"{ active: orderBy==5 }\" href=\"#&\"
  626.                                                    @click=\"orderBy=5;getData(page,true)\">Date ajout: croissant</a>
  627.                                             </li>
  628.                                             <li class=\"activeFilter\">
  629.                                                 <a :class=\"{ active: orderBy==6 }\" href=\"#&\"
  630.                                                    @click=\"orderBy=6;getData(page,true)\">Date ajout: décroissant</a>
  631.                                             </li>
  632.                                         </ul>
  633.                                     </div>
  634.                                 </div>
  635.                             </div>
  636.                         </div>
  637.                         <!-- Produits -->
  638.                         <div class=\"row product-grid-3\">
  639.                             <div class=\"col-lg-4 col-md-4 col-12 col-sm-6 row-product\" v-for=\"entry in products\">
  640.                                 <div class=\"product-cart-wrap mb-30 col-product\">
  641.                                     <div class=\"product-img-action-wrap\" @click=\"openProduct(entry.id,entry.name)\">
  642.                                         <div class=\"product-img product-img-zoom\">
  643.                                             <a href=\"#&\">
  644.                                                 <!--<img class=\"default-img\" src=\"../front/assets/imgs/shop/product-2-1.jpg\" alt=\"Sunshine Elegance\">-->
  645.                                                 <img class=\"default-img product-img\"
  646.                                                      :src=\"'{{ APP_URL }}/images/300-400/'+entry.image\"
  647.                                                      :alt=\"entry.name\">
  648.                                                 <!--<img class=\"hover-img\" src=\"../front/assets/imgs/shop/product-2-2.jpg\" alt=\"Sunshine Elegance\">-->
  649.                                             </a>
  650.                                         </div>
  651.                                         <!--<div class=\"product-action-1\">
  652.                                             <a aria-label=\"Quick view\" class=\"action-btn hover-up\" data-bs-toggle=\"modal\" data-bs-target=\"#quickViewModal\">
  653.                                                 <i class=\"fi-rs-search\"></i>
  654.                                             </a>
  655.                                             <a aria-label=\"Add To Wishlist\" class=\"action-btn hover-up\" href=\"shop-wishlist.html\"><i class=\"fi-rs-heart\"></i></a>
  656.                                             <a aria-label=\"Compare\" class=\"action-btn hover-up\" href=\"shop-compare.html\"><i class=\"fi-rs-shuffle\"></i></a>
  657.                                         </div>-->
  658.                                         <div class=\"product-badges product-badges-position product-badges-mrg\"
  659.                                              v-if=\"(entry.promo && entry.promo.isValid) || !entry.stock || entry.isNew\">
  660.                                             <span v-if=\"!entry.stock\" class=\"hot mr-1\"
  661.                                                   style=\"margin-right: 2px;font-size: 10px;\">Rupture de stock</span>
  662.                                             <span v-if=\"entry.isNew\" class=\"new mr-1\"
  663.                                                   style=\"margin-right: 2px;font-size: 10px;\">Nouveau</span>
  664.                                             <span class=\"best\"
  665.                                                   v-if=\"entry.promo && entry.promo.isValid && entry.promo.discountType=='amount'\"
  666.                                                   style=\"font-size: 10px;\">-\${ entry.promo.discountValue.toFixed(3) } <sup
  667.                                                         class=\"currency-style\">TND</sup></span>
  668.                                             <span class=\"best\"
  669.                                                   v-if=\"entry.promo && entry.promo.isValid && entry.promo.discountType=='percent'\"
  670.                                                   style=\"font-size: 10px;\">-\${ entry.promo.discountValue } %</span>
  671.                                         </div>
  672.                                     </div>
  673.                                     <div class=\"product-content-wrap\">
  674.                                         <h2 @click=\"openProduct(entry.id,entry.name)\">
  675.                                             <div class=\"menu-item\">\${ entry.name }</div>
  676.                                         </h2>
  677.                                         <!--<div class=\"rating-result\" title=\"90%\">
  678.                                             <span>
  679.                                                 <span>90%</span>
  680.                                             </span>
  681.                                         </div>-->
  682.                                         <div class=\"product-price\">
  683.                                             <span v-if=\"!entry.promo || (entry.promo && !entry.promo.isValid)\">\${ entry.priceTTC.toFixed(3) } <sup
  684.                                                         class=\"currency-style\">TND</sup></span>
  685.                                             <span v-if=\"entry.promo && entry.promo.isValid && entry.promo.discountType=='amount'\">\${ (entry.priceTTC-entry.promo.discountValue).toFixed(3) } <sup
  686.                                                         class=\"currency-style\">TND</sup></span>
  687.                                             <span v-if=\"entry.promo && entry.promo.isValid && entry.promo.discountType=='percent'\">\${ (entry.priceTTC-(entry.priceTTC*entry.promo.discountValue/100)).toFixed(3) } <sup
  688.                                                         class=\"currency-style\">TND</sup></span>
  689.                                             <span class=\"old-price\"
  690.                                                   v-if=\"entry.promo && entry.promo.isValid\">\${ entry.priceTTC.toFixed(3) } <sup
  691.                                                         class=\"currency-style\">TND</sup></span>
  692.                                         </div>
  693.                                         <div class=\"product-action-1 show\" @click=\"getProduit(entry.id)\">
  694.                                             <button aria-label=\"Acheter maintenant\" class=\"action-btn hover-up\"><i
  695.                                                         class=\"fi-rs-shopping-bag-add\"></i></button>
  696.                                         </div>
  697.                                     </div>
  698.                                 </div>
  699.                             </div>
  700.                         </div>
  701.                         <!--pagination-->
  702.                         <div class=\"pagination-area mt-15 mb-sm-5 mb-lg-0\" v-show=\"pages.length>1\">
  703.                             <nav aria-label=\"Page navigation example\">
  704.                                 <ul class=\"pagination justify-content-start\">
  705.                                     <!--li class=\"page-item active\"><a class=\"page-link\" href=\"#\">01</a></li>-->
  706.                                     <li class=\"page-item\" v-show=\"page>1\" @click=\"getData(page-1)\"><a class=\"page-link\"
  707.                                                                                                       href=\"#&\"><i
  708.                                                     class=\"fi-rs-angle-double-small-left\"></i></a></li>
  709.                                     <li v-for=\"entry in pages\" class=\"page-item\" @click=\"getData(entry)\"
  710.                                         :class=\"{ active: entry==page }\"><a class=\"page-link\" href=\"#&\">\${ entry }</a>
  711.                                     </li>
  712.                                     <li class=\"page-item\" v-show=\"page<pages[pages.length-1]\" @click=\"getData(page+1)\">
  713.                                         <a class=\"page-link\" href=\"#&\"><i
  714.                                                     class=\"fi-rs-angle-double-small-right\"></i></a></li>
  715.                                 </ul>
  716.                             </nav>
  717.                         </div>
  718.                     </div>
  719.                     <div class=\"col-lg-3 primary-sidebar sticky-sidebar\">
  720.                         {# <div class=\"widget-category mb-30\">
  721.                             <h5 class=\"section-title style-1 mb-30 wow fadeIn animated\">Category</h5>
  722.                             <ul class=\"categories\">
  723.                                 <li><a href=\"shop-grid-right.html\">Shoes & Bags</a></li>
  724.                                 <li><a href=\"shop-grid-right.html\">Blouses & Shirts</a></li>
  725.                                 <li><a href=\"shop-grid-right.html\">Dresses</a></li>
  726.                                 <li><a href=\"shop-grid-right.html\">Swimwear</a></li>
  727.                                 <li><a href=\"shop-grid-right.html\">Beauty</a></li>
  728.                                 <li><a href=\"shop-grid-right.html\">Jewelry & Watch</a></li>
  729.                                 <li><a href=\"shop-grid-right.html\">Accessories</a></li>
  730.                             </ul>
  731.                         </div> #}
  732.                         <!-- Fillter By Price -->
  733.                         <div class=\"sidebar-widget price_range range mb-30\">
  734.                             <div class=\"widget-header position-relative mb-20 pb-10\">
  735.                                 <h5 class=\"widget-title mb-10\">Filter par prix</h5>
  736.                                 <div class=\"bt-1 border-color-1\"></div>
  737.                             </div>
  738.                             <div class=\"price-filter\">
  739.                                 <div class=\"price-filter-inner\">
  740.                                     <div id=\"slider-range\"></div>
  741.                                     <div class=\"price_slider_amount\">
  742.                                         <div class=\"label-input\">
  743.                                             <span>Intervalle:</span><input type=\"text\" id=\"amount\" name=\"price\"
  744.                                                                            placeholder=\"Add Your Price\"/>
  745.                                         </div>
  746.                                     </div>
  747.                                 </div>
  748.                             </div>
  749.                             <button class=\"btn btn-sm btn-default mt-10\" :disabled=\"disabled\"
  750.                                     @click=\"getData(page,true)\"><i
  751.                                         class=\"fi-rs-filter mr-5\"></i> Filtrer
  752.                             </button>
  753.                             <div class=\"list-group\" v-if=\"totalItems\">
  754.                                 <div class=\"list-group-item mb-10 mt-10\">
  755.                                     <label class=\"fw-900\">Tailles</label>
  756.                                     <div class=\"custome-checkbox\">
  757.                                         <div class=\"row\">
  758.                                             <div v-for=\"entry in taillesFilter\" class=\"col-4\"
  759.                                                  style=\"white-space: nowrap\">
  760.                                                 <input class=\"form-check-input\" type=\"checkbox\" name=\"checkbox\"
  761.                                                        :id=\"'exampleCheckbox'+entry.name\" v-model=\"entry.selected\"
  762.                                                        @change=\"getData(page,true)\">
  763.                                                 <label class=\"form-check-label\"
  764.                                                        :for=\"'exampleCheckbox'+entry.name\"><span>\${ entry.name }</span></label>
  765.                                                 <br>
  766.                                             </div>
  767.                                         </div>
  768.                                     </div>
  769.                                     <label class=\"fw-900 mt-15\">Couleurs</label>
  770.                                     <div class=\"attr-detail attr-color mb-15\">
  771.                                         <ul class=\"list-filter color-filter multi\">
  772.                                             <li :class=\"entry.selected ? 'active' : ''\" v-for=\"entry in couleursFilter\"
  773.                                                 @click=\"entry.selected = !entry.selected,getData(page,true)\">
  774.                                                 <a href=\"#\" :title=\"entry.name\">
  775.                                                     <span :style=\"{ 'background-color': entry.code ? entry.code :'#fff','border': '1px solid #ddd' }\"></span>
  776.                                                 </a>
  777.                                             </li>
  778.                                         </ul>
  779.                                     </div>
  780.                                 </div>
  781.                             </div>
  782.                         </div>
  783.                     </div>
  784.                 </div>
  785.             </div>
  786.         </section>
  787.     </main>
  788.     {# {% endverbatim %} #}
  789. {% endblock %}
  790. {% block javascripts %}
  791.     {{ parent() }}
  792.     <script>
  793.         // Reinialiser les filtres de recherche
  794.         window.onbeforeunload = function () {
  795.             //unchecked your check box here.
  796.             \$(\"input[type='checkbox']\").prop('checked', false);
  797.             //app.getData(app.page);
  798.         };
  799.     </script>
  800.     <script src=\"{{ asset('front/assets/scripts/category/index.js') }}\"></script>
  801. {% endblock %}
  802. ""front/category/index.html.twig""/home/sunshil/www/sunshine-elegance/templates/front/category/index.html.twig");
  803.     }
  804. }