var/cache/dev/twig/69/69b383daa4d38bec1d668e3feb11b141eb07a2e44aba0a3326fb382a8d745433.php line 47

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. /* includes/header_b2c.html.twig */
  14. class __TwigTemplate_6f973b2ab6f65cc5a165868b6c1cede9eaf1fb0125f8009aff6398e8a1266910 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->parent false;
  23.         $this->blocks = [
  24.             'content' => [$this'block_content'],
  25.         ];
  26.     }
  27.     protected function doDisplay(array $context, array $blocks = [])
  28.     {
  29.         $macros $this->macros;
  30.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  31.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""includes/header_b2c.html.twig"));
  32.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  33.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""includes/header_b2c.html.twig"));
  34.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  35.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""includes/header_b2c.html.twig"));
  36.         // line 1
  37.         $this->displayBlock('content'$context$blocks);
  38.         
  39.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
  40.         
  41.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  42.         
  43.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  44.     }
  45.     public function block_content($context, array $blocks = [])
  46.     {
  47.         $macros $this->macros;
  48.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  49.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  50.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  51.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  52.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  53.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  54.         // line 2
  55.         $context["totalAmount"] = (array_key_exists("totalAmount"$context) && (isset($context["totalAmount"]) || array_key_exists("totalAmount"$context) ? $context["totalAmount"] : (function () { throw new RuntimeError('Variable "totalAmount" does not exist.'2$this->source); })()));
  56.         // line 3
  57.         $context["categories"] = $this->extensions['App\Twig\Extension\CategoryFilterExtension']->getCategories();
  58.         // line 4
  59.         $context["params"] = $this->extensions['App\Twig\Extension\CartExtension']->getAllParams();
  60.         // line 5
  61.         $context["userType"] = ((twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'5$this->source); })()), "user", [], "any"falsefalsefalse5)) ? (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'5$this->source); })()), "user", [], "any"falsefalsefalse5), "UserType", [], "any"falsefalsefalse5)) : (""));
  62.         // line 6
  63.         $context["role"] = ((twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'6$this->source); })()), "user", [], "any"falsefalsefalse6)) ? (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'6$this->source); })()), "user", [], "any"falsefalsefalse6), "UserRoles", [], "any"falsefalsefalse6)) : (""));
  64.         // line 7
  65.         $context["wesbiteName"] = twig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'7$this->source); })()), "getProperty", ["website_name"], "method"falsefalsefalse7);
  66.         // line 8
  67.         echo "
  68. ";
  69.         // line 9
  70.         $context["mecstore_lang"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'9$this->source); })()), "request", [], "any"falsefalsefalse9), "locale", [], "any"falsefalsefalse9);
  71.         // line 10
  72.         if (((isset($context["mecstore_lang"]) || array_key_exists("mecstore_lang"$context) ? $context["mecstore_lang"] : (function () { throw new RuntimeError('Variable "mecstore_lang" does not exist.'10$this->source); })()) == "en")) {
  73.             // line 11
  74.             echo "    ";
  75.             $context["prefix_language"] = "/en/";
  76.         } else {
  77.             // line 13
  78.             echo "    ";
  79.             $context["prefix_language"] = "/";
  80.         }
  81.         // line 15
  82.         echo "
  83.     <script>
  84.         window.portoTexts = {
  85.             addedToCart: \"";
  86.         // line 18
  87.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("added_to_cart"), "html"nulltrue);
  88.         echo "\",
  89.             viewCart: \"";
  90.         // line 19
  91.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("view_cart"), "html"nulltrue);
  92.         echo "\",
  93.             linkCart: \"";
  94.         // line 20
  95.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("link_cart"), "html"nulltrue);
  96.         echo "\",
  97.             linkCheckout: \"";
  98.         // line 21
  99.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("link_checkout"), "html"nulltrue);
  100.         echo "\",
  101.         };
  102.     </script>
  103.     <style>
  104.         .sidebar-shop .widget.prezzo {
  105.             display:none!important;
  106.         }
  107.     </style>
  108. <header class=\"header box-shadow\">
  109.    
  110.             <div class=\"header-middle sticky-header\" data-sticky-options=\"{'mobile': true}\">
  111.                 <div class=\"container\">
  112.                     <div class=\"header-left\">
  113.                         <button class=\"mobile-menu-toggler\" type=\"button\">
  114.                             <i class=\"fas fa-bars fa-2x\"></i>
  115.                             <!-- <img src=\"/mecstore/b2c/assets/images/custom/logo.png\" alt=\"Porto Logo\" width=\"111\" height=\"44\"> -->
  116.                         </button>
  117.                         
  118.                         <a href=\"";
  119.         // line 40
  120.         echo twig_escape_filter($this->env, (isset($context["prefix_language"]) || array_key_exists("prefix_language"$context) ? $context["prefix_language"] : (function () { throw new RuntimeError('Variable "prefix_language" does not exist.'40$this->source); })()), "html"nulltrue);
  121.         echo "\" class=\"logo\">
  122.                         ";
  123.         // line 41
  124.         if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED")) {
  125.             // line 42
  126.             echo "                            <img src=\"/mecstore/b2c/assets/images/custom/logo.png\" alt=\"Mecstore\" class=\"d-block\" width=\"262\" height=\"auto\" >
  127.                         ";
  128.         } else {
  129.             // line 44
  130.             echo "                            <img src=\"/mecstore/b2c/assets/images/custom/logo.png\" alt=\"Mecstore\" class=\"d-block\" width=\"262\" height=\"auto\" >
  131.                         ";
  132.         }
  133.         // line 46
  134.         echo "                            ";
  135.         if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED")) {
  136.             // line 47
  137.             echo "                            <a href=\"";
  138.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("b2c-account-index");
  139.             echo "\" class=\"d-block d-lg-none text-dark\">
  140.                                 ";
  141.             // line 48
  142.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Benvenuto"), "html"nulltrue);
  143.             echo " ";
  144.             // line 49
  145.             echo "                            </a>   
  146.                             ";
  147.         }
  148.         // line 51
  149.         echo "                        </a>
  150.                     </div>   
  151.                     <div class=\"header-center\">
  152.                         <div
  153.                             class=\"header-icon header-search header-search-inline header-search-category w-lg-max text-right mt-0\">
  154.                             <a href=\"#\" class=\"search-toggle\" role=\"button\"><i class=\"icon-search-3\"></i></a>
  155.                             <form action=\"";
  156.         // line 57
  157.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("b2c-search");
  158.         echo "\" id=\"search-form\" name=\"search-form\" method=\"get\">
  159.                                 <div class=\"header-search-wrapper\">
  160.                                     <input type=\"search\" class=\"form-control\" name=\"term\" id=\"term\" value=\"\"
  161.                                         placeholder=\"";
  162.         // line 60
  163.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Cerca prodotto..."), "html"nulltrue);
  164.         echo "\" required>
  165.                                     <div class=\"select-custom\">
  166.                                         <select id=\"cat\" name=\"cat\">
  167.                                             ";
  168.         // line 63
  169.         if ((isset($context["categories"]) || array_key_exists("categories"$context) ? $context["categories"] : (function () { throw new RuntimeError('Variable "categories" does not exist.'63$this->source); })())) {
  170.             // line 64
  171.             echo "                                                <option value=\"\" selected data-href=\"";
  172.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("b2c-shop-category", ["categoryname" => "ovunque""category" => 0]), "html"nulltrue);
  173.             echo "\">";
  174.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("tutto il catalogo"), "html"nulltrue);
  175.             echo "</option>
  176.                                                 ";
  177.             // line 65
  178.             $context['_parent'] = $context;
  179.             $context['_seq'] = twig_ensure_traversable((isset($context["categories"]) || array_key_exists("categories"$context) ? $context["categories"] : (function () { throw new RuntimeError('Variable "categories" does not exist.'65$this->source); })()));
  180.             foreach ($context['_seq'] as $context["_key"] => $context["category"]) {
  181.                 // line 66
  182.                 echo "                                                    ";
  183.                 if (twig_get_attribute($this->env$this->source, ($context["params"] ?? null), "cat", [], "any"truetruefalse66)) {
  184.                     // line 67
  185.                     echo "                                                        ";
  186.                     if ((twig_get_attribute($this->env$this->source, (isset($context["params"]) || array_key_exists("params"$context) ? $context["params"] : (function () { throw new RuntimeError('Variable "params" does not exist.'67$this->source); })()), "cat", [], "any"falsefalsefalse67) == twig_get_attribute($this->env$this->source$context["category"], "id", [], "any"falsefalsefalse67))) {
  187.                         // line 68
  188.                         echo "                                                            <option value=\"";
  189.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["category"], "Id", [], "any"falsefalsefalse68), "html"nulltrue);
  190.                         echo "\" selected data-href=\"";
  191.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("b2c-shop-category", ["categoryname" => twig_get_attribute($this->env$this->source$context["category"], "key", [], "any"falsefalsefalse68), "category" => twig_get_attribute($this->env$this->source$context["category"], "id", [], "any"falsefalsefalse68)]), "html"nulltrue);
  192.                         echo "\">";
  193.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["category"], "Name", [], "any"falsefalsefalse68), "html"nulltrue);
  194.                         echo "</option>
  195.                                                         ";
  196.                     } else {
  197.                         // line 70
  198.                         echo "                                                            <option value=\"";
  199.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["category"], "Id", [], "any"falsefalsefalse70), "html"nulltrue);
  200.                         echo "\" data-href=\"";
  201.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("b2c-shop-category", ["categoryname" => twig_get_attribute($this->env$this->source$context["category"], "key", [], "any"falsefalsefalse70), "category" => twig_get_attribute($this->env$this->source$context["category"], "id", [], "any"falsefalsefalse70)]), "html"nulltrue);
  202.                         echo "\">";
  203.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["category"], "Name", [], "any"falsefalsefalse70), "html"nulltrue);
  204.                         echo "</option>
  205.                                                         ";
  206.                     }
  207.                     // line 72
  208.                     echo "                                                    ";
  209.                 } else {
  210.                     // line 73
  211.                     echo "                                                            <option value=\"";
  212.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["category"], "Id", [], "any"falsefalsefalse73), "html"nulltrue);
  213.                     echo "\" data-href=\"";
  214.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("b2c-shop-category", ["categoryname" => twig_get_attribute($this->env$this->source$context["category"], "key", [], "any"falsefalsefalse73), "category" => twig_get_attribute($this->env$this->source$context["category"], "id", [], "any"falsefalsefalse73)]), "html"nulltrue);
  215.                     echo "\">";
  216.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["category"], "Name", [], "any"falsefalsefalse73), "html"nulltrue);
  217.                     echo "</option>
  218.                                                     ";
  219.                 }
  220.                 // line 75
  221.                 echo "                                                ";
  222.             }
  223.             $_parent $context['_parent'];
  224.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['category'], $context['_parent'], $context['loop']);
  225.             $context array_intersect_key($context$_parent) + $_parent;
  226.             // line 76
  227.             echo "                                            ";
  228.         }
  229.         // line 77
  230.         echo "                                        </select>
  231.                                     </div><!-- End .select-custom -->
  232.                                     <button class=\"btn icon-magnifier bg-dark text-white term-search-btn\" title=\"search\"
  233.                                         type=\"submit\"></button>
  234.                                 </div><!-- End .header-search-wrapper -->
  235.                             </form>
  236.                         </div><!-- End .header-search -->
  237.                     </div>
  238.                     ";
  239.         // line 86
  240.         if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED")) {
  241.             // line 87
  242.             echo "                    <div class=\"header-right ml-0 ml-lg-auto\">
  243.                         <a href=\"";
  244.             // line 88
  245.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("b2c-account-profile");
  246.             echo "\" class=\"pr-2 pr-xl-5 border-right border-dark d-none d-lg-block \">
  247.                             ";
  248.             // line 89
  249.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Benvenuto"), "html"nulltrue);
  250.             echo " ";
  251.             // line 90
  252.             echo "                        </a>
  253.                         <a href=\"";
  254.             // line 92
  255.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("account-logout");
  256.             echo "\" class=\"pl-2 pl-xl-5 d-none d-lg-block \" >
  257.                             ";
  258.             // line 93
  259.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("general.logout"), "html"nulltrue);
  260.             echo "
  261.                         </a>
  262.                         <div class=\"language-container\"></div>
  263.                     </div>
  264.                     ";
  265.         } else {
  266.             // line 98
  267.             echo "                    <div class=\"header-right ml-0 ml-lg-auto\">
  268.                         <a href=\"";
  269.             // line 99
  270.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("account-login");
  271.             echo "\" class=\"d-none d-lg-block login-lnk\">
  272.                             ";
  273.             // line 100
  274.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("general.login"), "html"nulltrue);
  275.             echo "
  276.                         </a>
  277.                         <div class=\"language-container\"></div>
  278.                     </div>
  279.                     ";
  280.         }
  281.         // line 105
  282.         echo "                </div>
  283.             </div>
  284.             <div class=\"header-bottom sticky-header\" data-sticky-options=\"{'mobile': false}\">
  285.                 <!-- header sticky -->
  286.                 <div class=\"container\">
  287.                     <div class=\"header-left\">
  288.                         <a href=\"/\" class=\"logo\">
  289.                             <img src=\"/mecstore/b2c/assets/images/custom_icons/logo-mecstore.png\" alt=\"Logo\">
  290.                         </a>
  291.                     </div>
  292.                     <div class=\"header-center ml-4\">
  293.                         <nav class=\"main-nav w-100\">
  294.                             <ul class=\"menu\">
  295.                                 <li class=\"mr-xl-5 mr-4\" >
  296.                                     <a href=\"";
  297.         // line 120
  298.         echo twig_escape_filter($this->env, (isset($context["prefix_language"]) || array_key_exists("prefix_language"$context) ? $context["prefix_language"] : (function () { throw new RuntimeError('Variable "prefix_language" does not exist.'120$this->source); })()), "html"nulltrue);
  299.         echo "\" class=\"page-index\" data-name=\"app-index.php\">Home</a>
  300.                                 </li>
  301.                                 <li class=\"mr-xl-5 mr-4\" >
  302.                                     <a class=\"page-index\">";
  303.         // line 123
  304.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("catalogo"), "html"nulltrue);
  305.         echo "</a>
  306.                                     <div class=\"megamenu megamenu-fixed-width megamenu-3cols\">
  307.                                         <div class=\"row\">
  308.                                             ";
  309.         // line 126
  310.         $context["count"] = 0;
  311.         // line 127
  312.         echo "                                            ";
  313.         $context['_parent'] = $context;
  314.         $context['_seq'] = twig_ensure_traversable($this->extensions['App\Twig\Extension\CategoryFilterExtension']->getCategories());
  315.         foreach ($context['_seq'] as $context["_key"] => $context["category"]) {
  316.             // line 128
  317.             echo "                                            ";
  318.             if (((isset($context["count"]) || array_key_exists("count"$context) ? $context["count"] : (function () { throw new RuntimeError('Variable "count" does not exist.'128$this->source); })()) == 0)) {
  319.                 echo "<div class=\"col-lg-4\">";
  320.             }
  321.             // line 129
  322.             echo "                                                <ul class=\"submenu\">
  323.                                                     <li><a href=\"";
  324.             // line 130
  325.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("b2c-shop-category", ["categoryname" => twig_get_attribute($this->env$this->source$context["category"], "key", [], "any"falsefalsefalse130), "category" => twig_get_attribute($this->env$this->source$context["category"], "id", [], "any"falsefalsefalse130)]), "html"nulltrue);
  326.             echo "\">";
  327.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["category"], "Name", [], "any"falsefalsefalse130), "html"nulltrue);
  328.             echo "</a></li>
  329.                                                 </ul> 
  330.                                             ";
  331.             // line 132
  332.             $context["count"] = ((isset($context["count"]) || array_key_exists("count"$context) ? $context["count"] : (function () { throw new RuntimeError('Variable "count" does not exist.'132$this->source); })()) + 1);
  333.             echo "                                        
  334.                                             ";
  335.             // line 133
  336.             if ((((isset($context["count"]) || array_key_exists("count"$context) ? $context["count"] : (function () { throw new RuntimeError('Variable "count" does not exist.'133$this->source); })()) % 9) == 0)) {
  337.                 echo " </div><div class=\"col-lg-4\"> ";
  338.             }
  339.             // line 134
  340.             echo "                                            ";
  341.         }
  342.         $_parent $context['_parent'];
  343.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['category'], $context['_parent'], $context['loop']);
  344.         $context array_intersect_key($context$_parent) + $_parent;
  345.         echo "  
  346.                                             </div>                                            
  347.                                                 ";
  348.         // line 137
  349.         echo "                                                
  350.                                                 ";
  351.         // line 138
  352.         echo "                                            
  353.                                         </div>
  354.                                     </div><!-- End .megamenu -->
  355.                                 </li>
  356.                                 <li class=\"mr-xl-5 mr-4\" >
  357.                                     <a class=\"page-index\">";
  358.         // line 143
  359.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("FORNITORI"), "html"nulltrue);
  360.         echo "</a>
  361.                                     <div class=\"megamenu megamenu-fixed-width megamenu-3cols providers\">
  362.                                         <div class=\"row\">
  363.                                             ";
  364.         // line 146
  365.         $context["count"] = 0;
  366.         // line 147
  367.         echo "                                            ";
  368.         $context["brands"] = $this->extensions['App\Twig\Extension\BrandFilterExtension']->getBrands();
  369.         // line 148
  370.         echo "                                            ";
  371.         $context['_parent'] = $context;
  372.         $context['_seq'] = twig_ensure_traversable((isset($context["brands"]) || array_key_exists("brands"$context) ? $context["brands"] : (function () { throw new RuntimeError('Variable "brands" does not exist.'148$this->source); })()));
  373.         foreach ($context['_seq'] as $context["_key"] => $context["brand"]) {
  374.             echo "                                                                              
  375.                                             ";
  376.             // line 149
  377.             if (((isset($context["count"]) || array_key_exists("count"$context) ? $context["count"] : (function () { throw new RuntimeError('Variable "count" does not exist.'149$this->source); })()) == 0)) {
  378.                 echo "<div class=\"col-lg-2\">";
  379.             }
  380.             // line 150
  381.             echo "                                                <ul class=\"submenu\">                                                 
  382.                                                     ";
  383.             // line 151
  384.             if (twig_get_attribute($this->env$this->source$context["brand"], "enableDedicatedPage", [], "any"falsefalsefalse151)) {
  385.                 // line 152
  386.                 echo "                                                    <li><a href=\"";
  387.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("b2c-brand", ["brandname" => twig_get_attribute($this->env$this->source$context["brand"], "key", [], "any"falsefalsefalse152), "brand" => twig_get_attribute($this->env$this->source$context["brand"], "id", [], "any"falsefalsefalse152)]), "html"nulltrue);
  388.                 echo "\">";
  389.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["brand"], "Name", [], "any"falsefalsefalse152), "html"nulltrue);
  390.                 echo "</a></li>
  391.                                                     ";
  392.             } else {
  393.                 // line 154
  394.                 echo "                                                    <li><a href=\"";
  395.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("b2c-shop-brand", ["brandname" => twig_get_attribute($this->env$this->source$context["brand"], "key", [], "any"falsefalsefalse154), "brand" => twig_get_attribute($this->env$this->source$context["brand"], "id", [], "any"falsefalsefalse154)]), "html"nulltrue);
  396.                 echo "\">";
  397.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["brand"], "Name", [], "any"falsefalsefalse154), "html"nulltrue);
  398.                 echo "</a></li>
  399.                                                     ";
  400.             }
  401.             // line 156
  402.             echo "                                                </ul> 
  403.                                             ";
  404.             // line 157
  405.             $context["count"] = ((isset($context["count"]) || array_key_exists("count"$context) ? $context["count"] : (function () { throw new RuntimeError('Variable "count" does not exist.'157$this->source); })()) + 1);
  406.             echo "    
  407.                                             ";
  408.             // line 158
  409.             $context["elements_column"] = ((int) floor((twig_length_filter($this->env, (isset($context["brands"]) || array_key_exists("brands"$context) ? $context["brands"] : (function () { throw new RuntimeError('Variable "brands" does not exist.'158$this->source); })())) / 6)) + 1);
  410.             echo "                        
  411.                                             ";
  412.             // line 159
  413.             if ((((isset($context["count"]) || array_key_exists("count"$context) ? $context["count"] : (function () { throw new RuntimeError('Variable "count" does not exist.'159$this->source); })()) % (isset($context["elements_column"]) || array_key_exists("elements_column"$context) ? $context["elements_column"] : (function () { throw new RuntimeError('Variable "elements_column" does not exist.'159$this->source); })())) == 0)) {
  414.                 echo "</div><div class=\"col-lg-2\"> ";
  415.             }
  416.             // line 160
  417.             echo "                                            ";
  418.         }
  419.         $_parent $context['_parent'];
  420.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['brand'], $context['_parent'], $context['loop']);
  421.         $context array_intersect_key($context$_parent) + $_parent;
  422.         echo "  
  423.                                             <hr/>
  424.                                         </div>                                            
  425.                                                 ";
  426.         // line 164
  427.         echo "                                                
  428.                                                 ";
  429.         // line 165
  430.         echo "                                            
  431.                                         </div>
  432.                                     </div><!-- End .megamenu -->
  433.                                 </li>
  434.                                 <li class=\"mr-xl-5 mr-4\" >
  435.                                     <a href=\"";
  436.         // line 170
  437.         echo twig_escape_filter($this->env, (isset($context["prefix_language"]) || array_key_exists("prefix_language"$context) ? $context["prefix_language"] : (function () { throw new RuntimeError('Variable "prefix_language" does not exist.'170$this->source); })()), "html"nulltrue);
  438.         echo "about-us\" class=\"page-index\" data-name=\" \">";
  439.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("il gruppo"), "html"nulltrue);
  440.         echo "</a>
  441.                                 </li>
  442.                                 <li class=\"mr-xl-5 mr-4\" >
  443.                                     <a href=\"";
  444.         // line 173
  445.         echo twig_escape_filter($this->env, (isset($context["prefix_language"]) || array_key_exists("prefix_language"$context) ? $context["prefix_language"] : (function () { throw new RuntimeError('Variable "prefix_language" does not exist.'173$this->source); })()), "html"nulltrue);
  446.         echo "b2c_shops\" class=\"page-index\" data-name=\" \">";
  447.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("punti vendita"), "html"nulltrue);
  448.         echo "</a>
  449.                                 </li>
  450.                                 <li class=\"mr-xl-5 mr-4\" >
  451.                                     <a href=\"";
  452.         // line 176
  453.         echo twig_escape_filter($this->env, (isset($context["prefix_language"]) || array_key_exists("prefix_language"$context) ? $context["prefix_language"] : (function () { throw new RuntimeError('Variable "prefix_language" does not exist.'176$this->source); })()), "html"nulltrue);
  454.         echo "b2c_news\" class=\"page-index\" data-name=\"app-news.php\">";
  455.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("News"), "html"nulltrue);
  456.         echo "</a>
  457.                                 </li>
  458.                                 <li class=\"mr-xl-5 mr-4\" >
  459.                                     <a href=\"";
  460.         // line 179
  461.         echo twig_escape_filter($this->env, (isset($context["prefix_language"]) || array_key_exists("prefix_language"$context) ? $context["prefix_language"] : (function () { throw new RuntimeError('Variable "prefix_language" does not exist.'179$this->source); })()), "html"nulltrue);
  462.         echo "catalogues\" class=\"page-index\" data-name=\" \">";
  463.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("download"), "html"nulltrue);
  464.         echo "</a>
  465.                                 </li>
  466.                                 <li class=\"mr-xl-5 mr-4\" >
  467.                                     <a href=\"#\" class=\"page-index\" data-name=\" \">";
  468.         // line 182
  469.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("contattaci"), "html"nulltrue);
  470.         echo "</a>
  471.                                     <ul>
  472.                                         <li><a href=\"";
  473.         // line 184
  474.         echo twig_escape_filter($this->env, (isset($context["prefix_language"]) || array_key_exists("prefix_language"$context) ? $context["prefix_language"] : (function () { throw new RuntimeError('Variable "prefix_language" does not exist.'184$this->source); })()), "html"nulltrue);
  475.         echo "contact-us\" class=\"page-index\" data-name=\" \">";
  476.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("richiesta informazioni"), "html"nulltrue);
  477.         echo "</a></li>
  478.                                         <li><a href=\"";
  479.         // line 185
  480.         echo twig_escape_filter($this->env, (isset($context["prefix_language"]) || array_key_exists("prefix_language"$context) ? $context["prefix_language"] : (function () { throw new RuntimeError('Variable "prefix_language" does not exist.'185$this->source); })()), "html"nulltrue);
  481.         echo "collaborations\">";
  482.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("collaborazioni"), "html"nulltrue);
  483.         echo "</a></li>
  484.                                         <li><a href=\"";
  485.         // line 186
  486.         echo twig_escape_filter($this->env, (isset($context["prefix_language"]) || array_key_exists("prefix_language"$context) ? $context["prefix_language"] : (function () { throw new RuntimeError('Variable "prefix_language" does not exist.'186$this->source); })()), "html"nulltrue);
  487.         echo "work-with-us\">";
  488.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("lavora con noi"), "html"nulltrue);
  489.         echo "</a></li>
  490.                                     </ul>
  491.                                 </li>
  492.                                 <li class=\"mr-xl-5 mr-4\" >
  493.                                     <a href=\"https://mecstore.boels.com/it-it/noleggiare\" class=\"page-index\" target=\"_blank\" data-name=\" \">";
  494.         // line 190
  495.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("noleggi"), "html"nulltrue);
  496.         echo "</a>
  497.                                 </li>
  498.                                     <li class=\"float-right\">
  499.                                         <a href=\"";
  500.         // line 196
  501.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("b2c-shop-cart-detail");
  502.         echo "\" class=\"icon-a page-index\" data-name=\"";
  503.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("b2c-shop-cart-detail");
  504.         echo "\">
  505.                                             <i class=\"fas fa-shopping-cart\"></i>
  506.                                             <span class=\"cart-count badge-circle\">";
  507.         // line 198
  508.         echo twig_escape_filter($this->env$this->extensions['App\Twig\Extension\CartExtension']->getCartItemsB2C(), "html"nulltrue);
  509.         echo "</span>
  510.                                         </a>
  511.                                     </li> 
  512.                                     <li class=\"float-right\">
  513.                                         <a class=\"icon-a page-index\" href=\"";
  514.         // line 202
  515.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("b2c-wishlist-index");
  516.         echo "\" data-name=\"";
  517.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("b2c-wishlist-index");
  518.         echo "\">
  519.                                             <i class=\"icon-star-empty\"></i>
  520.                                             <span class=\"wishlist-count badge-circle sticky\" style=\"display:none!important\">";
  521.         // line 204
  522.         echo twig_escape_filter($this->env$this->extensions['App\Twig\Extension\CartExtension']->getWishlistItems(), "html"nulltrue);
  523.         echo "</span>
  524.                                         </a>
  525.                                     </li>
  526.                                 ";
  527.         // line 207
  528.         if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED")) {
  529.             // line 208
  530.             echo "                                    ";
  531.             // line 209
  532.             echo "                                    ";
  533.             // line 211
  534.             echo "                                                                
  535.                                     
  536.                                     <li class=\"float-right border-left border-right border-dark pl-2 pl-xl-5 pr-2 pr-xl-5 mymecstore\" >
  537.                                         ";
  538.             // line 214
  539.             if ((((isset($context["wesbiteName"]) || array_key_exists("wesbiteName"$context) ? $context["wesbiteName"] : (function () { throw new RuntimeError('Variable "wesbiteName" does not exist.'214$this->source); })()) == "b2c") && twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'214$this->source); })()), "user", [], "any"falsefalsefalse214))) {
  540.                 // line 215
  541.                 echo "                                        <a href=\"";
  542.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("b2c-account-index");
  543.                 echo "\" class=\"";
  544.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("b2c-account-index");
  545.                 echo "\" ><span>my mecstore</span></a>
  546.                                         ";
  547.             } else {
  548.                 // line 217
  549.                 echo "                                        <a class=\"\" ><span>my mecstore</span></a>
  550.                                         ";
  551.             }
  552.             // line 219
  553.             echo "                                        
  554.                                         ";
  555.             // line 220
  556.             if ((((isset($context["wesbiteName"]) || array_key_exists("wesbiteName"$context) ? $context["wesbiteName"] : (function () { throw new RuntimeError('Variable "wesbiteName" does not exist.'220$this->source); })()) == "b2c") && twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'220$this->source); })()), "user", [], "any"falsefalsefalse220))) {
  557.                 // line 221
  558.                 echo "                                        ";
  559.             } else {
  560.                 // line 222
  561.                 echo "                                        <div class=\"megamenu megamenu-fixed-width b2c\">
  562.                                             <div class=\"row\">            
  563.                                                 ";
  564.                 // line 230
  565.                 echo "                                                <div class=\"col-lg\">
  566.                                                     <strong>B2B</strong>
  567.                                                     <ul class=\"submenu\"> 
  568.                                                         <li><a href=\"";
  569.                 // line 233
  570.                 echo twig_escape_filter($this->env$this->env->getFunction('pimcore_url')->getCallable()(["type" => "confirm"], "account-order-list"truetrue), "html"nulltrue);
  571.                 echo "\">Ordini inviati</a></li>
  572.                                                         <li><a href=\"";
  573.                 // line 234
  574.                 echo twig_escape_filter($this->env$this->env->getFunction('pimcore_url')->getCallable()(["type" => "pre-ordini"], "account-order-list"truetrue), "html"nulltrue);
  575.                 echo "\">Preordini</a></li>
  576.                                                         <li><a href=\"";
  577.                 // line 235
  578.                 echo twig_escape_filter($this->env$this->env->getFunction('pimcore_url')->getCallable()(["type" => "booked"], "account-order-list"truetrue), "html"nulltrue);
  579.                 echo "\">Prenotazioni</a></li>
  580.                                                         <li><a href=\"";
  581.                 // line 236
  582.                 echo twig_escape_filter($this->env$this->env->getFunction('pimcore_url')->getCallable()(["type" => "draft"], "account-order-list"truetrue), "html"nulltrue);
  583.                 echo "\">Bozze ordini</a></li>
  584.                                                         ";
  585.                 // line 238
  586.                 echo "                                                    </ul> 
  587.                                                 </div>
  588.                                                 <div class=\"col-lg\">
  589.                                                     <strong>B2C</strong>
  590.                                                     <ul class=\"submenu\"> 
  591.                                                         <li><a href=\"";
  592.                 // line 243
  593.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("b2c-account-profile");
  594.                 echo "\">Profilo</a></li>
  595.                                                         <li><a href=\"\">Preventivi</a></li>
  596.                                                         <li><a href=\"\">Ordini ricevuti</a></li>
  597.                                                         <li><a href=\"\">Contatti ricevuti</a></li>
  598.                                                         <li><a href=\"\">Resi</a></li>
  599.                                                     </ul> 
  600.                                                 </div> 
  601.                                                 ";
  602.                 // line 256
  603.                 echo "                                            </div>                                            
  604.                                                     ";
  605.                 // line 258
  606.                 echo "                                                    
  607.                                                     ";
  608.                 // line 259
  609.                 echo "                                            
  610.                                             
  611.                                         </div>
  612.                                         ";
  613.             }
  614.             // line 262
  615.             echo "<!-- End .megamenu -->
  616.                                     </li>
  617.                                  ";
  618.         }
  619.         // line 265
  620.         echo "
  621.                                 ";
  622.         // line 293
  623.         echo "                            </ul>
  624.                         </nav>
  625.                     </div>
  626.                     <div class=\"header-right pr-4\">
  627.                         <!-- HEADER SEARCH STICKY -->
  628.                         <div
  629.                             class=\"header-icon header-search header-search-popup header-search-category w-lg-max text-right\">
  630.                             <a href=\"#\" class=\"search-toggle\" role=\"button\"><i class=\"icon-search-3\"></i></a>
  631.                             <!-- SEARCH INPUT -->
  632.                             <form action=\"#\" method=\"get\">
  633.                                 <div class=\"header-search-wrapper\">
  634.                                     <input type=\"search\" class=\"form-control\" name=\"term_header\" id=\"term_header\" value=\"";
  635.         // line 304
  636.         if (twig_get_attribute($this->env$this->source, ($context["params"] ?? null), "term", [], "any"truetruefalse304)) {
  637.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["params"]) || array_key_exists("params"$context) ? $context["params"] : (function () { throw new RuntimeError('Variable "params" does not exist.'304$this->source); })()), "term", [], "any"falsefalsefalse304), "html"nulltrue);
  638.         }
  639.         echo "\"
  640.                                         placeholder=\"Cerca prodotto...\" required>
  641.                                     <div class=\"select-custom\">
  642.                                         <select id=\"cat_header\" name=\"cat_header\">
  643.                                             ";
  644.         // line 308
  645.         if ((isset($context["categories"]) || array_key_exists("categories"$context) ? $context["categories"] : (function () { throw new RuntimeError('Variable "categories" does not exist.'308$this->source); })())) {
  646.             // line 309
  647.             echo "                                                <option value=\"\" selected data-href=\"";
  648.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("shop-category", ["categoryname" => "ovunque""category" => 0]), "html"nulltrue);
  649.             echo "\">tutto il catalogo</option> 
  650.                                                 ";
  651.             // line 310
  652.             $context['_parent'] = $context;
  653.             $context['_seq'] = twig_ensure_traversable((isset($context["categories"]) || array_key_exists("categories"$context) ? $context["categories"] : (function () { throw new RuntimeError('Variable "categories" does not exist.'310$this->source); })()));
  654.             foreach ($context['_seq'] as $context["_key"] => $context["category"]) {
  655.                 // line 311
  656.                 echo "                                                    ";
  657.                 if (twig_get_attribute($this->env$this->source, ($context["params"] ?? null), "cat", [], "any"truetruefalse311)) {
  658.                     echo "                                                        
  659.                                                         ";
  660.                     // line 312
  661.                     if ((twig_get_attribute($this->env$this->source, (isset($context["params"]) || array_key_exists("params"$context) ? $context["params"] : (function () { throw new RuntimeError('Variable "params" does not exist.'312$this->source); })()), "cat", [], "any"falsefalsefalse312) == twig_get_attribute($this->env$this->source$context["category"], "id", [], "any"falsefalsefalse312))) {
  662.                         // line 313
  663.                         echo "                                                            <option value=\"";
  664.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["category"], "Id", [], "any"falsefalsefalse313), "html"nulltrue);
  665.                         echo "\" selected data-href=\"";
  666.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("shop-category", ["categoryname" => twig_get_attribute($this->env$this->source$context["category"], "key", [], "any"falsefalsefalse313), "category" => twig_get_attribute($this->env$this->source$context["category"], "id", [], "any"falsefalsefalse313)]), "html"nulltrue);
  667.                         echo "\">";
  668.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["category"], "Name", [], "any"falsefalsefalse313), "html"nulltrue);
  669.                         echo "</option>   
  670.                                                         ";
  671.                     } else {
  672.                         // line 315
  673.                         echo "                                                            <option value=\"";
  674.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["category"], "Id", [], "any"falsefalsefalse315), "html"nulltrue);
  675.                         echo "\" data-href=\"";
  676.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("shop-category", ["categoryname" => twig_get_attribute($this->env$this->source$context["category"], "key", [], "any"falsefalsefalse315), "category" => twig_get_attribute($this->env$this->source$context["category"], "id", [], "any"falsefalsefalse315)]), "html"nulltrue);
  677.                         echo "\">";
  678.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["category"], "Name", [], "any"falsefalsefalse315), "html"nulltrue);
  679.                         echo "</option>   
  680.                                                         ";
  681.                     }
  682.                     // line 316
  683.                     echo "  
  684.                                                     ";
  685.                 } else {
  686.                     // line 318
  687.                     echo "                                                            <option value=\"";
  688.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["category"], "Id", [], "any"falsefalsefalse318), "html"nulltrue);
  689.                     echo "\" data-href=\"";
  690.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("shop-category", ["categoryname" => twig_get_attribute($this->env$this->source$context["category"], "key", [], "any"falsefalsefalse318), "category" => twig_get_attribute($this->env$this->source$context["category"], "id", [], "any"falsefalsefalse318)]), "html"nulltrue);
  691.                     echo "\">";
  692.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["category"], "Name", [], "any"falsefalsefalse318), "html"nulltrue);
  693.                     echo "</option>
  694.                                                     ";
  695.                 }
  696.                 // line 319
  697.                 echo 
  698.                                                 ";
  699.             }
  700.             $_parent $context['_parent'];
  701.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['category'], $context['_parent'], $context['loop']);
  702.             $context array_intersect_key($context$_parent) + $_parent;
  703.             // line 321
  704.             echo "                                            ";
  705.         }
  706.         echo "                                         
  707.                                         </select>
  708.                                     </div><!-- End .select-custom -->
  709.                                     <button class=\"btn icon-search-3 bg-dark text-white p-0\" title=\"search\"
  710.                                         type=\"submit\"></button>
  711.                                 </div><!-- End .header-search-wrapper -->
  712.                             </form>
  713.                         </div><!-- End .header-search -->
  714.                         
  715.                         <a href=\"";
  716.         // line 331
  717.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("b2c-wishlist-index");
  718.         echo "\" class=\"header-icon page-index icon-a \" data-name=\"";
  719.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("b2c-wishlist-index");
  720.         echo "\">
  721.                             <i class=\"icon-star-empty\"></i>
  722.                             <span class=\"wishlist-count badge-circle sticky\" style=\"display:none!important\">";
  723.         // line 333
  724.         echo twig_escape_filter($this->env$this->extensions['App\Twig\Extension\CartExtension']->getWishlistItems(), "html"nulltrue);
  725.         echo "</span>
  726.                         </a>
  727.                         <a href=\"";
  728.         // line 335
  729.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("b2c-shop-cart-detail");
  730.         echo "\" class=\"page-index icon-a \" data-name=\"";
  731.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("b2c-shop-cart-detail");
  732.         echo "\">
  733.                             <i class=\"fas fa-shopping-cart\"></i>
  734.                             <span class=\"cart-count badge-circle sticky\">";
  735.         // line 337
  736.         echo twig_escape_filter($this->env$this->extensions['App\Twig\Extension\CartExtension']->getCartItemsB2C(), "html"nulltrue);
  737.         echo "</span>
  738.                         </a>
  739.                     </div>
  740.                 </div>
  741.             </div>
  742.         </header><!-- End .header -->
  743. ";
  744.         
  745.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  746.         
  747.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  748.         
  749.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
  750.     }
  751.     public function getTemplateName()
  752.     {
  753.         return "includes/header_b2c.html.twig";
  754.     }
  755.     public function getDebugInfo()
  756.     {
  757.         return array (  762 => 337,  755 => 335,  750 => 333,  743 => 331,  729 => 321,  722 => 319,  712 => 318,  708 => 316,  698 => 315,  688 => 313,  686 => 312,  681 => 311,  677 => 310,  672 => 309,  670 => 308,  661 => 304,  648 => 293,  644 => 265,  639 => 262,  633 => 259,  630 => 258,  627 => 256,  617 => 243,  610 => 238,  606 => 236,  602 => 235,  598 => 234,  594 => 233,  589 => 230,  585 => 222,  582 => 221,  580 => 220,  577 => 219,  573 => 217,  565 => 215,  563 => 214,  558 => 211,  556 => 209,  554 => 208,  552 => 207,  546 => 204,  539 => 202,  532 => 198,  525 => 196,  516 => 190,  507 => 186,  501 => 185,  495 => 184,  490 => 182,  482 => 179,  474 => 176,  466 => 173,  458 => 170,  451 => 165,  448 => 164,  438 => 160,  434 => 159,  430 => 158,  426 => 157,  423 => 156,  415 => 154,  407 => 152,  405 => 151,  402 => 150,  398 => 149,  391 => 148,  388 => 147,  386 => 146,  380 => 143,  373 => 138,  370 => 137,  361 => 134,  357 => 133,  353 => 132,  346 => 130,  343 => 129,  338 => 128,  333 => 127,  331 => 126,  325 => 123,  319 => 120,  302 => 105,  294 => 100,  290 => 99,  287 => 98,  279 => 93,  275 => 92,  271 => 90,  268 => 89,  264 => 88,  261 => 87,  259 => 86,  248 => 77,  245 => 76,  239 => 75,  229 => 73,  226 => 72,  216 => 70,  206 => 68,  203 => 67,  200 => 66,  196 => 65,  189 => 64,  187 => 63,  181 => 60,  175 => 57,  167 => 51,  163 => 49,  160 => 48,  155 => 47,  152 => 46,  148 => 44,  144 => 42,  142 => 41,  138 => 40,  116 => 21,  112 => 20,  108 => 19,  104 => 18,  99 => 15,  95 => 13,  91 => 11,  89 => 10,  87 => 9,  84 => 8,  82 => 7,  80 => 6,  78 => 5,  76 => 4,  74 => 3,  72 => 2,  47 => 1,);
  758.     }
  759.     public function getSourceContext()
  760.     {
  761.         return new Source("{% block content %}
  762. {% set totalAmount = ((totalAmount is defined) and totalAmount)%}
  763. {% set categories = app_category_get_data() %}
  764. {% set params = app_get_params() %}
  765. {% set userType = (app.user)?app.user.UserType:'' %}
  766. {% set role = (app.user)?app.user.UserRoles:'' %}
  767. {% set wesbiteName = document.getProperty('website_name') %}
  768. {% set mecstore_lang = app.request.locale %}
  769. {% if mecstore_lang == 'en'%}
  770.     {% set prefix_language = '/en/' %}
  771. {% else %}
  772.     {% set prefix_language = '/' %}
  773. {% endif %}
  774.     <script>
  775.         window.portoTexts = {
  776.             addedToCart: \"{{ 'added_to_cart'|trans }}\",
  777.             viewCart: \"{{ 'view_cart'|trans }}\",
  778.             linkCart: \"{{ 'link_cart'|trans }}\",
  779.             linkCheckout: \"{{ 'link_checkout'|trans }}\",
  780.         };
  781.     </script>
  782.     <style>
  783.         .sidebar-shop .widget.prezzo {
  784.             display:none!important;
  785.         }
  786.     </style>
  787. <header class=\"header box-shadow\">
  788.    
  789.             <div class=\"header-middle sticky-header\" data-sticky-options=\"{'mobile': true}\">
  790.                 <div class=\"container\">
  791.                     <div class=\"header-left\">
  792.                         <button class=\"mobile-menu-toggler\" type=\"button\">
  793.                             <i class=\"fas fa-bars fa-2x\"></i>
  794.                             <!-- <img src=\"/mecstore/b2c/assets/images/custom/logo.png\" alt=\"Porto Logo\" width=\"111\" height=\"44\"> -->
  795.                         </button>
  796.                         
  797.                         <a href=\"{{ prefix_language }}\" class=\"logo\">
  798.                         {% if is_granted('IS_AUTHENTICATED_REMEMBERED') %}
  799.                             <img src=\"/mecstore/b2c/assets/images/custom/logo.png\" alt=\"Mecstore\" class=\"d-block\" width=\"262\" height=\"auto\" >
  800.                         {% else %}
  801.                             <img src=\"/mecstore/b2c/assets/images/custom/logo.png\" alt=\"Mecstore\" class=\"d-block\" width=\"262\" height=\"auto\" >
  802.                         {% endif %}
  803.                             {% if is_granted('IS_AUTHENTICATED_REMEMBERED') %}
  804.                             <a href=\"{{ path('b2c-account-index') }}\" class=\"d-block d-lg-none text-dark\">
  805.                                 {{ 'Benvenuto'|trans }} {# <strong>{{app.user.firstname}} {{app.user.lastname}}</strong> #}
  806.                             </a>   
  807.                             {% endif %}
  808.                         </a>
  809.                     </div>   
  810.                     <div class=\"header-center\">
  811.                         <div
  812.                             class=\"header-icon header-search header-search-inline header-search-category w-lg-max text-right mt-0\">
  813.                             <a href=\"#\" class=\"search-toggle\" role=\"button\"><i class=\"icon-search-3\"></i></a>
  814.                             <form action=\"{{ path('b2c-search') }}\" id=\"search-form\" name=\"search-form\" method=\"get\">
  815.                                 <div class=\"header-search-wrapper\">
  816.                                     <input type=\"search\" class=\"form-control\" name=\"term\" id=\"term\" value=\"\"
  817.                                         placeholder=\"{{ 'Cerca prodotto...'|trans }}\" required>
  818.                                     <div class=\"select-custom\">
  819.                                         <select id=\"cat\" name=\"cat\">
  820.                                             {% if categories %}
  821.                                                 <option value=\"\" selected data-href=\"{{ path('b2c-shop-category', {categoryname: 'ovunque',category: 0}) }}\">{{ 'tutto il catalogo'|trans }}</option>
  822.                                                 {% for category in categories %}
  823.                                                     {% if params.cat is defined %}
  824.                                                         {% if params.cat == category.id %}
  825.                                                             <option value=\"{{category.Id}}\" selected data-href=\"{{ path('b2c-shop-category', {categoryname: category.key,category: category.id}) }}\">{{category.Name}}</option>
  826.                                                         {% else %}
  827.                                                             <option value=\"{{category.Id}}\" data-href=\"{{ path('b2c-shop-category', {categoryname: category.key,category: category.id}) }}\">{{category.Name}}</option>
  828.                                                         {% endif %}
  829.                                                     {% else %}
  830.                                                             <option value=\"{{category.Id}}\" data-href=\"{{ path('b2c-shop-category', {categoryname: category.key,category: category.id}) }}\">{{category.Name}}</option>
  831.                                                     {% endif %}
  832.                                                 {% endfor %}
  833.                                             {% endif %}
  834.                                         </select>
  835.                                     </div><!-- End .select-custom -->
  836.                                     <button class=\"btn icon-magnifier bg-dark text-white term-search-btn\" title=\"search\"
  837.                                         type=\"submit\"></button>
  838.                                 </div><!-- End .header-search-wrapper -->
  839.                             </form>
  840.                         </div><!-- End .header-search -->
  841.                     </div>
  842.                     {% if is_granted('IS_AUTHENTICATED_REMEMBERED') %}
  843.                     <div class=\"header-right ml-0 ml-lg-auto\">
  844.                         <a href=\"{{ path('b2c-account-profile') }}\" class=\"pr-2 pr-xl-5 border-right border-dark d-none d-lg-block \">
  845.                             {{ 'Benvenuto'|trans }} {# <strong>{{app.user.firstname}} {{app.user.lastname}}</strong> #}
  846.                         </a>
  847.                         <a href=\"{{ path('account-logout') }}\" class=\"pl-2 pl-xl-5 d-none d-lg-block \" >
  848.                             {{ 'general.logout' | trans }}
  849.                         </a>
  850.                         <div class=\"language-container\"></div>
  851.                     </div>
  852.                     {%  else %}
  853.                     <div class=\"header-right ml-0 ml-lg-auto\">
  854.                         <a href=\"{{ path('account-login') }}\" class=\"d-none d-lg-block login-lnk\">
  855.                             {{ 'general.login' | trans }}
  856.                         </a>
  857.                         <div class=\"language-container\"></div>
  858.                     </div>
  859.                     {% endif %}
  860.                 </div>
  861.             </div>
  862.             <div class=\"header-bottom sticky-header\" data-sticky-options=\"{'mobile': false}\">
  863.                 <!-- header sticky -->
  864.                 <div class=\"container\">
  865.                     <div class=\"header-left\">
  866.                         <a href=\"/\" class=\"logo\">
  867.                             <img src=\"/mecstore/b2c/assets/images/custom_icons/logo-mecstore.png\" alt=\"Logo\">
  868.                         </a>
  869.                     </div>
  870.                     <div class=\"header-center ml-4\">
  871.                         <nav class=\"main-nav w-100\">
  872.                             <ul class=\"menu\">
  873.                                 <li class=\"mr-xl-5 mr-4\" >
  874.                                     <a href=\"{{ prefix_language }}\" class=\"page-index\" data-name=\"app-index.php\">Home</a>
  875.                                 </li>
  876.                                 <li class=\"mr-xl-5 mr-4\" >
  877.                                     <a class=\"page-index\">{{ 'catalogo'|trans }}</a>
  878.                                     <div class=\"megamenu megamenu-fixed-width megamenu-3cols\">
  879.                                         <div class=\"row\">
  880.                                             {% set count = 0%}
  881.                                             {% for category in app_category_get_data() %}
  882.                                             {% if (count == 0) %}<div class=\"col-lg-4\">{% endif %}
  883.                                                 <ul class=\"submenu\">
  884.                                                     <li><a href=\"{{ path('b2c-shop-category', {categoryname: category.key,category: category.id}) }}\">{{ category.Name }}</a></li>
  885.                                                 </ul> 
  886.                                             {% set count = count + 1 %}                                        
  887.                                             {% if (count % 9 == 0) %} </div><div class=\"col-lg-4\"> {% endif %}
  888.                                             {% endfor %}  
  889.                                             </div>                                            
  890.                                                 {#header - generate pimcore navigation #}
  891.                                                 
  892.                                                 {#header - navigation icons#}                                            
  893.                                         </div>
  894.                                     </div><!-- End .megamenu -->
  895.                                 </li>
  896.                                 <li class=\"mr-xl-5 mr-4\" >
  897.                                     <a class=\"page-index\">{{ 'FORNITORI'|trans }}</a>
  898.                                     <div class=\"megamenu megamenu-fixed-width megamenu-3cols providers\">
  899.                                         <div class=\"row\">
  900.                                             {% set count = 0%}
  901.                                             {% set brands = app_brand_get_data() %}
  902.                                             {% for brand in brands %}                                                                              
  903.                                             {% if (count == 0) %}<div class=\"col-lg-2\">{% endif %}
  904.                                                 <ul class=\"submenu\">                                                 
  905.                                                     {% if brand.enableDedicatedPage %}
  906.                                                     <li><a href=\"{{ path('b2c-brand', {brandname: brand.key,brand: brand.id}) }}\">{{ brand.Name }}</a></li>
  907.                                                     {% else %}
  908.                                                     <li><a href=\"{{ path('b2c-shop-brand', {brandname: brand.key,brand: brand.id}) }}\">{{ brand.Name }}</a></li>
  909.                                                     {% endif %}
  910.                                                 </ul> 
  911.                                             {% set count = count + 1 %}    
  912.                                             {% set elements_column = (brands|length //6) + 1 %}                        
  913.                                             {% if (count % elements_column == 0) %}</div><div class=\"col-lg-2\"> {% endif %}
  914.                                             {% endfor %}  
  915.                                             <hr/>
  916.                                         </div>                                            
  917.                                                 {#header - generate pimcore navigation #}
  918.                                                 
  919.                                                 {#header - navigation icons#}                                            
  920.                                         </div>
  921.                                     </div><!-- End .megamenu -->
  922.                                 </li>
  923.                                 <li class=\"mr-xl-5 mr-4\" >
  924.                                     <a href=\"{{ prefix_language }}about-us\" class=\"page-index\" data-name=\" \">{{ 'il gruppo'|trans }}</a>
  925.                                 </li>
  926.                                 <li class=\"mr-xl-5 mr-4\" >
  927.                                     <a href=\"{{ prefix_language }}b2c_shops\" class=\"page-index\" data-name=\" \">{{ 'punti vendita'|trans }}</a>
  928.                                 </li>
  929.                                 <li class=\"mr-xl-5 mr-4\" >
  930.                                     <a href=\"{{ prefix_language }}b2c_news\" class=\"page-index\" data-name=\"app-news.php\">{{ 'News'|trans }}</a>
  931.                                 </li>
  932.                                 <li class=\"mr-xl-5 mr-4\" >
  933.                                     <a href=\"{{ prefix_language }}catalogues\" class=\"page-index\" data-name=\" \">{{ 'download'|trans }}</a>
  934.                                 </li>
  935.                                 <li class=\"mr-xl-5 mr-4\" >
  936.                                     <a href=\"#\" class=\"page-index\" data-name=\" \">{{ 'contattaci'|trans }}</a>
  937.                                     <ul>
  938.                                         <li><a href=\"{{ prefix_language }}contact-us\" class=\"page-index\" data-name=\" \">{{ 'richiesta informazioni'|trans }}</a></li>
  939.                                         <li><a href=\"{{ prefix_language }}collaborations\">{{ 'collaborazioni'|trans }}</a></li>
  940.                                         <li><a href=\"{{ prefix_language }}work-with-us\">{{ 'lavora con noi'|trans }}</a></li>
  941.                                     </ul>
  942.                                 </li>
  943.                                 <li class=\"mr-xl-5 mr-4\" >
  944.                                     <a href=\"https://mecstore.boels.com/it-it/noleggiare\" class=\"page-index\" target=\"_blank\" data-name=\" \">{{ 'noleggi'|trans }}</a>
  945.                                 </li>
  946.                                     <li class=\"float-right\">
  947.                                         <a href=\"{{ path('b2c-shop-cart-detail') }}\" class=\"icon-a page-index\" data-name=\"{{ path('b2c-shop-cart-detail') }}\">
  948.                                             <i class=\"fas fa-shopping-cart\"></i>
  949.                                             <span class=\"cart-count badge-circle\">{{ app_cart_items_count_b2c() }}</span>
  950.                                         </a>
  951.                                     </li> 
  952.                                     <li class=\"float-right\">
  953.                                         <a class=\"icon-a page-index\" href=\"{{ path('b2c-wishlist-index') }}\" data-name=\"{{ path('b2c-wishlist-index') }}\">
  954.                                             <i class=\"icon-star-empty\"></i>
  955.                                             <span class=\"wishlist-count badge-circle sticky\" style=\"display:none!important\">{{ app_wish_list_count() }}</span>
  956.                                         </a>
  957.                                     </li>
  958.                                 {% if is_granted('IS_AUTHENTICATED_REMEMBERED') %}
  959.                                     {# <li class=\"sticky-button mr-xl-5 mr-4\" > #}
  960.                                     {# <li class=\"sticky-button one border-left border-dark pl-2 \">
  961.                                         <a href=\"app-my-mecstore.php\" class=\"page-index\" data-name=\"app-my-mecstore.php\">my mecstore</a>
  962.                                     </li> #}                                                                
  963.                                     
  964.                                     <li class=\"float-right border-left border-right border-dark pl-2 pl-xl-5 pr-2 pr-xl-5 mymecstore\" >
  965.                                         {% if wesbiteName == 'b2c' and app.user %}
  966.                                         <a href=\"{{path('b2c-account-index')}}\" class=\"{{path('b2c-account-index')}}\" ><span>my mecstore</span></a>
  967.                                         {% else %}
  968.                                         <a class=\"\" ><span>my mecstore</span></a>
  969.                                         {% endif %}
  970.                                         
  971.                                         {% if wesbiteName == 'b2c' and app.user %}
  972.                                         {% else %}
  973.                                         <div class=\"megamenu megamenu-fixed-width b2c\">
  974.                                             <div class=\"row\">            
  975.                                                 {# <div class=\"col-lg\">                                                    
  976.                                                     <ul class=\"submenu\"> 
  977.                                                         <li><a href=\"{{ path('b2c-account-profile') }}\">Profilo</a></li>
  978.                                                         <li><a href=\"{{path('b2c-account-index')}}\">MY MECSTORE</a></li>                                                      
  979.                                                     </ul> 
  980.                                                 </div>  #}
  981.                                                 <div class=\"col-lg\">
  982.                                                     <strong>B2B</strong>
  983.                                                     <ul class=\"submenu\"> 
  984.                                                         <li><a href=\"{{  pimcore_url({'type': 'confirm'},'account-order-list',true,true) }}\">Ordini inviati</a></li>
  985.                                                         <li><a href=\"{{  pimcore_url({'type': 'pre-ordini'},'account-order-list',true,true) }}\">Preordini</a></li>
  986.                                                         <li><a href=\"{{  pimcore_url({'type': 'booked'},'account-order-list',true,true) }}\">Prenotazioni</a></li>
  987.                                                         <li><a href=\"{{  pimcore_url({'type': 'draft'},'account-order-list',true,true) }}\">Bozze ordini</a></li>
  988.                                                         {# <li><a href=\"\"><strong>Note</strong></a></li> #}
  989.                                                     </ul> 
  990.                                                 </div>
  991.                                                 <div class=\"col-lg\">
  992.                                                     <strong>B2C</strong>
  993.                                                     <ul class=\"submenu\"> 
  994.                                                         <li><a href=\"{{ path('b2c-account-profile') }}\">Profilo</a></li>
  995.                                                         <li><a href=\"\">Preventivi</a></li>
  996.                                                         <li><a href=\"\">Ordini ricevuti</a></li>
  997.                                                         <li><a href=\"\">Contatti ricevuti</a></li>
  998.                                                         <li><a href=\"\">Resi</a></li>
  999.                                                     </ul> 
  1000.                                                 </div> 
  1001.                                                 {# <div class=\"col-lg border-left\">
  1002.                                                     <ul class=\"submenu\"> 
  1003.                                                         <li><a href=\"\">Anagrafica</a></li>
  1004.                                                         <li><a href=\"\">Rubrica indirizzi</a></li> 
  1005.                                                     </ul> 
  1006.                                                 </div>  #}
  1007.                                             </div>                                            
  1008.                                                     {#header - generate pimcore navigation #}
  1009.                                                     
  1010.                                                     {#header - navigation icons#}                                            
  1011.                                             
  1012.                                         </div>
  1013.                                         {% endif %}<!-- End .megamenu -->
  1014.                                     </li>
  1015.                                  {% endif %}
  1016.                                 {# <li class=\"sticky-button mr-xl-5 mr-4\" > 
  1017.                                     <a href=\"/my-mecstore\" class=\"page-index\" data-name=\"app-my-mecstore.php\">my mecstore</a>
  1018.                                 </li>
  1019.                          
  1020.                                 <li class=\"float-right\" > 
  1021.                                     <a href=\"app-cart.php\" class=\"icon-a page-index\" data-name=\"app-cart.php\">
  1022.                                         <i class=\"fas fa-shopping-cart\"></i>
  1023.                                         <span class=\"cart-count badge-circle\">99</span>
  1024.                                     </a>
  1025.                                 </li>
  1026.                                 <li class=\"float-right\" > 
  1027.                                     <a class=\"icon-a page-index\" href=\"app-favourites.php\" data-name=\"app-favourites.php\">
  1028.                                         <i class=\"icon-star-empty\"></i>
  1029.                                     </a>
  1030.                                 </li>
  1031.                                 <li class=\"float-right border-right border-dark pr-2 pr-xl-5 mr-3 mr-xl-5\" >
  1032.                                     <a class=\"page page-index\" href=\"app-ordini.php\" data-name=\"app-ordini.php\">
  1033.                                         ordini
  1034.                                     </a>
  1035.                                 </li>
  1036.                                 <li class=\"float-right border-left border-dark pl-2 pl-xl-5\" > 
  1037.                                     <a class=\"page page-index\" href=\"app-my-mecstore.php\" data-name=\"app-my-mecstore.php\">
  1038.                                         my mecstore
  1039.                                     </a>
  1040.                                 </li> #}
  1041.                             </ul>
  1042.                         </nav>
  1043.                     </div>
  1044.                     <div class=\"header-right pr-4\">
  1045.                         <!-- HEADER SEARCH STICKY -->
  1046.                         <div
  1047.                             class=\"header-icon header-search header-search-popup header-search-category w-lg-max text-right\">
  1048.                             <a href=\"#\" class=\"search-toggle\" role=\"button\"><i class=\"icon-search-3\"></i></a>
  1049.                             <!-- SEARCH INPUT -->
  1050.                             <form action=\"#\" method=\"get\">
  1051.                                 <div class=\"header-search-wrapper\">
  1052.                                     <input type=\"search\" class=\"form-control\" name=\"term_header\" id=\"term_header\" value=\"{% if params.term is defined %}{{ params.term }}{% endif %}\"
  1053.                                         placeholder=\"Cerca prodotto...\" required>
  1054.                                     <div class=\"select-custom\">
  1055.                                         <select id=\"cat_header\" name=\"cat_header\">
  1056.                                             {% if categories %}
  1057.                                                 <option value=\"\" selected data-href=\"{{ path('shop-category', {categoryname: 'ovunque',category: 0}) }}\">tutto il catalogo</option> 
  1058.                                                 {% for category in categories %}
  1059.                                                     {% if params.cat is defined %}                                                        
  1060.                                                         {% if params.cat == category.id %}
  1061.                                                             <option value=\"{{category.Id}}\" selected data-href=\"{{ path('shop-category', {categoryname: category.key,category: category.id}) }}\">{{category.Name}}</option>   
  1062.                                                         {% else %}
  1063.                                                             <option value=\"{{category.Id}}\" data-href=\"{{ path('shop-category', {categoryname: category.key,category: category.id}) }}\">{{category.Name}}</option>   
  1064.                                                         {% endif %}  
  1065.                                                     {% else %}
  1066.                                                             <option value=\"{{category.Id}}\" data-href=\"{{ path('shop-category', {categoryname: category.key,category: category.id}) }}\">{{category.Name}}</option>
  1067.                                                     {% endif %} 
  1068.                                                 {% endfor %}
  1069.                                             {% endif %}                                         
  1070.                                         </select>
  1071.                                     </div><!-- End .select-custom -->
  1072.                                     <button class=\"btn icon-search-3 bg-dark text-white p-0\" title=\"search\"
  1073.                                         type=\"submit\"></button>
  1074.                                 </div><!-- End .header-search-wrapper -->
  1075.                             </form>
  1076.                         </div><!-- End .header-search -->
  1077.                         
  1078.                         <a href=\"{{ path('b2c-wishlist-index') }}\" class=\"header-icon page-index icon-a \" data-name=\"{{ path('b2c-wishlist-index') }}\">
  1079.                             <i class=\"icon-star-empty\"></i>
  1080.                             <span class=\"wishlist-count badge-circle sticky\" style=\"display:none!important\">{{ app_wish_list_count() }}</span>
  1081.                         </a>
  1082.                         <a href=\"{{ path('b2c-shop-cart-detail') }}\" class=\"page-index icon-a \" data-name=\"{{ path('b2c-shop-cart-detail') }}\">
  1083.                             <i class=\"fas fa-shopping-cart\"></i>
  1084.                             <span class=\"cart-count badge-circle sticky\">{{ app_cart_items_count_b2c() }}</span>
  1085.                         </a>
  1086.                     </div>
  1087.                 </div>
  1088.             </div>
  1089.         </header><!-- End .header -->
  1090. {% endblock %}""includes/header_b2c.html.twig""/home/ubuntu/mecstore/website/templates/includes/header_b2c.html.twig");
  1091.     }
  1092. }