var/cache/dev/twig/6a/6aa1f87b24cce8df75e3eca5be705f69.php line 63

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* product/suboverview.html.twig */
  14. class __TwigTemplate_fdd9dc6a602174b24c525c5ebbd8bc0c extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'content' => [$this'block_content'],
  24.         ];
  25.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  26.         $this->checkSecurity();
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return $this->loadTemplate($this->extensions['App\Twig\Extension\WebsiteExtension']->getBaseLayout(), "product/suboverview.html.twig"1);
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""product/suboverview.html.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""product/suboverview.html.twig"));
  40.         // line 3
  41.         if (( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'3$this->source); })()), "oms", [], "any"falsefalsetrue3)) &&  !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["subcategory"]) || array_key_exists("subcategory"$context) ? $context["subcategory"] : (function () { throw new RuntimeError('Variable "subcategory" does not exist.'3$this->source); })()), "oms", [], "any"falsefalsetrue3)))) {
  42.             // line 4
  43.             if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'4$this->source); })()), "combinedCategoryName", [], "any"falsefalsetrue4))) {
  44.                 // line 5
  45.                 $context["categorieName"] = twig_capitalize_string_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'5$this->source); })()), "combinedCategoryName", [], "any"falsefalsetrue5), 5$this->source));
  46.             } else {
  47.                 // line 7
  48.                 $context["categorieName"] = twig_capitalize_string_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'7$this->source); })()), "oms", [], "any"falsefalsetrue7), 7$this->source));
  49.             }
  50.             // line 10
  51.             $context["head_title"] = (($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["subcategory"]) || array_key_exists("subcategory"$context) ? $context["subcategory"] : (function () { throw new RuntimeError('Variable "subcategory" does not exist.'10$this->source); })()), "oms", [], "any"falsefalsetrue10), 10$this->source) . " | ") . $this->sandbox->ensureToStringAllowed((isset($context["categorieName"]) || array_key_exists("categorieName"$context) ? $context["categorieName"] : (function () { throw new RuntimeError('Variable "categorieName" does not exist.'10$this->source); })()), 10$this->source));
  52.         }
  53.         // line 1
  54.         $this->getParent($context)->display($contextarray_merge($this->blocks$blocks));
  55.         
  56.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  57.         
  58.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  59.     }
  60.     // line 13
  61.     public function block_content($context, array $blocks = [])
  62.     {
  63.         $macros $this->macros;
  64.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  65.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  66.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  67.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  68.         // line 14
  69.         echo "    ";
  70.         if (array_key_exists("category"$context)) {
  71.             // line 15
  72.             echo "        <script>
  73.             const tooltipTriggerList = document.querySelectorAll('[data-bs-toggle=\"tooltip\"]')
  74.             const tooltipList = [...tooltipTriggerList].map(tooltipTriggerEl => new bootstrap.Tooltip(tooltipTriggerEl))
  75.         </script>
  76.         <div class=\"container\">
  77.             <div class=\"row\">
  78.                 <div class=\"col-12 col-md-5 col-lg-4 mb-5\">
  79.                     <div class=\"area-col h-auto\">
  80.                         <div class=\"area-col-inner position-relative area-shape-responsive area-shape-default bg-light-grey bg-opacity-50 p-5 submenu my-3\">
  81.                             <h3 class=\"mb-3 text-secondary\">";
  82.             // line 26
  83.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Filters"), "html"nulltrue);
  84.             echo "</h3>
  85.                             <hr>
  86.                             <div class=\"ms-3\">
  87.                                 ";
  88.             // line 29
  89.             if ((twig_length_filter($this->env, (isset($context["merken"]) || array_key_exists("merken"$context) ? $context["merken"] : (function () { throw new RuntimeError('Variable "merken" does not exist.'29$this->source); })())) > 0)) {
  90.                 // line 30
  91.                 echo "                                    <div class=\"my-3\">
  92.                                         <h4>";
  93.                 // line 31
  94.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Merken"), "html"nulltrue);
  95.                 echo "</h4>
  96.                                         <ul class=\"list-group\">
  97.                                             ";
  98.                 // line 33
  99.                 $context['_parent'] = $context;
  100.                 $context['_seq'] = twig_ensure_traversable((isset($context["merken"]) || array_key_exists("merken"$context) ? $context["merken"] : (function () { throw new RuntimeError('Variable "merken" does not exist.'33$this->source); })()));
  101.                 $context['loop'] = [
  102.                   'parent' => $context['_parent'],
  103.                   'index0' => 0,
  104.                   'index'  => 1,
  105.                   'first'  => true,
  106.                 ];
  107.                 if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  108.                     $length count($context['_seq']);
  109.                     $context['loop']['revindex0'] = $length 1;
  110.                     $context['loop']['revindex'] = $length;
  111.                     $context['loop']['length'] = $length;
  112.                     $context['loop']['last'] = === $length;
  113.                 }
  114.                 foreach ($context['_seq'] as $context["_key"] => $context["merk"]) {
  115.                     // line 34
  116.                     echo "                                                <li class=\"form-check\">
  117.                                                     <input class=\"form-check-input me-1 filtermerk\" type=\"checkbox\" value=\"";
  118.                     // line 35
  119.                     if (($context["merk"] == "Overige merken")) {
  120.                     } else {
  121.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed($context["merk"], 35$this->source), "html"nulltrue);
  122.                     }
  123.                     echo "\" id=\"flexCheck";
  124.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsetrue35), 35$this->source), "html"nulltrue);
  125.                     echo "\">
  126.                                                     <label class=\"form-check-label\" for=\"flexCheck";
  127.                     // line 36
  128.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsetrue36), 36$this->source), "html"nulltrue);
  129.                     echo "\">
  130.                                                         ";
  131.                     // line 37
  132.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed($context["merk"], 37$this->source), "html"nulltrue);
  133.                     echo "
  134.                                                     </label>
  135.                                                 </li>
  136.                                             ";
  137.                     ++$context['loop']['index0'];
  138.                     ++$context['loop']['index'];
  139.                     $context['loop']['first'] = false;
  140.                     if (isset($context['loop']['length'])) {
  141.                         --$context['loop']['revindex0'];
  142.                         --$context['loop']['revindex'];
  143.                         $context['loop']['last'] = === $context['loop']['revindex0'];
  144.                     }
  145.                 }
  146.                 $_parent $context['_parent'];
  147.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['merk'], $context['_parent'], $context['loop']);
  148.                 $context array_intersect_key($context$_parent) + $_parent;
  149.                 // line 41
  150.                 echo "                                        </ul>
  151.                                     </div>
  152.                                 ";
  153.             }
  154.             // line 44
  155.             echo "                                <div class=\"my-3\">
  156.                                     <h4>";
  157.             // line 45
  158.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Stock Status"), "html"nulltrue);
  159.             echo "</h4>
  160.                                     <ul class=\"list-group\">
  161.                                         <li class=\"form-check\">
  162.                                             <input class=\"form-check-input filterstock\" type=\"checkbox\" value=\"2\" id=\"stockCheck1\">
  163.                                             <label class=\"form-check-label\" for=\"stockCheck1\">
  164.                                                         <span class=\"stockgroen ms-1\">
  165.                                                             <i class=\"fas fa-xs fa-circle\"></i> ";
  166.             // line 51
  167.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Op voorraad"), "html"nulltrue);
  168.             echo "
  169.                                                         </span>
  170.                                             </label>
  171.                                         </li>
  172.                                         <li class=\"form-check\">
  173.                                             <input class=\"form-check-input filterstock\" type=\"checkbox\" value=\"1\" id=\"stockCheck2\">
  174.                                             <label class=\"form-check-label\" for=\"stockCheck2\">
  175.                                                         <span class=\"stockoranje ms-1\">
  176.                                                         <i class=\"fas fa-xs  fa-circle\"></i> ";
  177.             // line 59
  178.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Bijna uitverkocht"), "html"nulltrue);
  179.             echo "
  180.                                                     </span>
  181.                                             </label>
  182.                                         </li>
  183.                                         <li class=\"form-check\">
  184.                                             <input class=\"form-check-input filterstock\" type=\"checkbox\" value=\"0\" id=\"stockCheck3\">
  185.                                             <label class=\"form-check-label\" for=\"stockCheck3\">
  186.                                                         <span class=\"stockrood ms-1\">
  187.                                                             <i class=\"fas fa-xs fa-circle\"></i> ";
  188.             // line 68
  189.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Uitverkocht"), "html"nulltrue);
  190.             echo "
  191.                                                         </span>
  192.                                             </label>
  193.                                         </li>
  194.                                     </ul>
  195.                                 </div>
  196.                                 <div class=\"my-3\">
  197.                                     <h4>";
  198.             // line 76
  199.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Prijs"), "html"nulltrue);
  200.             echo "</h4>
  201.                                     <div class=\"form-check\">
  202.                                         <input class=\"form-check-input filterprice\" type=\"checkbox\" value=\"down\" id=\"flexCheckPriceDown\">
  203.                                         <label class=\"form-check-label\" for=\"flexCheckPriceDown\">
  204.                                             ";
  205.             // line 80
  206.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Laag - Hoog"), "html"nulltrue);
  207.             echo "
  208.                                         </label>
  209.                                     </div>
  210.                                     <div class=\"form-check\">
  211.                                         <input class=\"form-check-input filterprice\" type=\"checkbox\" value=\"up\" id=\"flexCheckPriceUp\">
  212.                                         <label class=\"form-check-label\" for=\"flexCheckPriceUp\">
  213.                                             ";
  214.             // line 86
  215.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Hoog - Laag"), "html"nulltrue);
  216.             echo "
  217.                                         </label>
  218.                                     </div>
  219.                                 </div>
  220.                             </div>
  221.                             <svg height=\"100%\" width=\"100%\" xmlns=\"http://www.w3.org/2000/svg\">
  222.                                 <clipPath clipPathUnits=\"objectBoundingBox\" id=\"shapeyellow\">
  223.                                     <path
  224.                                         d=\"M0.536,0.991 s-0.414,0.038,-0.47,-0.038 C0.013,0.879,-0.009,0.825,0.004,0.696 s0.013,-0.268,0.013,-0.376 C0.018,0.133,0.026,0.017,0.269,0.006 C0.512,-0.005,0.731,-0.001,0.854,0.023 c0.121,0.023,0.14,0.05,0.143,0.241 c0.003,0.192,0.017,0.613,-0.062,0.688 c-0.054,0.051,-0.125,0.042,-0.399,0.038\"></path>
  225.                                 </clipPath>
  226.                             </svg>
  227.                         </div>
  228.                     </div>
  229.                     <div class=\"area-col h-auto\">
  230.                         <div class=\"area-col-inner position-relative area-shape-responsive area-shape-default bg-light-grey bg-opacity-50 p-5 submenu\">
  231.                             <h3 class=\"mb-3 text-secondary\">";
  232.             // line 102
  233.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Categorieën"), "html"nulltrue);
  234.             echo "</h3>
  235.                             ";
  236.             // line 103
  237.             if (array_key_exists("subcategoryList"$context)) {
  238.                 // line 104
  239.                 echo "                                <ul class=\"list-unstyled\">
  240.                                     ";
  241.                 // line 105
  242.                 $context['_parent'] = $context;
  243.                 $context['_seq'] = twig_ensure_traversable((isset($context["subcategoryList"]) || array_key_exists("subcategoryList"$context) ? $context["subcategoryList"] : (function () { throw new RuntimeError('Variable "subcategoryList" does not exist.'105$this->source); })()));
  244.                 foreach ($context['_seq'] as $context["_key"] => $context["subcat"]) {
  245.                     // line 106
  246.                     echo "                                        ";
  247.                     $context["detailLink"] = $this->extensions['App\Twig\Extension\ProductExtension']->generateSubGroupLink($this->sandbox->ensureToStringAllowed((isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'106$this->source); })()), 106$this->source), $this->sandbox->ensureToStringAllowed($context["subcat"], 106$this->source));
  248.                     // line 107
  249.                     echo "                                        <li class=\"mb-3\">
  250.                                             <a href=\"";
  251.                     // line 108
  252.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["detailLink"]) || array_key_exists("detailLink"$context) ? $context["detailLink"] : (function () { throw new RuntimeError('Variable "detailLink" does not exist.'108$this->source); })()), 108$this->source), "html"nulltrue);
  253.                     echo "\"
  254.                                                class=\"position-relative ";
  255.                     // line 109
  256.                     if ((twig_get_attribute($this->env$this->source$context["subcat"], "id", [], "any"falsefalsetrue109) == twig_get_attribute($this->env$this->source, (isset($context["subcategory"]) || array_key_exists("subcategory"$context) ? $context["subcategory"] : (function () { throw new RuntimeError('Variable "subcategory" does not exist.'109$this->source); })()), "id", [], "any"falsefalsetrue109))) {
  257.                         echo "active";
  258.                     }
  259.                     echo "\">";
  260.                     echo twig_escape_filter($this->envtwig_capitalize_string_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["subcat"], "oms", [], "any"falsefalsetrue109), 109$this->source)), "html"nulltrue);
  261.                     echo "
  262.                                                 <span class=\"material-symbols-outlined inline-icon text-secondary\">
  263. chevron_right
  264. </span></a>
  265.                                         </li>
  266.                                     ";
  267.                 }
  268.                 $_parent $context['_parent'];
  269.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['subcat'], $context['_parent'], $context['loop']);
  270.                 $context array_intersect_key($context$_parent) + $_parent;
  271.                 // line 115
  272.                 echo "                                </ul>
  273.                             ";
  274.             }
  275.             // line 117
  276.             echo "                            <svg height=\"100%\" width=\"100%\" xmlns=\"http://www.w3.org/2000/svg\">
  277.                                 <clipPath clipPathUnits=\"objectBoundingBox\" id=\"shapeyellow\">
  278.                                     <path
  279.                                         d=\"M0.536,0.991 s-0.414,0.038,-0.47,-0.038 C0.013,0.879,-0.009,0.825,0.004,0.696 s0.013,-0.268,0.013,-0.376 C0.018,0.133,0.026,0.017,0.269,0.006 C0.512,-0.005,0.731,-0.001,0.854,0.023 c0.121,0.023,0.14,0.05,0.143,0.241 c0.003,0.192,0.017,0.613,-0.062,0.688 c-0.054,0.051,-0.125,0.042,-0.399,0.038\"></path>
  280.                                 </clipPath>
  281.                             </svg>
  282.                         </div>
  283.                     </div>
  284.                 </div>
  285.                 <div class=\"col-12 col-md-7 col-lg-8\">
  286.                     <div class=\"row mb-5\">
  287.                         <div class=\"col-8 mb-3 pt-5 position-relative\">
  288.                             ";
  289.             // line 131
  290.             $context["categoryLink"] = $this->extensions['App\Twig\Extension\ProductExtension']->generateGroupLink($this->sandbox->ensureToStringAllowed((isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'131$this->source); })()), 131$this->source));
  291.             // line 132
  292.             echo "                            <h1>
  293.                                     ";
  294.             // line 133
  295.             if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'133$this->source); })()), "combinedCategoryName", [], "any"falsefalsetrue133))) {
  296.                 // line 134
  297.                 echo "                                        ";
  298.                 $context["categorieName"] = twig_capitalize_string_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'134$this->source); })()), "combinedCategoryName", [], "any"falsefalsetrue134), 134$this->source));
  299.                 // line 135
  300.                 echo "                                    ";
  301.             } else {
  302.                 // line 136
  303.                 echo "                                        ";
  304.                 $context["categorieName"] = twig_capitalize_string_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'136$this->source); })()), "oms", [], "any"falsefalsetrue136), 136$this->source));
  305.                 // line 137
  306.                 echo "                                    ";
  307.             }
  308.             // line 138
  309.             echo "                                    ";
  310.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["categorieName"]) || array_key_exists("categorieName"$context) ? $context["categorieName"] : (function () { throw new RuntimeError('Variable "categorieName" does not exist.'138$this->source); })()), 138$this->source), "html"nulltrue);
  311.             echo "
  312.                                 </h1>
  313.                             <span class=\"position-absolute top-0 pt-3\">
  314.                                 <a href=\"";
  315.             // line 141
  316.             if ($this->extensions['App\Twig\Extension\CheckwebsiteSettingExtension']->getCheckWebsitesetting("product_document""document")) {
  317.                 echo twig_escape_filter($this->env$this->extensions['MultilingualBundle\Twig\Extension\InotherlangExtension']->getInotherlang("LocalizedDocument"$this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("product_document")), "html"nulltrue);
  318.             }
  319.             echo "\">";
  320.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Aanbod"), "html"nulltrue);
  321.             echo "</a>
  322.                                 /
  323.                                 <a href=\"";
  324.             // line 143
  325.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["categoryLink"]) || array_key_exists("categoryLink"$context) ? $context["categoryLink"] : (function () { throw new RuntimeError('Variable "categoryLink" does not exist.'143$this->source); })()), 143$this->source), "html"nulltrue);
  326.             echo "\">
  327.                                     ";
  328.             // line 144
  329.             if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'144$this->source); })()), "combinedCategoryName", [], "any"falsefalsetrue144))) {
  330.                 // line 145
  331.                 echo "                                        ";
  332.                 $context["categorieName"] = twig_capitalize_string_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'145$this->source); })()), "combinedCategoryName", [], "any"falsefalsetrue145), 145$this->source));
  333.                 // line 146
  334.                 echo "                                    ";
  335.             } else {
  336.                 // line 147
  337.                 echo "                                        ";
  338.                 $context["categorieName"] = twig_capitalize_string_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'147$this->source); })()), "oms", [], "any"falsefalsetrue147), 147$this->source));
  339.                 // line 148
  340.                 echo "                                    ";
  341.             }
  342.             // line 149
  343.             echo "                                    ";
  344.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["categorieName"]) || array_key_exists("categorieName"$context) ? $context["categorieName"] : (function () { throw new RuntimeError('Variable "categorieName" does not exist.'149$this->source); })()), 149$this->source), "html"nulltrue);
  345.             echo "
  346.                                 </a>
  347.                                 /
  348.                                 <span class=\"text-primary\">";
  349.             // line 152
  350.             echo twig_escape_filter($this->envtwig_capitalize_string_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["subcategory"]) || array_key_exists("subcategory"$context) ? $context["subcategory"] : (function () { throw new RuntimeError('Variable "subcategory" does not exist.'152$this->source); })()), "oms", [], "any"falsefalsetrue152), 152$this->source)), "html"nulltrue);
  351.             echo "</span>
  352.                             </span>
  353.                         </div>
  354.                         <p class=\"text-black\">";
  355.             // line 155
  356.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'155$this->source); })()), "infoProductGroup", [], "any"falsefalsetrue155), 155$this->source), "html"nulltrue);
  357.             echo "</p>
  358.                         <h2 class=\"text-primary\">";
  359.             // line 156
  360.             echo twig_escape_filter($this->envtwig_capitalize_string_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["subcategory"]) || array_key_exists("subcategory"$context) ? $context["subcategory"] : (function () { throw new RuntimeError('Variable "subcategory" does not exist.'156$this->source); })()), "oms", [], "any"falsefalsetrue156), 156$this->source)), "html"nulltrue);
  361.             echo "</h2>
  362.                         <p class=\"text-black\">";
  363.             // line 157
  364.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["subcategory"]) || array_key_exists("subcategory"$context) ? $context["subcategory"] : (function () { throw new RuntimeError('Variable "subcategory" does not exist.'157$this->source); })()), "infoProductSubGroup", [], "any"falsefalsetrue157), 157$this->source), "html"nulltrue);
  365.             echo "</p>
  366.                     </div>
  367.                     <div class=\"row g-5 mb-5 row-cols-2 row-cols-md-3 row-cols-lg-4 productoverview\">
  368.                         ";
  369.             // line 161
  370.             $context['_parent'] = $context;
  371.             $context['_seq'] = twig_ensure_traversable((isset($context["productlist"]) || array_key_exists("productlist"$context) ? $context["productlist"] : (function () { throw new RuntimeError('Variable "productlist" does not exist.'161$this->source); })()));
  372.             foreach ($context['_seq'] as $context["_key"] => $context["product"]) {
  373.                 // line 162
  374.                 echo "
  375.                             ";
  376.                 // line 163
  377.                 $context["detailLink"] = $this->extensions['App\Twig\Extension\ProductExtension']->generateArticleLink($this->sandbox->ensureToStringAllowed((isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'163$this->source); })()), 163$this->source), $this->sandbox->ensureToStringAllowed((isset($context["subcategory"]) || array_key_exists("subcategory"$context) ? $context["subcategory"] : (function () { throw new RuntimeError('Variable "subcategory" does not exist.'163$this->source); })()), 163$this->source), $this->sandbox->ensureToStringAllowed($context["product"], 163$this->source));
  378.                 // line 164
  379.                 echo "
  380.                             ";
  381.                 // line 165
  382.                 if ((twig_get_attribute($this->env$this->source$context["product"], "promotion", [], "any"falsefalsetrue165) != true)) {
  383.                     // line 166
  384.                     echo "                                <div class=\"col\">
  385.                                     <div class=\"media-body text-center\">
  386.                                         <a href=\"";
  387.                     // line 168
  388.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["detailLink"]) || array_key_exists("detailLink"$context) ? $context["detailLink"] : (function () { throw new RuntimeError('Variable "detailLink" does not exist.'168$this->source); })()), 168$this->source), "html"nulltrue);
  389.                     echo "\">
  390.                                             ";
  391.                     // line 169
  392.                     if (twig_get_attribute($this->env$this->source$context["product"], "getFotos", [], "method"truetruetrue169)) {
  393.                         // line 170
  394.                         echo "                                                ";
  395.                         if (twig_get_attribute($this->env$this->source$context["product"], "getFotos", [], "method"falsefalsetrue170)) {
  396.                             // line 171
  397.                             echo "                                                    <div class=\"position-relative\">
  398.                                                         <img src=\"";
  399.                             // line 172
  400.                             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["product"], "getFotos", [], "method"falsefalsetrue172), "getThumbnail", [=> "prod-thumb"], "method"falsefalsetrue172), 172$this->source), "html"nulltrue);
  401.                             echo "\"
  402.                                                              class=\"img-fluid\">
  403.                                                     </div>
  404.                                                 ";
  405.                         } else {
  406.                             // line 180
  407.                             echo "                                                    <div>
  408.                                                         <img src=\"/static/img/noimage.png\" class=\"img-fluid\">
  409.                                                     </div>
  410.                                                 ";
  411.                         }
  412.                         // line 184
  413.                         echo "                                            ";
  414.                     }
  415.                     // line 185
  416.                     echo "
  417.                                             <div class=\"fw-bold pt-3\">
  418.                                                 ";
  419.                     // line 187
  420.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["product"], "oms", [], "any"falsefalsetrue187), 187$this->source), "html"nulltrue);
  421.                     echo "
  422.                                             </div>
  423.                                         </a>
  424.                                         <div class=\"d-inline-block\">
  425.                                             ";
  426.                     // line 192
  427.                     if (twig_get_attribute($this->env$this->source$context["product"], "prijs", [], "any"truetruetrue192)) {
  428.                         // line 193
  429.                         echo "                                                ";
  430.                         if (twig_get_attribute($this->env$this->source$context["product"], "prijs", [], "any"truetruetrue193)) {
  431.                             // line 194
  432.                             echo "                                                    ";
  433.                             if (twig_get_attribute($this->env$this->source$context["product"], "productAPE", [], "any"falsefalsetrue194)) {
  434.                                 // line 195
  435.                                 echo "                                                        € ";
  436.                                 echo twig_escape_filter($this->envtwig_number_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["product"], "prijs", [], "any"falsefalsetrue195), 195$this->source), 2","" "), "html"nulltrue);
  437.                                 echo " / ";
  438.                                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["product"], "APEeenheid", [], "any"falsefalsetrue195), 195$this->source)), "html"nulltrue);
  439.                                 echo "
  440.                                                     ";
  441.                             } else {
  442.                                 // line 197
  443.                                 echo "                                                        € ";
  444.                                 echo twig_escape_filter($this->envtwig_number_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["product"], "prijs", [], "any"falsefalsetrue197), 197$this->source), 2","" "), "html"nulltrue);
  445.                                 echo "
  446.                                                     ";
  447.                             }
  448.                             // line 199
  449.                             echo "                                                ";
  450.                         }
  451.                         // line 200
  452.                         echo "                                            ";
  453.                     }
  454.                     // line 201
  455.                     echo "                                        </div>
  456.                                         <div class=\"d-inline-block\">
  457.                                             ";
  458.                     // line 205
  459.                     if ((twig_get_attribute($this->env$this->source$context["product"], "stock", [], "any"falsefalsetrue205) <= 0)) {
  460.                         // line 206
  461.                         echo "                                                <span class=\"stockrood ms-1\">
  462.                              <a href=\"#\" data-bs-toggle=\"tooltip\" data-bs-title=\"";
  463.                         // line 207
  464.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("momenteel niet voorradig"), "html"nulltrue);
  465.                         echo "\"
  466.                                 data-bs-placement=\"right\"><i class=\"fas fa-xs fa-circle\"></i></a>
  467.                          </span>
  468.                                             ";
  469.                     } elseif ((twig_get_attribute($this->env$this->source,                     // line 210
  470. $context["product"], "stock", [], "any"falsefalsetrue210) <= twig_get_attribute($this->env$this->source$context["product"], "aantalVerkochtLaatsteMaand", [], "any"falsefalsetrue210))) {
  471.                         // line 211
  472.                         echo "                                                <span class=\"stockoranje ms-1\">
  473.                                 <a href=\"#\" data-bs-toggle=\"tooltip\" data-bs-title=\"";
  474.                         // line 212
  475.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("beperkte voorraad"), "html"nulltrue);
  476.                         echo "\"
  477.                                    data-bs-placement=\"right\"><i class=\"fas fa-xs  fa-circle\"></i></a></span>
  478.                                             ";
  479.                     } elseif ((twig_get_attribute($this->env$this->source,                     // line 214
  480. $context["product"], "stock", [], "any"falsefalsetrue214) > twig_get_attribute($this->env$this->source$context["product"], "aantalVerkochtLaatsteMaand", [], "any"falsefalsetrue214))) {
  481.                         // line 215
  482.                         echo "                                                <span class=\"stockgroen ms-1\">
  483.                                 <a href=\"#\" data-bs-toggle=\"tooltip\" data-bs-title=\"";
  484.                         // line 216
  485.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("voldoende vooraad"), "html"nulltrue);
  486.                         echo "\"
  487.                                    data-bs-placement=\"right\"><i class=\"fas fa-xs fa-circle\"></i></a></span>
  488.                                             ";
  489.                     }
  490.                     // line 219
  491.                     echo "                                        </div>
  492.                                         ";
  493.                     // line 224
  494.                     echo "                                    </div>
  495.                                 </div>
  496.                             ";
  497.                 } else {
  498.                     // line 227
  499.                     echo "                                <div class=\"col\">
  500.                                     <div class=\"media-body text-center\">
  501.                                         <a href=\"";
  502.                     // line 229
  503.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["detailLink"]) || array_key_exists("detailLink"$context) ? $context["detailLink"] : (function () { throw new RuntimeError('Variable "detailLink" does not exist.'229$this->source); })()), 229$this->source), "html"nulltrue);
  504.                     echo "\">
  505.                                             ";
  506.                     // line 230
  507.                     if (twig_get_attribute($this->env$this->source$context["product"], "getFotos", [], "method"truetruetrue230)) {
  508.                         // line 231
  509.                         echo "                                                ";
  510.                         if (twig_get_attribute($this->env$this->source$context["product"], "getFotos", [], "method"falsefalsetrue231)) {
  511.                             // line 232
  512.                             echo "                                                    <div class=\"position-relative\">
  513.                                                         <img src=\"";
  514.                             // line 233
  515.                             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["product"], "getFotos", [], "method"falsefalsetrue233), "getThumbnail", [=> "prod-thumb"], "method"falsefalsetrue233), 233$this->source), "html"nulltrue);
  516.                             echo "\"
  517.                                                              class=\"img-fluid\">
  518.                                                     </div>
  519.                                                 ";
  520.                         } else {
  521.                             // line 241
  522.                             echo "                                                    <div>
  523.                                                         <img src=\"/static/img/noimage.png\" class=\"img-fluid\">
  524.                                                     </div>
  525.                                                 ";
  526.                         }
  527.                         // line 245
  528.                         echo "                                            ";
  529.                     }
  530.                     // line 246
  531.                     echo "
  532.                                             <div class=\"fw-bold pt-3\">
  533.                                                 ";
  534.                     // line 248
  535.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["product"], "oms", [], "any"falsefalsetrue248), 248$this->source), "html"nulltrue);
  536.                     echo "
  537.                                             </div>
  538.                                         </a>
  539.                                         <div class=\"d-inline-block\">
  540.                                             ";
  541.                     // line 254
  542.                     if (twig_get_attribute($this->env$this->source$context["product"], "promoprijs", [], "any"truetruetrue254)) {
  543.                         // line 255
  544.                         echo "                                                ";
  545.                         if ((twig_get_attribute($this->env$this->source$context["product"], "promoprijs", [], "any"falsefalsetrue255) > 0)) {
  546.                             // line 256
  547.                             echo "                                                    <div class=\"promoprijs\">
  548.                                                         <div class=\"d-inline-block\">
  549.                                                             ";
  550.                             // line 258
  551.                             if (twig_get_attribute($this->env$this->source$context["product"], "productAPE", [], "any"falsefalsetrue258)) {
  552.                                 // line 259
  553.                                 echo "                                                                ";
  554.                                 $context["APE"] = (twig_get_attribute($this->env$this->source$context["product"], "prijs", [], "any"falsefalsetrue259) * twig_get_attribute($this->env$this->source$context["product"], "AantalPerEenheid", [], "any"falsefalsetrue259));
  555.                                 // line 260
  556.                                 echo "                                                                ";
  557.                                 $context["APEpromo"] = (twig_get_attribute($this->env$this->source$context["product"], "promoprijs", [], "any"falsefalsetrue260) * twig_get_attribute($this->env$this->source$context["product"], "AantalPerEenheid", [], "any"falsefalsetrue260));
  558.                                 // line 261
  559.                                 echo "                                                                <strike>€ ";
  560.                                 echo twig_escape_filter($this->envtwig_number_format_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["APE"]) || array_key_exists("APE"$context) ? $context["APE"] : (function () { throw new RuntimeError('Variable "APE" does not exist.'261$this->source); })()), 261$this->source), 2","" "), "html"nulltrue);
  561.                                 echo "</strike> <span>€ ";
  562.                                 echo twig_escape_filter($this->envtwig_number_format_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["APEpromo"]) || array_key_exists("APEpromo"$context) ? $context["APEpromo"] : (function () { throw new RuntimeError('Variable "APEpromo" does not exist.'261$this->source); })()), 261$this->source), 2","" "), "html"nulltrue);
  563.                                 echo "</span>
  564.                                                             ";
  565.                             } else {
  566.                                 // line 263
  567.                                 echo "                                                                <strike>€ ";
  568.                                 echo twig_escape_filter($this->envtwig_number_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["product"], "prijs", [], "any"falsefalsetrue263), 263$this->source), 2","" "), "html"nulltrue);
  569.                                 echo "</strike> <span>€ ";
  570.                                 echo twig_escape_filter($this->envtwig_number_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["product"], "promoprijs", [], "any"falsefalsetrue263), 263$this->source), 2","" "), "html"nulltrue);
  571.                                 echo "</span>
  572.                                                             ";
  573.                             }
  574.                             // line 265
  575.                             echo "                                                        </div>
  576.                                                     </div>
  577.                                                 ";
  578.                         } else {
  579.                             // line 268
  580.                             echo "                                                    ";
  581.                             if (twig_get_attribute($this->env$this->source$context["product"], "productAPE", [], "any"falsefalsetrue268)) {
  582.                                 // line 269
  583.                                 echo "                                                        ";
  584.                                 $context["APE"] = (twig_get_attribute($this->env$this->source$context["product"], "prijs", [], "any"falsefalsetrue269) * twig_get_attribute($this->env$this->source$context["product"], "AantalPerEenheid", [], "any"falsefalsetrue269));
  585.                                 // line 270
  586.                                 echo "                                                        <br>€ ";
  587.                                 echo twig_escape_filter($this->envtwig_number_format_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["APE"]) || array_key_exists("APE"$context) ? $context["APE"] : (function () { throw new RuntimeError('Variable "APE" does not exist.'270$this->source); })()), 270$this->source), 2","" "), "html"nulltrue);
  588.                                 echo "
  589.                                                     ";
  590.                             } else {
  591.                                 // line 272
  592.                                 echo "                                                        <br>€ ";
  593.                                 echo twig_escape_filter($this->envtwig_number_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["product"], "prijs", [], "any"falsefalsetrue272), 272$this->source), 2","" "), "html"nulltrue);
  594.                                 echo "
  595.                                                     ";
  596.                             }
  597.                             // line 274
  598.                             echo "                                                ";
  599.                         }
  600.                         // line 275
  601.                         echo "                                            ";
  602.                     }
  603.                     // line 276
  604.                     echo "                                        </div>
  605.                                         <div class=\"d-inline-block\">
  606.                                             ";
  607.                     // line 280
  608.                     if ((twig_get_attribute($this->env$this->source$context["product"], "stock", [], "any"falsefalsetrue280) <= 0)) {
  609.                         // line 281
  610.                         echo "                                                <span class=\"stockrood ms-1\">
  611.                              <a href=\"#\" data-bs-toggle=\"tooltip\" data-bs-title=\"";
  612.                         // line 282
  613.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("momenteel niet voorradig"), "html"nulltrue);
  614.                         echo "\"
  615.                                 data-bs-placement=\"right\"><i class=\"fas fa-xs fa-circle\"></i></a>
  616.                          </span>
  617.                                             ";
  618.                     } elseif ((twig_get_attribute($this->env$this->source,                     // line 285
  619. $context["product"], "stock", [], "any"falsefalsetrue285) <= twig_get_attribute($this->env$this->source$context["product"], "aantalVerkochtLaatsteMaand", [], "any"falsefalsetrue285))) {
  620.                         // line 286
  621.                         echo "                                                <span class=\"stockoranje ms-1\">
  622.                                 <a href=\"#\" data-bs-toggle=\"tooltip\" data-bs-title=\"";
  623.                         // line 287
  624.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("beperkte voorraad"), "html"nulltrue);
  625.                         echo "\"
  626.                                    data-bs-placement=\"right\"><i class=\"fas fa-xs  fa-circle\"></i></a></span>
  627.                                             ";
  628.                     } elseif ((twig_get_attribute($this->env$this->source,                     // line 289
  629. $context["product"], "stock", [], "any"falsefalsetrue289) > twig_get_attribute($this->env$this->source$context["product"], "aantalVerkochtLaatsteMaand", [], "any"falsefalsetrue289))) {
  630.                         // line 290
  631.                         echo "                                                <span class=\"stockgroen ms-1\">
  632.                                 <a href=\"#\" data-bs-toggle=\"tooltip\" data-bs-title=\"";
  633.                         // line 291
  634.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("voldoende vooraad"), "html"nulltrue);
  635.                         echo "\"
  636.                                    data-bs-placement=\"right\"><i class=\"fas fa-xs fa-circle\"></i></a></span>
  637.                                             ";
  638.                     }
  639.                     // line 294
  640.                     echo "                                        </div>
  641.                                         ";
  642.                     // line 299
  643.                     echo "                                    </div>
  644.                                 </div>
  645.                             ";
  646.                 }
  647.                 // line 302
  648.                 echo "
  649.                         ";
  650.             }
  651.             $_parent $context['_parent'];
  652.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['product'], $context['_parent'], $context['loop']);
  653.             $context array_intersect_key($context$_parent) + $_parent;
  654.             // line 304
  655.             echo "                    </div>
  656.                     <div class=\"row\">
  657.                         <div class=\"col-12 pagination\">
  658.                             ";
  659.             // line 308
  660.             $this->loadTemplate("includes/pagination-product-ajax.html.twig""product/suboverview.html.twig"308)->display($context);
  661.             // line 309
  662.             echo "                        </div>
  663.                     </div>
  664.                     <div class=\"row mb-5\">
  665.                         <div class=\"col-12 text-center\">
  666.                             ";
  667.             // line 314
  668.             $context["categoryLink"] = $this->extensions['App\Twig\Extension\ProductExtension']->generateGroupLink($this->sandbox->ensureToStringAllowed((isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'314$this->source); })()), 314$this->source));
  669.             // line 315
  670.             echo "                            <a class=\"btn btn-outline-secondary\"
  671.                                href=\"";
  672.             // line 316
  673.             if ($this->extensions['App\Twig\Extension\CheckwebsiteSettingExtension']->getCheckWebsitesetting("product_document""document")) {
  674.                 echo twig_escape_filter($this->env$this->extensions['MultilingualBundle\Twig\Extension\InotherlangExtension']->getInotherlang("LocalizedDocument"$this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("product_document")), "html"nulltrue);
  675.             }
  676.             echo "\">
  677.                                 <span class=\"material-symbols-outlined inline-icon\">
  678. chevron_left
  679. </span> ";
  680.             // line 319
  681.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Terug naar aanbod"), "html"nulltrue);
  682.             // line 320
  683.             echo "                            </a>
  684.                         </div>
  685.                     </div>
  686.                 </div>
  687.             </div>
  688.         </div>
  689.     ";
  690.         }
  691.         
  692.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  693.         
  694.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  695.     }
  696.     public function getTemplateName()
  697.     {
  698.         return "product/suboverview.html.twig";
  699.     }
  700.     public function isTraitable()
  701.     {
  702.         return false;
  703.     }
  704.     public function getDebugInfo()
  705.     {
  706.         return array (  726 => 320,  724 => 319,  716 => 316,  713 => 315,  711 => 314,  704 => 309,  702 => 308,  696 => 304,  689 => 302,  684 => 299,  679 => 294,  673 => 291,  670 => 290,  668 => 289,  663 => 287,  660 => 286,  658 => 285,  652 => 282,  649 => 281,  647 => 280,  641 => 276,  638 => 275,  635 => 274,  629 => 272,  623 => 270,  620 => 269,  617 => 268,  612 => 265,  604 => 263,  596 => 261,  593 => 260,  590 => 259,  588 => 258,  584 => 256,  581 => 255,  579 => 254,  570 => 248,  566 => 246,  563 => 245,  557 => 241,  546 => 233,  543 => 232,  540 => 231,  538 => 230,  534 => 229,  530 => 227,  525 => 224,  520 => 219,  514 => 216,  511 => 215,  509 => 214,  504 => 212,  501 => 211,  499 => 210,  493 => 207,  490 => 206,  488 => 205,  482 => 201,  479 => 200,  476 => 199,  470 => 197,  462 => 195,  459 => 194,  456 => 193,  454 => 192,  446 => 187,  442 => 185,  439 => 184,  433 => 180,  422 => 172,  419 => 171,  416 => 170,  414 => 169,  410 => 168,  406 => 166,  404 => 165,  401 => 164,  399 => 163,  396 => 162,  392 => 161,  385 => 157,  381 => 156,  377 => 155,  371 => 152,  364 => 149,  361 => 148,  358 => 147,  355 => 146,  352 => 145,  350 => 144,  346 => 143,  337 => 141,  330 => 138,  327 => 137,  324 => 136,  321 => 135,  318 => 134,  316 => 133,  313 => 132,  311 => 131,  295 => 117,  291 => 115,  275 => 109,  271 => 108,  268 => 107,  265 => 106,  261 => 105,  258 => 104,  256 => 103,  252 => 102,  233 => 86,  224 => 80,  217 => 76,  206 => 68,  194 => 59,  183 => 51,  174 => 45,  171 => 44,  166 => 41,  148 => 37,  144 => 36,  135 => 35,  132 => 34,  115 => 33,  110 => 31,  107 => 30,  105 => 29,  99 => 26,  86 => 15,  83 => 14,  73 => 13,  63 => 1,  60 => 10,  57 => 7,  54 => 5,  52 => 4,  50 => 3,  37 => 1,);
  707.     }
  708.     public function getSourceContext()
  709.     {
  710.         return new Source("{% extends base_layout() %}
  711. {% if category.oms is not empty and subcategory.oms is not empty %}
  712.     {% if category.combinedCategoryName is not empty %}
  713.         {% set categorieName = category.combinedCategoryName|capitalize %}
  714.     {% else %}
  715.         {% set categorieName = category.oms|capitalize %}
  716.     {% endif %}
  717.     {% set head_title = subcategory.oms ~ ' | ' ~ categorieName %}
  718. {% endif %}
  719. {% block content %}
  720.     {% if category is defined %}
  721.         <script>
  722.             const tooltipTriggerList = document.querySelectorAll('[data-bs-toggle=\"tooltip\"]')
  723.             const tooltipList = [...tooltipTriggerList].map(tooltipTriggerEl => new bootstrap.Tooltip(tooltipTriggerEl))
  724.         </script>
  725.         <div class=\"container\">
  726.             <div class=\"row\">
  727.                 <div class=\"col-12 col-md-5 col-lg-4 mb-5\">
  728.                     <div class=\"area-col h-auto\">
  729.                         <div class=\"area-col-inner position-relative area-shape-responsive area-shape-default bg-light-grey bg-opacity-50 p-5 submenu my-3\">
  730.                             <h3 class=\"mb-3 text-secondary\">{{ 'Filters'|trans }}</h3>
  731.                             <hr>
  732.                             <div class=\"ms-3\">
  733.                                 {% if merken|length > 0 %}
  734.                                     <div class=\"my-3\">
  735.                                         <h4>{{ 'Merken'|trans }}</h4>
  736.                                         <ul class=\"list-group\">
  737.                                             {% for merk in merken %}
  738.                                                 <li class=\"form-check\">
  739.                                                     <input class=\"form-check-input me-1 filtermerk\" type=\"checkbox\" value=\"{% if merk == 'Overige merken' %}{% else %}{{ merk }}{% endif %}\" id=\"flexCheck{{ loop.index }}\">
  740.                                                     <label class=\"form-check-label\" for=\"flexCheck{{ loop.index }}\">
  741.                                                         {{ merk }}
  742.                                                     </label>
  743.                                                 </li>
  744.                                             {% endfor %}
  745.                                         </ul>
  746.                                     </div>
  747.                                 {% endif %}
  748.                                 <div class=\"my-3\">
  749.                                     <h4>{{ 'Stock Status'|trans }}</h4>
  750.                                     <ul class=\"list-group\">
  751.                                         <li class=\"form-check\">
  752.                                             <input class=\"form-check-input filterstock\" type=\"checkbox\" value=\"2\" id=\"stockCheck1\">
  753.                                             <label class=\"form-check-label\" for=\"stockCheck1\">
  754.                                                         <span class=\"stockgroen ms-1\">
  755.                                                             <i class=\"fas fa-xs fa-circle\"></i> {{ 'Op voorraad'|trans }}
  756.                                                         </span>
  757.                                             </label>
  758.                                         </li>
  759.                                         <li class=\"form-check\">
  760.                                             <input class=\"form-check-input filterstock\" type=\"checkbox\" value=\"1\" id=\"stockCheck2\">
  761.                                             <label class=\"form-check-label\" for=\"stockCheck2\">
  762.                                                         <span class=\"stockoranje ms-1\">
  763.                                                         <i class=\"fas fa-xs  fa-circle\"></i> {{ 'Bijna uitverkocht'|trans }}
  764.                                                     </span>
  765.                                             </label>
  766.                                         </li>
  767.                                         <li class=\"form-check\">
  768.                                             <input class=\"form-check-input filterstock\" type=\"checkbox\" value=\"0\" id=\"stockCheck3\">
  769.                                             <label class=\"form-check-label\" for=\"stockCheck3\">
  770.                                                         <span class=\"stockrood ms-1\">
  771.                                                             <i class=\"fas fa-xs fa-circle\"></i> {{ 'Uitverkocht'|trans }}
  772.                                                         </span>
  773.                                             </label>
  774.                                         </li>
  775.                                     </ul>
  776.                                 </div>
  777.                                 <div class=\"my-3\">
  778.                                     <h4>{{ 'Prijs'|trans }}</h4>
  779.                                     <div class=\"form-check\">
  780.                                         <input class=\"form-check-input filterprice\" type=\"checkbox\" value=\"down\" id=\"flexCheckPriceDown\">
  781.                                         <label class=\"form-check-label\" for=\"flexCheckPriceDown\">
  782.                                             {{ 'Laag - Hoog'|trans }}
  783.                                         </label>
  784.                                     </div>
  785.                                     <div class=\"form-check\">
  786.                                         <input class=\"form-check-input filterprice\" type=\"checkbox\" value=\"up\" id=\"flexCheckPriceUp\">
  787.                                         <label class=\"form-check-label\" for=\"flexCheckPriceUp\">
  788.                                             {{ 'Hoog - Laag'|trans }}
  789.                                         </label>
  790.                                     </div>
  791.                                 </div>
  792.                             </div>
  793.                             <svg height=\"100%\" width=\"100%\" xmlns=\"http://www.w3.org/2000/svg\">
  794.                                 <clipPath clipPathUnits=\"objectBoundingBox\" id=\"shapeyellow\">
  795.                                     <path
  796.                                         d=\"M0.536,0.991 s-0.414,0.038,-0.47,-0.038 C0.013,0.879,-0.009,0.825,0.004,0.696 s0.013,-0.268,0.013,-0.376 C0.018,0.133,0.026,0.017,0.269,0.006 C0.512,-0.005,0.731,-0.001,0.854,0.023 c0.121,0.023,0.14,0.05,0.143,0.241 c0.003,0.192,0.017,0.613,-0.062,0.688 c-0.054,0.051,-0.125,0.042,-0.399,0.038\"></path>
  797.                                 </clipPath>
  798.                             </svg>
  799.                         </div>
  800.                     </div>
  801.                     <div class=\"area-col h-auto\">
  802.                         <div class=\"area-col-inner position-relative area-shape-responsive area-shape-default bg-light-grey bg-opacity-50 p-5 submenu\">
  803.                             <h3 class=\"mb-3 text-secondary\">{{ 'Categorieën'|trans }}</h3>
  804.                             {% if subcategoryList is defined %}
  805.                                 <ul class=\"list-unstyled\">
  806.                                     {% for subcat in subcategoryList %}
  807.                                         {% set detailLink = app_product_subgrouplink(category,subcat) %}
  808.                                         <li class=\"mb-3\">
  809.                                             <a href=\"{{ detailLink }}\"
  810.                                                class=\"position-relative {% if subcat.id == subcategory.id %}active{% endif %}\">{{ subcat.oms|capitalize }}
  811.                                                 <span class=\"material-symbols-outlined inline-icon text-secondary\">
  812. chevron_right
  813. </span></a>
  814.                                         </li>
  815.                                     {% endfor %}
  816.                                 </ul>
  817.                             {% endif %}
  818.                             <svg height=\"100%\" width=\"100%\" xmlns=\"http://www.w3.org/2000/svg\">
  819.                                 <clipPath clipPathUnits=\"objectBoundingBox\" id=\"shapeyellow\">
  820.                                     <path
  821.                                         d=\"M0.536,0.991 s-0.414,0.038,-0.47,-0.038 C0.013,0.879,-0.009,0.825,0.004,0.696 s0.013,-0.268,0.013,-0.376 C0.018,0.133,0.026,0.017,0.269,0.006 C0.512,-0.005,0.731,-0.001,0.854,0.023 c0.121,0.023,0.14,0.05,0.143,0.241 c0.003,0.192,0.017,0.613,-0.062,0.688 c-0.054,0.051,-0.125,0.042,-0.399,0.038\"></path>
  822.                                 </clipPath>
  823.                             </svg>
  824.                         </div>
  825.                     </div>
  826.                 </div>
  827.                 <div class=\"col-12 col-md-7 col-lg-8\">
  828.                     <div class=\"row mb-5\">
  829.                         <div class=\"col-8 mb-3 pt-5 position-relative\">
  830.                             {% set categoryLink = app_product_grouplink(category) %}
  831.                             <h1>
  832.                                     {% if category.combinedCategoryName is not empty %}
  833.                                         {% set categorieName = category.combinedCategoryName|capitalize %}
  834.                                     {% else %}
  835.                                         {% set categorieName = category.oms|capitalize %}
  836.                                     {% endif %}
  837.                                     {{ categorieName }}
  838.                                 </h1>
  839.                             <span class=\"position-absolute top-0 pt-3\">
  840.                                 <a href=\"{% if check_websitesetting('product_document', 'document') %}{{ inotherlang('LocalizedDocument', pimcore_website_config('product_document')) }}{% endif %}\">{{ 'Aanbod'|trans }}</a>
  841.                                 /
  842.                                 <a href=\"{{ categoryLink }}\">
  843.                                     {% if category.combinedCategoryName is not empty %}
  844.                                         {% set categorieName = category.combinedCategoryName|capitalize %}
  845.                                     {% else %}
  846.                                         {% set categorieName = category.oms|capitalize %}
  847.                                     {% endif %}
  848.                                     {{ categorieName }}
  849.                                 </a>
  850.                                 /
  851.                                 <span class=\"text-primary\">{{ subcategory.oms|capitalize }}</span>
  852.                             </span>
  853.                         </div>
  854.                         <p class=\"text-black\">{{ category.infoProductGroup }}</p>
  855.                         <h2 class=\"text-primary\">{{ subcategory.oms|capitalize }}</h2>
  856.                         <p class=\"text-black\">{{ subcategory.infoProductSubGroup }}</p>
  857.                     </div>
  858.                     <div class=\"row g-5 mb-5 row-cols-2 row-cols-md-3 row-cols-lg-4 productoverview\">
  859.                         {% for product in productlist %}
  860.                             {% set detailLink = app_product_articlelink(category,subcategory,product) %}
  861.                             {% if product.promotion != true %}
  862.                                 <div class=\"col\">
  863.                                     <div class=\"media-body text-center\">
  864.                                         <a href=\"{{ detailLink }}\">
  865.                                             {% if product.getFotos() is defined %}
  866.                                                 {% if product.getFotos() %}
  867.                                                     <div class=\"position-relative\">
  868.                                                         <img src=\"{{ product.getFotos().getThumbnail('prod-thumb') }}\"
  869.                                                              class=\"img-fluid\">
  870.                                                     </div>
  871.                                                 {% else %}
  872.                                                     <div>
  873.                                                         <img src=\"/static/img/noimage.png\" class=\"img-fluid\">
  874.                                                     </div>
  875.                                                 {% endif %}
  876.                                             {% endif %}
  877.                                             <div class=\"fw-bold pt-3\">
  878.                                                 {{ product.oms }}
  879.                                             </div>
  880.                                         </a>
  881.                                         <div class=\"d-inline-block\">
  882.                                             {% if product.prijs is defined %}
  883.                                                 {% if product.prijs is defined %}
  884.                                                     {% if product.productAPE %}
  885.                                                         € {{ product.prijs|number_format(2, ',', ' ') }} / {{ product.APEeenheid  | trans}}
  886.                                                     {% else %}
  887.                                                         € {{ product.prijs|number_format(2, ',', ' ') }}
  888.                                                     {% endif %}
  889.                                                 {% endif %}
  890.                                             {% endif %}
  891.                                         </div>
  892.                                         <div class=\"d-inline-block\">
  893.                                             {% if product.stock <= 0 %}
  894.                                                 <span class=\"stockrood ms-1\">
  895.                              <a href=\"#\" data-bs-toggle=\"tooltip\" data-bs-title=\"{{ 'momenteel niet voorradig'|trans }}\"
  896.                                 data-bs-placement=\"right\"><i class=\"fas fa-xs fa-circle\"></i></a>
  897.                          </span>
  898.                                             {% elseif product.stock <= product.aantalVerkochtLaatsteMaand %}
  899.                                                 <span class=\"stockoranje ms-1\">
  900.                                 <a href=\"#\" data-bs-toggle=\"tooltip\" data-bs-title=\"{{ 'beperkte voorraad'|trans }}\"
  901.                                    data-bs-placement=\"right\"><i class=\"fas fa-xs  fa-circle\"></i></a></span>
  902.                                             {% elseif product.stock > product.aantalVerkochtLaatsteMaand %}
  903.                                                 <span class=\"stockgroen ms-1\">
  904.                                 <a href=\"#\" data-bs-toggle=\"tooltip\" data-bs-title=\"{{ 'voldoende vooraad'|trans }}\"
  905.                                    data-bs-placement=\"right\"><i class=\"fas fa-xs fa-circle\"></i></a></span>
  906.                                             {% endif %}
  907.                                         </div>
  908.                                         {#
  909.                                         <a href=\"{{ detailLink }}\" class=\"btn btn-primary\">{{ 'Meer lezen'|trans }}</a> #}
  910.                                     </div>
  911.                                 </div>
  912.                             {% else %}
  913.                                 <div class=\"col\">
  914.                                     <div class=\"media-body text-center\">
  915.                                         <a href=\"{{ detailLink }}\">
  916.                                             {% if product.getFotos() is defined %}
  917.                                                 {% if product.getFotos() %}
  918.                                                     <div class=\"position-relative\">
  919.                                                         <img src=\"{{ product.getFotos().getThumbnail('prod-thumb') }}\"
  920.                                                              class=\"img-fluid\">
  921.                                                     </div>
  922.                                                 {% else %}
  923.                                                     <div>
  924.                                                         <img src=\"/static/img/noimage.png\" class=\"img-fluid\">
  925.                                                     </div>
  926.                                                 {% endif %}
  927.                                             {% endif %}
  928.                                             <div class=\"fw-bold pt-3\">
  929.                                                 {{ product.oms }}
  930.                                             </div>
  931.                                         </a>
  932.                                         <div class=\"d-inline-block\">
  933.                                             {% if product.promoprijs is defined %}
  934.                                                 {% if product.promoprijs > 0 %}
  935.                                                     <div class=\"promoprijs\">
  936.                                                         <div class=\"d-inline-block\">
  937.                                                             {% if product.productAPE %}
  938.                                                                 {% set APE = product.prijs * product.AantalPerEenheid %}
  939.                                                                 {% set APEpromo = product.promoprijs * product.AantalPerEenheid %}
  940.                                                                 <strike>€ {{ APE|number_format(2, ',', ' ') }}</strike> <span>€ {{ APEpromo|number_format(2, ',', ' ') }}</span>
  941.                                                             {% else %}
  942.                                                                 <strike>€ {{ product.prijs|number_format(2, ',', ' ') }}</strike> <span>€ {{ product.promoprijs|number_format(2, ',', ' ') }}</span>
  943.                                                             {% endif %}
  944.                                                         </div>
  945.                                                     </div>
  946.                                                 {% else %}
  947.                                                     {% if product.productAPE %}
  948.                                                         {% set APE = product.prijs * product.AantalPerEenheid %}
  949.                                                         <br>€ {{ APE|number_format(2, ',', ' ') }}
  950.                                                     {% else %}
  951.                                                         <br>€ {{ product.prijs|number_format(2, ',', ' ') }}
  952.                                                     {% endif %}
  953.                                                 {% endif %}
  954.                                             {% endif %}
  955.                                         </div>
  956.                                         <div class=\"d-inline-block\">
  957.                                             {% if product.stock <= 0 %}
  958.                                                 <span class=\"stockrood ms-1\">
  959.                              <a href=\"#\" data-bs-toggle=\"tooltip\" data-bs-title=\"{{ 'momenteel niet voorradig'|trans }}\"
  960.                                 data-bs-placement=\"right\"><i class=\"fas fa-xs fa-circle\"></i></a>
  961.                          </span>
  962.                                             {% elseif product.stock <= product.aantalVerkochtLaatsteMaand %}
  963.                                                 <span class=\"stockoranje ms-1\">
  964.                                 <a href=\"#\" data-bs-toggle=\"tooltip\" data-bs-title=\"{{ 'beperkte voorraad'|trans }}\"
  965.                                    data-bs-placement=\"right\"><i class=\"fas fa-xs  fa-circle\"></i></a></span>
  966.                                             {% elseif product.stock > product.aantalVerkochtLaatsteMaand %}
  967.                                                 <span class=\"stockgroen ms-1\">
  968.                                 <a href=\"#\" data-bs-toggle=\"tooltip\" data-bs-title=\"{{ 'voldoende vooraad'|trans }}\"
  969.                                    data-bs-placement=\"right\"><i class=\"fas fa-xs fa-circle\"></i></a></span>
  970.                                             {% endif %}
  971.                                         </div>
  972.                                         {#
  973.                                         <a href=\"{{ detailLink }}\" class=\"btn btn-primary\">{{ 'Meer lezen'|trans }}</a> #}
  974.                                     </div>
  975.                                 </div>
  976.                             {% endif %}
  977.                         {% endfor %}
  978.                     </div>
  979.                     <div class=\"row\">
  980.                         <div class=\"col-12 pagination\">
  981.                             {% include 'includes/pagination-product-ajax.html.twig' %}
  982.                         </div>
  983.                     </div>
  984.                     <div class=\"row mb-5\">
  985.                         <div class=\"col-12 text-center\">
  986.                             {% set categoryLink = app_product_grouplink(category) %}
  987.                             <a class=\"btn btn-outline-secondary\"
  988.                                href=\"{% if check_websitesetting('product_document', 'document') %}{{ inotherlang('LocalizedDocument', pimcore_website_config('product_document')) }}{% endif %}\">
  989.                                 <span class=\"material-symbols-outlined inline-icon\">
  990. chevron_left
  991. </span> {{ 'Terug naar aanbod'|trans }}{# {{ category.oms }} #}
  992.                             </a>
  993.                         </div>
  994.                     </div>
  995.                 </div>
  996.             </div>
  997.         </div>
  998.     {% endif %}
  999. {% endblock %}""product/suboverview.html.twig""/var/www/clients/client2/web42/web/pc/templates/product/suboverview.html.twig");
  1000.     }
  1001.     
  1002.     public function checkSecurity()
  1003.     {
  1004.         static $tags = array("if" => 3"set" => 5"for" => 33"include" => 308);
  1005.         static $filters = array("capitalize" => 5"escape" => 26"trans" => 26"length" => 29"number_format" => 195);
  1006.         static $functions = array("app_product_subgrouplink" => 106"app_product_grouplink" => 131"check_websitesetting" => 141"inotherlang" => 141"pimcore_website_config" => 141"app_product_articlelink" => 163"base_layout" => 1);
  1007.         try {
  1008.             $this->sandbox->checkSecurity(
  1009.                 ['if''set''for''include'],
  1010.                 ['capitalize''escape''trans''length''number_format'],
  1011.                 ['app_product_subgrouplink''app_product_grouplink''check_websitesetting''inotherlang''pimcore_website_config''app_product_articlelink''base_layout']
  1012.             );
  1013.         } catch (SecurityError $e) {
  1014.             $e->setSourceContext($this->source);
  1015.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  1016.                 $e->setTemplateLine($tags[$e->getTagName()]);
  1017.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  1018.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  1019.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  1020.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  1021.             }
  1022.             throw $e;
  1023.         }
  1024.     }
  1025. }