var/cache/dev/twig/c0/c0b9bbbb1d6b88cbe90e152239008e87.php line 123

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