var/cache/dev/twig/85/8597a146d4db1b901eacd6411de1692142e0b5974f63f211e7c1fefd2822cb56.php line 64

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_b2c/shop-in-shop_b2c_listing.html.twig */
  14. class __TwigTemplate_b1c14637bd82b0c44e73f6082c740c9c9cb65f008af9f369d6cf499d982c9332 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.     }
  26.     protected function doGetParent(array $context)
  27.     {
  28.         // line 1
  29.         return "layouts/layout_b2c.html.twig";
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = [])
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  35.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""product_b2c/shop-in-shop_b2c_listing.html.twig"));
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""product_b2c/shop-in-shop_b2c_listing.html.twig"));
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""product_b2c/shop-in-shop_b2c_listing.html.twig"));
  40.         $this->parent $this->loadTemplate("layouts/layout_b2c.html.twig""product_b2c/shop-in-shop_b2c_listing.html.twig"1);
  41.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
  44.         
  45.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  46.         
  47.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  48.     }
  49.     // line 3
  50.     public function block_content($context, array $blocks = [])
  51.     {
  52.         $macros $this->macros;
  53.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  54.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  55.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  56.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  57.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  58.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  59.         // line 4
  60.         echo "    <div id=\"main-content\" class=\"main-content shopinshop\" >
  61.         
  62.        
  63.         <section class=\"sub-header\">
  64.             <div class=\"name-page py-5 text-center\">
  65.                 ";
  66.         // line 9
  67.         echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"input""headline", ["placeholder" => "Headline"]);
  68.         echo "
  69.             </div>
  70.                 <nav aria-label=\"breadcrumb\" class=\" breadcrumb-nav\">
  71.                     <ol class=\"container breadcrumb responsive-breadcrumb\">
  72.                         <li class=\"breadcrumb-item\"><a href=\"/\">home</a></li>
  73.                         <li class=\"breadcrumb-item\"><a >
  74.                         ";
  75.         // line 15
  76.         echo twig_escape_filter($this->envtwig_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.'15$this->source); })()), "title", [], "any"falsefalsefalse15), "html"nulltrue);
  77.         echo "
  78.                         </a></li>
  79.                     </ol>
  80.                 </nav>
  81.         </section> 
  82.         <div class=\"container\">            
  83.             
  84.             <div class=\"row\">
  85.                 <div class=\"col-lg-10\">
  86.                     <nav class=\"toolbox sticky-header ml-0 ml-lg-4\" data-sticky-options=\"{'mobile': true}\">
  87.                         <div class=\"layout-modes  toolbox-left\">
  88.                             <p class=\"numresults font-weight-bold\">
  89.                                 ";
  90.         // line 29
  91.         echo twig_escape_filter($this->env, (isset($context["offset"]) || array_key_exists("offset"$context) ? $context["offset"] : (function () { throw new RuntimeError('Variable "offset" does not exist.'29$this->source); })()), "html"nulltrue);
  92.         echo "-";
  93.         echo twig_escape_filter($this->env, (isset($context["limit"]) || array_key_exists("limit"$context) ? $context["limit"] : (function () { throw new RuntimeError('Variable "limit" does not exist.'29$this->source); })()), "html"nulltrue);
  94.         echo " di ";
  95.         echo twig_escape_filter($this->env, (isset($context["totalCount"]) || array_key_exists("totalCount"$context) ? $context["totalCount"] : (function () { throw new RuntimeError('Variable "totalCount" does not exist.'29$this->source); })()), "html"nulltrue);
  96.         echo " ";
  97.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("risultati per"), "html"nulltrue);
  98.         echo " ";
  99.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["brandObj"]) || array_key_exists("brandObj"$context) ? $context["brandObj"] : (function () { throw new RuntimeError('Variable "brandObj" does not exist.'29$this->source); })()), "name", [], "any"falsefalsefalse29), "html"nulltrue);
  100.         echo "
  101.                                 ";
  102.         // line 30
  103.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["paginationVariables"]) || array_key_exists("paginationVariables"$context) ? $context["paginationVariables"] : (function () { throw new RuntimeError('Variable "paginationVariables" does not exist.'30$this->source); })()), "totalCount", [], "any"falsefalsefalse30), "html"nulltrue);
  104.         echo " ";
  105.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("risultati"), "html"nulltrue);
  106.         echo " ";
  107.         if (((isset($context["term"]) || array_key_exists("term"$context) ? $context["term"] : (function () { throw new RuntimeError('Variable "term" does not exist.'30$this->source); })()) != "")) {
  108.             echo " per \"";
  109.             echo twig_escape_filter($this->env, (isset($context["term"]) || array_key_exists("term"$context) ? $context["term"] : (function () { throw new RuntimeError('Variable "term" does not exist.'30$this->source); })()), "html"nulltrue);
  110.             echo "\" ";
  111.         }
  112.         echo " in ";
  113.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["brandObj"]) || array_key_exists("brandObj"$context) ? $context["brandObj"] : (function () { throw new RuntimeError('Variable "brandObj" does not exist.'30$this->source); })()), "name", [], "any"falsefalsefalse30), "html"nulltrue);
  114.         echo "
  115.                             </p>
  116.                         </div>
  117.                         <!-- End .toolbox-left -->
  118.                         <div class=\"toolbox-right\">
  119.                             <a href=\"#\" class=\"sidebar-toggle\">
  120.                                 <svg data-name=\"Layer 3\" id=\"Layer_3\" viewBox=\"0 0 32 32\" xmlns=\"http://www.w3.org/2000/svg\">
  121.                                     <line x1=\"15\" x2=\"26\" y1=\"9\" y2=\"9\" class=\"cls-1\"></line>
  122.                                     <line x1=\"6\" x2=\"9\" y1=\"9\" y2=\"9\" class=\"cls-1\"></line>
  123.                                     <line x1=\"23\" x2=\"26\" y1=\"16\" y2=\"16\" class=\"cls-1\"></line>
  124.                                     <line x1=\"6\" x2=\"17\" y1=\"16\" y2=\"16\" class=\"cls-1\"></line>
  125.                                     <line x1=\"17\" x2=\"26\" y1=\"23\" y2=\"23\" class=\"cls-1\"></line>
  126.                                     <line x1=\"6\" x2=\"11\" y1=\"23\" y2=\"23\" class=\"cls-1\"></line>
  127.                                     <path
  128.                                         d=\"M14.5,8.92A2.6,2.6,0,0,1,12,11.5,2.6,2.6,0,0,1,9.5,8.92a2.5,2.5,0,0,1,5,0Z\"
  129.                                         class=\"cls-2\"></path>
  130.                                     <path d=\"M22.5,15.92a2.5,2.5,0,1,1-5,0,2.5,2.5,0,0,1,5,0Z\" class=\"cls-2\"></path>
  131.                                     <path d=\"M21,16a1,1,0,1,1-2,0,1,1,0,0,1,2,0Z\" class=\"cls-3\"></path>
  132.                                     <path
  133.                                         d=\"M16.5,22.92A2.6,2.6,0,0,1,14,25.5a2.6,2.6,0,0,1-2.5-2.58,2.5,2.5,0,0,1,5,0Z\"
  134.                                         class=\"cls-2\"></path>
  135.                                 </svg>
  136.                                 <span>Filter</span>
  137.                             </a>
  138.                             <div class=\"toolbox-item change-view\">
  139.                                 <div class=\"layout-btn btn-grid custom-pointer tileview active\" title=\"&nbsp;\" >
  140.                                     <i class=\"icon-mode-grid\"></i>                                            
  141.                                 </div>
  142.                                 <div class=\"layout-btn btn-list custom-pointer gridview\">
  143.                                     <i class=\"icon-mode-list\"></i>
  144.                                 </div>
  145.                             </div>
  146.                             <div class=\"select-custom\">                               
  147.                                 <select name=\"orderby_check\" id=\"orderby_check\" class=\"form-control\">   
  148.                                     ";
  149.         // line 67
  150.         if (((isset($context["orderby"]) || array_key_exists("orderby"$context) ? $context["orderby"] : (function () { throw new RuntimeError('Variable "orderby" does not exist.'67$this->source); })()) == "popularity")) {
  151.             echo "   
  152.                                         <option value=\"popularity\" selected>";
  153.             // line 68
  154.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Ordina per popolarità"), "html"nulltrue);
  155.             echo "</option>
  156.                                     ";
  157.         } else {
  158.             // line 69
  159.             echo 
  160.                                         <option value=\"popularity\">";
  161.             // line 70
  162.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Ordina per popolarità"), "html"nulltrue);
  163.             echo "</option>
  164.                                     ";
  165.         }
  166.         // line 71
  167.         echo "  
  168.                                     ";
  169.         // line 73
  170.         if (((isset($context["orderby"]) || array_key_exists("orderby"$context) ? $context["orderby"] : (function () { throw new RuntimeError('Variable "orderby" does not exist.'73$this->source); })()) == "date")) {
  171.             echo "   
  172.                                         <option value=\"date\" selected>";
  173.             // line 74
  174.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Nuovi"), "html"nulltrue);
  175.             echo "</option>
  176.                                     ";
  177.         } else {
  178.             // line 75
  179.             echo 
  180.                                         <option value=\"date\">";
  181.             // line 76
  182.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Nuovi"), "html"nulltrue);
  183.             echo "</option>
  184.                                     ";
  185.         }
  186.         // line 77
  187.         echo "  
  188.                                     ";
  189.         // line 79
  190.         if (((isset($context["orderby"]) || array_key_exists("orderby"$context) ? $context["orderby"] : (function () { throw new RuntimeError('Variable "orderby" does not exist.'79$this->source); })()) == "price")) {
  191.             echo "   
  192.                                         <option value=\"price\" selected>";
  193.             // line 80
  194.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Ordina per prezzo: ascendente"), "html"nulltrue);
  195.             echo "</option>
  196.                                     ";
  197.         } else {
  198.             // line 81
  199.             echo 
  200.                                         <option value=\"price\">";
  201.             // line 82
  202.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Ordina per prezzo: ascendente"), "html"nulltrue);
  203.             echo "</option>
  204.                                     ";
  205.         }
  206.         // line 84
  207.         echo "
  208.                                         ";
  209.         // line 85
  210.         if (((isset($context["orderby"]) || array_key_exists("orderby"$context) ? $context["orderby"] : (function () { throw new RuntimeError('Variable "orderby" does not exist.'85$this->source); })()) == "price-desc")) {
  211.             echo "   
  212.                                         <option value=\"price-desc\" selected>";
  213.             // line 86
  214.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Ordina per prezzo: discendente"), "html"nulltrue);
  215.             echo "</option>
  216.                                     ";
  217.         } else {
  218.             // line 87
  219.             echo 
  220.                                         <option value=\"price-desc\">";
  221.             // line 88
  222.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Ordina per prezzo: discendente"), "html"nulltrue);
  223.             echo "</option>
  224.                                     ";
  225.         }
  226.         // line 90
  227.         echo "                                </select>
  228.                             </div>
  229.                             <!-- End .layout-modes -->
  230.                         </div>
  231.                         <!-- End .toolbox-right -->
  232.                     </nav><!--- end nav-->
  233.                     <!-- row Grid -->
  234.                     
  235.                     <div class=\"row view ml-0 ml-lg-4 mr-0 mr-lg-auto tileview-listing\" title=\"&nbsp;\" name=\"Grid-view\" >     
  236.                                         
  237.                         ";
  238.         // line 100
  239.         $context['_parent'] = $context;
  240.         $context['_seq'] = twig_ensure_traversable((isset($context["results"]) || array_key_exists("results"$context) ? $context["results"] : (function () { throw new RuntimeError('Variable "results" does not exist.'100$this->source); })()));
  241.         $context['loop'] = [
  242.           'parent' => $context['_parent'],
  243.           'index0' => 0,
  244.           'index'  => 1,
  245.           'first'  => true,
  246.         ];
  247.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  248.             $length count($context['_seq']);
  249.             $context['loop']['revindex0'] = $length 1;
  250.             $context['loop']['revindex'] = $length;
  251.             $context['loop']['length'] = $length;
  252.             $context['loop']['last'] = === $length;
  253.         }
  254.         foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  255.             echo "                                                                      
  256.                             <!-- CARD PRODUCT -->  
  257.                                 ";
  258.             // line 102
  259.             $this->loadTemplate("product_b2c/product_teaser.html.twig""product_b2c/shop-in-shop_b2c_listing.html.twig"102)->display(twig_array_merge($context, ["product" => $context["item"]]));
  260.             echo "                                
  261.                             ";
  262.             ++$context['loop']['index0'];
  263.             ++$context['loop']['index'];
  264.             $context['loop']['first'] = false;
  265.             if (isset($context['loop']['length'])) {
  266.                 --$context['loop']['revindex0'];
  267.                 --$context['loop']['revindex'];
  268.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  269.             }
  270.         }
  271.         $_parent $context['_parent'];
  272.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  273.         $context array_intersect_key($context$_parent) + $_parent;
  274.         // line 103
  275.         echo "                          
  276.                     </div>
  277.                     <!-- End .row Grid -->
  278.                     <!-- row List -->                        
  279.                     <div class=\"row view ml-0 ml-lg-4 mr-0 mr-lg-auto gridview-listing custom-hidden\" >
  280.                         <hr class=\"custom-hr d-none d-lg-block\">
  281.                         <div class=\"ct\">
  282.                             <div class=\"ct-table no-padding\">
  283.                                 <table>
  284.                                     <thead class=\"grey\" >
  285.                                         <tr>
  286.                                             <th></th>
  287.                                             <th>SKU</th>
  288.                                             <th>Img</th>                                                
  289.                                             <th>";
  290.         // line 119
  291.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Q.tà"), "html"nulltrue);
  292.         echo "</th>
  293.                                             <th>";
  294.         // line 120
  295.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Prodotto"), "html"nulltrue);
  296.         echo "</th>
  297.                                             <th class=\"text-right\">";
  298.         // line 121
  299.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Prezzo"), "html"nulltrue);
  300.         echo "</th>
  301.                                             <th></th>
  302.                                         </tr>
  303.                                     </thead>
  304.                                     <tbody>                                            
  305.                                         ";
  306.         // line 126
  307.         $context['_parent'] = $context;
  308.         $context['_seq'] = twig_ensure_traversable((isset($context["results"]) || array_key_exists("results"$context) ? $context["results"] : (function () { throw new RuntimeError('Variable "results" does not exist.'126$this->source); })()));
  309.         foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  310.             echo "  
  311.                                             ";
  312.             // line 127
  313.             $context["detailLink"] = $this->extensions['App\Twig\Extension\ProductPageExtension']->generateLink($context["item"]);
  314.             echo "                                                   
  315.                                             <!-- ROW PRODUCT -->
  316.                                             <tr class=\"product-default\">
  317.                                             <!-- example of different layout -->
  318.                                                 <td redirectto=\"\">                                                     
  319.                                                     ";
  320.             // line 132
  321.             if ((twig_get_attribute($this->env$this->source$context["item"], "isInWishList", [], "any"falsefalsefalse132) == true)) {
  322.                 echo "                                 
  323.                                                     <a href=\"";
  324.                 // line 133
  325.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("wishlist-add", ["id" => twig_get_attribute($this->env$this->source$context["item"], "id", [], "any"falsefalsefalse133), "remove" => "false"]), "html"nulltrue);
  326.                 echo "\" data-href=\"false\"  data-id=\"";
  327.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "id", [], "any"falsefalsefalse133), "html"nulltrue);
  328.                 echo "\" title=\"Aggiungi ai preferiti\" class=\"btn-icon btn-icon-wish added-wishlist wish-";
  329.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "id", [], "any"falsefalsefalse133), "html"nulltrue);
  330.                 echo "\">
  331.                                                         <i class=\"icon-star-empty\"></i>
  332.                                                     </a>
  333.                                                     ";
  334.             } else {
  335.                 // line 137
  336.                 echo "                                                    <a href=\"";
  337.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("wishlist-add", ["id" => twig_get_attribute($this->env$this->source$context["item"], "id", [], "any"falsefalsefalse137), "remove" => "true"]), "html"nulltrue);
  338.                 echo "\" data-href=\"false\"  data-id=\"";
  339.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "id", [], "any"falsefalsefalse137), "html"nulltrue);
  340.                 echo "\" title=\"Aggiungi ai preferiti\" class=\"btn-icon btn-icon-wish custom-btn-wish wish-";
  341.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "id", [], "any"falsefalsefalse137), "html"nulltrue);
  342.                 echo "\">
  343.                                                         <i class=\"icon-star-empty\"></i>
  344.                                                     </a>
  345.                                                     ";
  346.             }
  347.             // line 141
  348.             echo "                                                </td>
  349.                                                 <td>";
  350.             // line 142
  351.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "Item", [], "any"falsefalsefalse142), "html"nulltrue);
  352.             echo "</td>
  353.                                                 <td class=\"custom-pointer\">                                                    
  354.                                                     <img
  355.                                                         class=\"custom-popup-img\" 
  356.                                                         src=\"/mecstore/assets/images/custom_icons/search-icon.svg\" 
  357.                                                         data-src=\"";
  358.             // line 147
  359.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["item"], "mainImage", [], "any"falsefalsefalse147), "thumbnail", [["height" => 217"width" => 217"format" => "jpeg"]], "method"falsefalsefalse147), "html"nulltrue);
  360.             echo "\" 
  361.                                                         data-title=\"";
  362.             // line 148
  363.             echo $this->extensions['App\Twig\Extension\CartExtension']->truncateName(twig_get_attribute($this->env$this->source$context["item"], "subText", [], "any"falsefalsefalse148));
  364.             echo "\" 
  365.                                                     >
  366.                                                 </td>                                                    
  367.                                                 <td class=\"quantity\"><div class=\"availability tooltipBox availabilityModal\" data-attr=\"";
  368.             // line 151
  369.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "id", [], "any"falsefalsefalse151), "html"nulltrue);
  370.             echo "\" >
  371.                                                     <div class=\"my-3 ";
  372.             // line 152
  373.             if ((twig_get_attribute($this->env$this->source$context["item"], "Disponibilita", [], "any"falsefalsefalse152) < 1)) {
  374.                 echo "red";
  375.             } else {
  376.                 echo "custom-green ";
  377.             }
  378.             echo "\">
  379.                                                         ";
  380.             // line 153
  381.             if ((twig_get_attribute($this->env$this->source$context["item"], "Disponibilita", [], "any"falsefalsefalse153) < 1)) {
  382.                 echo "0";
  383.             } else {
  384.                 echo " ";
  385.                 echo twig_escape_filter($this->env$this->extensions['App\Twig\Extension\CartExtension']->getEuropeanCount(twig_get_attribute($this->env$this->source$context["item"], "Disponibilita", [], "any"falsefalsefalse153)), "html"nulltrue);
  386.                 echo " ";
  387.             }
  388.             echo " ";
  389.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "BaseUoM", [], "any"falsefalsefalse153), "html"nulltrue);
  390.             echo "
  391.                                                         ";
  392.             // line 154
  393.             if (( !twig_test_empty(twig_get_attribute($this->env$this->source$context["item"], "getPendingOrders", [], "any"falsefalsefalse154)) && (isset($context["isMecstoreUser"]) || array_key_exists("isMecstoreUser"$context) ? $context["isMecstoreUser"] : (function () { throw new RuntimeError('Variable "isMecstoreUser" does not exist.'154$this->source); })()))) {
  394.                 echo "<div class=\"i\">i</div> ";
  395.             }
  396.             // line 155
  397.             echo "                                                    </div>
  398.                                                     
  399.                                                     ";
  400.             // line 157
  401.             if ( !twig_test_empty(twig_get_attribute($this->env$this->source$context["item"], "getPendingOrders", [], "any"falsefalsefalse157))) {
  402.                 // line 158
  403.                 echo "                                                    <div class=\"tooltipContainer\">
  404.                                                         <div class=\"tooltipHead\">
  405.                                                             ";
  406.                 // line 160
  407.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ORDINI MECSTORE AL FORNITORE"), "html"nulltrue);
  408.                 echo "
  409.                                                         </div>
  410.                                                         <div class=\"tooltipBody\">
  411.                                                             <div class=\"tooltipTable\">
  412.                                                                 <div class=\"row\">
  413.                                                                     <div class=\"col-4 col-sm-3 pb-3\">
  414.                                                                         <strong>";
  415.                 // line 166
  416.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("DATA ORDINE"), "html"nulltrue);
  417.                 echo "</strong>
  418.                                                                     </div>
  419.                                                                     <div class=\"col-4 col-sm-3 pb-3\">
  420.                                                                         <strong>";
  421.                 // line 169
  422.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("QUANTITÀ"), "html"nulltrue);
  423.                 echo "</strong>
  424.                                                                     </div>
  425.                                                                     <div class=\"col-4 col-sm-6 pb-3\">
  426.                                                                         <strong>";
  427.                 // line 172
  428.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("DATA CONSEGNA PREVISTA"), "html"nulltrue);
  429.                 echo "</strong>
  430.                                                                     </div>
  431.                                                                 </div>
  432.                                                                 ";
  433.                 // line 175
  434.                 $context['_parent'] = $context;
  435.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["item"], "getPendingOrders", [], "any"falsefalsefalse175));
  436.                 foreach ($context['_seq'] as $context["_key"] => $context["order"]) {
  437.                     echo "                                            
  438.                                                                 <div class=\"row\">                                            
  439.                                                                     <div class=\"col-4 col-sm-3 pb-3\">
  440.                                                                         ";
  441.                     // line 178
  442.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["order"], "OrderDate", [], "array"falsefalsefalse178), "html"nulltrue);
  443.                     echo "
  444.                                                                     </div>
  445.                                                                     <div class=\"col-4 col-sm-3 pb-3\">
  446.                                                                         ";
  447.                     // line 181
  448.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["order"], "Residuo", [], "array"falsefalsefalse181), "html"nulltrue);
  449.                     echo "
  450.                                                                     </div>
  451.                                                                     <div class=\"col-4 col-sm-6 pb-3\">
  452.                                                                     ";
  453.                     // line 184
  454.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["order"], "ExpectedDeliveryDate", [], "array"falsefalsefalse184), "html"nulltrue);
  455.                     echo "
  456.                                                                     </div>
  457.                                                                 </div>
  458.                                                                 ";
  459.                 }
  460.                 $_parent $context['_parent'];
  461.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['order'], $context['_parent'], $context['loop']);
  462.                 $context array_intersect_key($context$_parent) + $_parent;
  463.                 // line 187
  464.                 echo "                                            
  465.                                                             </div>
  466.                                                         </div>
  467.                                                     </div>
  468.                                                     ";
  469.             }
  470.             // line 191
  471.             echo "                                                   
  472.                                                 
  473.                                                     </div>
  474.                                                 
  475.                                             </td>                                                
  476.                                             <td class=\"product product-title\"><a href=\"";
  477.             // line 196
  478.             echo twig_escape_filter($this->env, (isset($context["detailLink"]) || array_key_exists("detailLink"$context) ? $context["detailLink"] : (function () { throw new RuntimeError('Variable "detailLink" does not exist.'196$this->source); })()), "html"nulltrue);
  479.             echo "\" title=\"";
  480.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "item", [], "any"falsefalsefalse196), "html"nulltrue);
  481.             echo " ";
  482.             echo $this->extensions['App\Twig\Extension\CartExtension']->truncateName(twig_get_attribute($this->env$this->source$context["item"], "subText", [], "any"falsefalsefalse196));
  483.             echo "\">";
  484.             echo twig_get_attribute($this->env$this->source$context["item"], "subText", [], "any"falsefalsefalse196);
  485.             echo "</a>
  486.                                                 <figure class=\"custom-hidden\"><img src=\"";
  487.             // line 197
  488.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["item"], "mainImage", [], "any"falsefalsefalse197), "thumbnail", [["height" => 217"width" => 217"format" => "jpeg"]], "method"falsefalsefalse197), "html"nulltrue);
  489.             echo "\" width=\"217\" height=\"217\" alt=\"";
  490.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "item", [], "any"falsefalsefalse197), "html"nulltrue);
  491.             echo " ";
  492.             echo $this->extensions['App\Twig\Extension\CartExtension']->truncateName(twig_get_attribute($this->env$this->source$context["item"], "subText", [], "any"falsefalsefalse197));
  493.             echo "\"></figure>
  494.                                             </td>
  495.                                             <td class=\"price text-right\" >";
  496.             // line 199
  497.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "EuropeanPrice", [], "any"falsefalsefalse199), "html"nulltrue);
  498.             echo "</td>
  499.                                             <td class=\"add-cart-container\">
  500.                                                 <div class=\"product-single-qty text-center\">
  501.                                                     <div class=\"input-group  bootstrap-touchspin \">
  502.                                                         <input class=\"horizontal-quantity form-control\" min-qty=\"";
  503.             // line 203
  504.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "MinimumSaleQty", [], "any"falsefalsefalse203), "html"nulltrue);
  505.             echo "\" max-qty=\"";
  506.             if ( !twig_test_empty(twig_get_attribute($this->env$this->source$context["item"], "Disponibilita", [], "any"falsefalsefalse203))) {
  507.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "Disponibilita", [], "any"falsefalsefalse203), "html"nulltrue);
  508.             } else {
  509.                 echo "1";
  510.             }
  511.             echo "\" value=\"";
  512.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "MinimumSaleQty", [], "any"falsefalsefalse203), "html"nulltrue);
  513.             echo "\" type=\"text\">
  514.                                                         <span class=\"input-group-btn-vertical\">
  515.                                                             <button class=\"btn btn-outline bootstrap-touchspin-up \" type=\"button\">+</button>
  516.                                                             <button class=\"btn btn-outline bootstrap-touchspin-down\" type=\"button\">-</button>
  517.                                                         </span>
  518.                                                     </div>
  519.                                                 </div><!-- End .product-single-qty -->
  520.                                                 ";
  521.             // line 210
  522.             if (((($this->extensions['App\Twig\Extension\UserExtension']->allowUser("draft_create") || $this->extensions['App\Twig\Extension\UserExtension']->allowUser("booking_create")) || $this->extensions['App\Twig\Extension\UserExtension']->allowUser("order_create")) || $this->extensions['App\Twig\Extension\UserExtension']->allowUser("order_view"))) {
  523.                 // line 211
  524.                 echo "                                                    ";
  525.                 if ((twig_get_attribute($this->env$this->sourcetwig_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.'211$this->source); })()), "user", [], "any"falsefalsefalse211), "partner", [], "any"falsefalsefalse211), "isMecstoreHQ", [], "any"falsefalsefalse211) != true)) {
  526.                     // line 212
  527.                     echo "                                                    <a href=\"";
  528.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("shop-add-to-cart", ["id" => twig_get_attribute($this->env$this->source$context["item"], "id", [], "any"falsefalsefalse212)]), "html"nulltrue);
  529.                     echo "\" title=\"Aggiungi al carrello\" class=\"btn-add-cart product-type-simple\">
  530.                                                         <i class=\"fas fa-shopping-cart\"></i>
  531.                                                     </a>
  532.                                                     ";
  533.                 }
  534.                 // line 216
  535.                 echo "                                                ";
  536.             }
  537.             // line 217
  538.             echo "                                            </td>
  539.                                         </tr><!--END ROW PRODUCT -->                        
  540.                                         ";
  541.         }
  542.         $_parent $context['_parent'];
  543.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  544.         $context array_intersect_key($context$_parent) + $_parent;
  545.         // line 219
  546.         echo "      
  547.                                     </tbody>
  548.                                 </table>
  549.                             </div>
  550.                         </div>
  551.                     </div>                        
  552.                     <!-- End .row List -->
  553.                     ";
  554.         // line 227
  555.         $context["paginationType"] = "prodotti";
  556.         // line 228
  557.         echo "                    ";
  558.         $context["ordertype"] = "prodotti";
  559.         // line 229
  560.         echo "                    ";
  561.         $this->loadTemplate("includes/pagination.html.twig""product_b2c/shop-in-shop_b2c_listing.html.twig"229)->display($context);
  562.         echo "      
  563.                                   
  564.                 </div>
  565.                 <!-- End .col-lg-9 -->
  566.                 <div class=\"sidebar-overlay\"></div>
  567.                 <aside class=\"sidebar-shop col-lg-2 order-lg-first mobile-sidebar\">
  568.                     ";
  569.         // line 236
  570.         if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["brandObj"]) || array_key_exists("brandObj"$context) ? $context["brandObj"] : (function () { throw new RuntimeError('Variable "brandObj" does not exist.'236$this->source); })()), "logo", [], "any"falsefalsefalse236))) {
  571.             // line 237
  572.             echo "                    <div class=\"brand-logo listing\" ";
  573.             if (twig_get_attribute($this->env$this->source, (isset($context["brandObj"]) || array_key_exists("brandObj"$context) ? $context["brandObj"] : (function () { throw new RuntimeError('Variable "brandObj" does not exist.'237$this->source); })()), "color", [], "any"falsefalsefalse237)) {
  574.                 echo "style=\"background-color:";
  575.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["brandObj"]) || array_key_exists("brandObj"$context) ? $context["brandObj"] : (function () { throw new RuntimeError('Variable "brandObj" does not exist.'237$this->source); })()), "color", [], "any"falsefalsefalse237), "hex", [], "any"falsefalsefalse237), "html"nulltrue);
  576.                 echo ";\" ";
  577.             }
  578.             echo ">
  579.                         <img src=\"";
  580.             // line 238
  581.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["brandObj"]) || array_key_exists("brandObj"$context) ? $context["brandObj"] : (function () { throw new RuntimeError('Variable "brandObj" does not exist.'238$this->source); })()), "logo", [], "any"falsefalsefalse238), "path", [], "any"falsefalsefalse238), "html"nulltrue);
  582.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["brandObj"]) || array_key_exists("brandObj"$context) ? $context["brandObj"] : (function () { throw new RuntimeError('Variable "brandObj" does not exist.'238$this->source); })()), "logo", [], "any"falsefalsefalse238), "filename", [], "any"falsefalsefalse238), "html"nulltrue);
  583.             echo "\" />
  584.                     </div>
  585.                     ";
  586.         }
  587.         // line 241
  588.         echo "                    <form class=\"checkbox-filter-container\" id=\"js_filterfield\" action=\"#\">
  589.                     <div class=\"sidebar-wrapper\" style=\"border-bottom: 0px none rgb(119, 119, 119); \">
  590.                         <div class=\"widget\">
  591.                             <h3 class=\"widget-title no-row\">
  592.                                 ";
  593.         // line 246
  594.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Ricerca libera"), "html"nulltrue);
  595.         echo "
  596.                             </h3>
  597.                             <div id=\"search-catalog\" class=\"container-searchbox\">
  598.                                 <input type=\"hidden\" name=\"categoria\" value=\"\" id=\"input-category\">
  599.                                 <input type=\"search\" name=\"term\" value=\"";
  600.         // line 251
  601.         echo twig_escape_filter($this->env, (isset($context["term"]) || array_key_exists("term"$context) ? $context["term"] : (function () { throw new RuntimeError('Variable "term" does not exist.'251$this->source); })()), "html"nulltrue);
  602.         echo "\" id=\"input-search\">
  603.                                 <input id=\"submit-button\" class=\"btn btn-yellow\" type=\"submit\" value=\"";
  604.         // line 252
  605.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Cerca"), "html"nulltrue);
  606.         echo "\">
  607.                             </div>
  608.                             <!-- End .collapse -->
  609.                         </div>
  610.                         <!-- End .widget -->
  611.                         <div class=\"widget prezzo\">
  612.                             <h3 class=\"widget-title\">
  613.                                 <a data-toggle=\"collapse\" href=\"#widget-body-3\" role=\"button\" aria-expanded=\"true\" aria-controls=\"widget-body-3\">";
  614.         // line 260
  615.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Prezzo"), "html"nulltrue);
  616.         echo "</a>
  617.                             </h3>
  618.                             <div class=\"collapse show\" id=\"widget-body-3\">
  619.                                 <div class=\"widget-body pb-0\">                                            
  620.                                             <div class=\"price-slider-wrapper\">
  621.                                                 <div id=\"price-slider\"></div>
  622.                                                 <!-- End #price-slider -->
  623.                                             </div>
  624.                                             <!-- End .price-slider-wrapper -->
  625.                                             <div class=\"filter-price-action d-flex align-items-center justify-content-between flex-wrap\">
  626.                                                 <div class=\"filter-price-text\">
  627.                                                     ";
  628.         // line 273
  629.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Prezzo:"), "html"nulltrue);
  630.         echo "
  631.                                                     <span id=\"filter-price-range\"></span>
  632.                                                 </div>
  633.                                                 <!-- End .filter-price-text -->
  634.                                                 <button type=\"submit\" id=\"submit-button\" class=\"btn btn-yellow\">";
  635.         // line 278
  636.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("filtra"), "html"nulltrue);
  637.         echo "</button>
  638.                                             </div>
  639.                                             <!-- End .filter-price-action -->                                                                             
  640.                                 </div>
  641.                                 <!-- End .widget-body -->
  642.                             </div>
  643.                             <!-- End .collapse -->
  644.                         </div>
  645.                         <!-- End .widget -->
  646.                                                                                 
  647.                             ";
  648.         // line 288
  649.         if ((twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["filterDefinition"]) || array_key_exists("filterDefinition"$context) ? $context["filterDefinition"] : (function () { throw new RuntimeError('Variable "filterDefinition" does not exist.'288$this->source); })()), "filters", [], "any"falsefalsefalse288)) > 0)) {
  650.             // line 289
  651.             echo "
  652.                                 ";
  653.             // line 290
  654.             $context['_parent'] = $context;
  655.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["filterDefinition"]) || array_key_exists("filterDefinition"$context) ? $context["filterDefinition"] : (function () { throw new RuntimeError('Variable "filterDefinition" does not exist.'290$this->source); })()), "filters", [], "any"falsefalsefalse290));
  656.             foreach ($context['_seq'] as $context["_key"] => $context["filter"]) {
  657.                 // line 291
  658.                 echo "
  659.                                     ";
  660.                 // line 292
  661.                 $context["filterMarkup"] = twig_get_attribute($this->env$this->source, (isset($context["filterService"]) || array_key_exists("filterService"$context) ? $context["filterService"] : (function () { throw new RuntimeError('Variable "filterService" does not exist.'292$this->source); })()), "filterFrontend", [$context["filter"], (isset($context["productListing"]) || array_key_exists("productListing"$context) ? $context["productListing"] : (function () { throw new RuntimeError('Variable "productListing" does not exist.'292$this->source); })()), (isset($context["currentFilter"]) || array_key_exists("currentFilter"$context) ? $context["currentFilter"] : (function () { throw new RuntimeError('Variable "currentFilter" does not exist.'292$this->source); })())], "method"falsefalsefalse292);
  662.                 // line 293
  663.                 echo "
  664.                                     ";
  665.                 // line 294
  666.                 echo (isset($context["filterMarkup"]) || array_key_exists("filterMarkup"$context) ? $context["filterMarkup"] : (function () { throw new RuntimeError('Variable "filterMarkup" does not exist.'294$this->source); })());
  667.                 echo "
  668.                                 ";
  669.             }
  670.             $_parent $context['_parent'];
  671.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['filter'], $context['_parent'], $context['loop']);
  672.             $context array_intersect_key($context$_parent) + $_parent;
  673.             // line 297
  674.             echo "                            ";
  675.         }
  676.         // line 298
  677.         echo "                            <!-- End .collapse -->                            
  678.                         <!-- End .widget --> 
  679.                                                    
  680.                     </div>  
  681.                     <input type=\"hidden\" name=\"orderby\" value=\"\" id=\"orderby\">   
  682.                     <input type=\"hidden\" name=\"limit\" value=\"\" id=\"limit\" value=\"";
  683.         // line 304
  684.         echo twig_escape_filter($this->env, (isset($context["limit"]) || array_key_exists("limit"$context) ? $context["limit"] : (function () { throw new RuntimeError('Variable "limit" does not exist.'304$this->source); })()), "html"nulltrue);
  685.         echo "\" >  
  686.                         
  687.                     <input type=\"hidden\" name=\"max_range\" id=\"max_range\" class=\"max_range\" value=\"";
  688.         // line 306
  689.         echo twig_escape_filter($this->env, (isset($context["maxRange"]) || array_key_exists("maxRange"$context) ? $context["maxRange"] : (function () { throw new RuntimeError('Variable "maxRange" does not exist.'306$this->source); })()), "html"nulltrue);
  690.         echo "\" />              
  691.                     </form>
  692.                     <!-- End .sidebar-wrapper -->
  693.                 </aside>
  694.                 <!-- End .col-lg-3 -->
  695.             </div>
  696.             
  697.         <!--  Brand banner -->
  698.             ";
  699.         // line 323
  700.         if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["brandObj"]) || array_key_exists("brandObj"$context) ? $context["brandObj"] : (function () { throw new RuntimeError('Variable "brandObj" does not exist.'323$this->source); })()), "footerBanner", [], "any"falsefalsefalse323))) {
  701.             // line 324
  702.             echo "            <div class=\"brand-banner\">
  703.                 
  704.                 ";
  705.             // line 326
  706.             if (twig_get_attribute($this->env$this->source, (isset($context["brandObj"]) || array_key_exists("brandObj"$context) ? $context["brandObj"] : (function () { throw new RuntimeError('Variable "brandObj" does not exist.'326$this->source); })()), "footerLink", [], "any"falsefalsefalse326)) {
  707.                 // line 327
  708.                 echo "                   <a href=\"";
  709.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["brandObj"]) || array_key_exists("brandObj"$context) ? $context["brandObj"] : (function () { throw new RuntimeError('Variable "brandObj" does not exist.'327$this->source); })()), "footerLink", [], "any"falsefalsefalse327), "href", [], "any"falsefalsefalse327), "html"nulltrue);
  710.                 echo "\"><img src=\"";
  711.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["brandObj"]) || array_key_exists("brandObj"$context) ? $context["brandObj"] : (function () { throw new RuntimeError('Variable "brandObj" does not exist.'327$this->source); })()), "footerBanner", [], "any"falsefalsefalse327), "path", [], "any"falsefalsefalse327), "html"nulltrue);
  712.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["brandObj"]) || array_key_exists("brandObj"$context) ? $context["brandObj"] : (function () { throw new RuntimeError('Variable "brandObj" does not exist.'327$this->source); })()), "footerBanner", [], "any"falsefalsefalse327), "filename", [], "any"falsefalsefalse327), "html"nulltrue);
  713.                 echo "\"></a>
  714.                 ";
  715.             } else {
  716.                 // line 329
  717.                 echo "                    <img src=\"";
  718.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["brandObj"]) || array_key_exists("brandObj"$context) ? $context["brandObj"] : (function () { throw new RuntimeError('Variable "brandObj" does not exist.'329$this->source); })()), "footerBanner", [], "any"falsefalsefalse329), "path", [], "any"falsefalsefalse329), "html"nulltrue);
  719.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["brandObj"]) || array_key_exists("brandObj"$context) ? $context["brandObj"] : (function () { throw new RuntimeError('Variable "brandObj" does not exist.'329$this->source); })()), "footerBanner", [], "any"falsefalsefalse329), "filename", [], "any"falsefalsefalse329), "html"nulltrue);
  720.                 echo "\">
  721.                 ";
  722.             }
  723.             // line 331
  724.             echo "            </div>
  725.             ";
  726.         }
  727.         // line 333
  728.         echo "
  729.         </div><!-- End .container -->
  730.                 ";
  731.         // line 335
  732.         if (( !twig_test_empty((isset($context["brandObj"]) || array_key_exists("brandObj"$context) ? $context["brandObj"] : (function () { throw new RuntimeError('Variable "brandObj" does not exist.'335$this->source); })())) && twig_get_attribute($this->env$this->source, (isset($context["brandObj"]) || array_key_exists("brandObj"$context) ? $context["brandObj"] : (function () { throw new RuntimeError('Variable "brandObj" does not exist.'335$this->source); })()), "enableDedicatedPage", [], "any"falsefalsefalse335))) {
  733.             // line 336
  734.             echo "                <style>
  735.                     .intro-shopinshop .brand-box .cta .inner{
  736.                         background-color: ";
  737.             // line 338
  738.             if (twig_get_attribute($this->env$this->source, (isset($context["brandObj"]) || array_key_exists("brandObj"$context) ? $context["brandObj"] : (function () { throw new RuntimeError('Variable "brandObj" does not exist.'338$this->source); })()), "color", [], "any"falsefalsefalse338)) {
  739.                 echo " ";
  740.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["brandObj"]) || array_key_exists("brandObj"$context) ? $context["brandObj"] : (function () { throw new RuntimeError('Variable "brandObj" does not exist.'338$this->source); })()), "color", [], "any"falsefalsefalse338), "hex", [], "any"falsefalsefalse338), "html"nulltrue);
  741.                 echo " ";
  742.             }
  743.             echo ";
  744.                         border: 1px solid ";
  745.             // line 339
  746.             if (twig_get_attribute($this->env$this->source, (isset($context["brandObj"]) || array_key_exists("brandObj"$context) ? $context["brandObj"] : (function () { throw new RuntimeError('Variable "brandObj" does not exist.'339$this->source); })()), "color", [], "any"falsefalsefalse339)) {
  747.                 echo " ";
  748.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["brandObj"]) || array_key_exists("brandObj"$context) ? $context["brandObj"] : (function () { throw new RuntimeError('Variable "brandObj" does not exist.'339$this->source); })()), "textColor", [], "any"falsefalsefalse339), "hex", [], "any"falsefalsefalse339), "html"nulltrue);
  749.                 echo " ";
  750.             }
  751.             echo ";
  752.                         color: ";
  753.             // line 340
  754.             if (twig_get_attribute($this->env$this->source, (isset($context["brandObj"]) || array_key_exists("brandObj"$context) ? $context["brandObj"] : (function () { throw new RuntimeError('Variable "brandObj" does not exist.'340$this->source); })()), "color", [], "any"falsefalsefalse340)) {
  755.                 echo " ";
  756.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["brandObj"]) || array_key_exists("brandObj"$context) ? $context["brandObj"] : (function () { throw new RuntimeError('Variable "brandObj" does not exist.'340$this->source); })()), "textColor", [], "any"falsefalsefalse340), "hex", [], "any"falsefalsefalse340), "html"nulltrue);
  757.                 echo " ";
  758.             }
  759.             echo ";
  760.                     }
  761.                     .intro-shopinshop .shop-slider .cta .inner{
  762.                         background-color: ";
  763.             // line 343
  764.             if (twig_get_attribute($this->env$this->source, (isset($context["brandObj"]) || array_key_exists("brandObj"$context) ? $context["brandObj"] : (function () { throw new RuntimeError('Variable "brandObj" does not exist.'343$this->source); })()), "color", [], "any"falsefalsefalse343)) {
  765.                 echo " ";
  766.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["brandObj"]) || array_key_exists("brandObj"$context) ? $context["brandObj"] : (function () { throw new RuntimeError('Variable "brandObj" does not exist.'343$this->source); })()), "color", [], "any"falsefalsefalse343), "hex", [], "any"falsefalsefalse343), "html"nulltrue);
  767.                 echo " ";
  768.             }
  769.             echo ";
  770.                         color: ";
  771.             // line 344
  772.             if (twig_get_attribute($this->env$this->source, (isset($context["brandObj"]) || array_key_exists("brandObj"$context) ? $context["brandObj"] : (function () { throw new RuntimeError('Variable "brandObj" does not exist.'344$this->source); })()), "color", [], "any"falsefalsefalse344)) {
  773.                 echo " ";
  774.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["brandObj"]) || array_key_exists("brandObj"$context) ? $context["brandObj"] : (function () { throw new RuntimeError('Variable "brandObj" does not exist.'344$this->source); })()), "textColor", [], "any"falsefalsefalse344), "hex", [], "any"falsefalsefalse344), "html"nulltrue);
  775.                 echo " ";
  776.             }
  777.             echo ";
  778.                     }
  779.                     .intro-shopinshop .shop-slider .owl-dots .owl-dot span {
  780.                         border: 1px solid ";
  781.             // line 347
  782.             if (twig_get_attribute($this->env$this->source, (isset($context["brandObj"]) || array_key_exists("brandObj"$context) ? $context["brandObj"] : (function () { throw new RuntimeError('Variable "brandObj" does not exist.'347$this->source); })()), "color", [], "any"falsefalsefalse347)) {
  783.                 echo " ";
  784.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["brandObj"]) || array_key_exists("brandObj"$context) ? $context["brandObj"] : (function () { throw new RuntimeError('Variable "brandObj" does not exist.'347$this->source); })()), "color", [], "any"falsefalsefalse347), "hex", [], "any"falsefalsefalse347), "html"nulltrue);
  785.                 echo " ";
  786.             }
  787.             echo ";
  788.                     }
  789.                     .intro-shopinshop .shop-slider .owl-dots .owl-dot.active span,
  790.                     .intro-shopinshop .shop-slider .owl-dots .owl-dot.active span:before {
  791.                         background-color: ";
  792.             // line 351
  793.             if (twig_get_attribute($this->env$this->source, (isset($context["brandObj"]) || array_key_exists("brandObj"$context) ? $context["brandObj"] : (function () { throw new RuntimeError('Variable "brandObj" does not exist.'351$this->source); })()), "color", [], "any"falsefalsefalse351)) {
  794.                 echo " ";
  795.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["brandObj"]) || array_key_exists("brandObj"$context) ? $context["brandObj"] : (function () { throw new RuntimeError('Variable "brandObj" does not exist.'351$this->source); })()), "color", [], "any"falsefalsefalse351), "hex", [], "any"falsefalsefalse351), "html"nulltrue);
  796.                 echo " ";
  797.             }
  798.             echo ";
  799.                     }
  800.                 </style>
  801.                 ";
  802.         }
  803.         // line 355
  804.         echo "
  805.     </div>
  806. ";
  807.         
  808.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  809.         
  810.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  811.         
  812.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
  813.     }
  814.     public function getTemplateName()
  815.     {
  816.         return "product_b2c/shop-in-shop_b2c_listing.html.twig";
  817.     }
  818.     public function isTraitable()
  819.     {
  820.         return false;
  821.     }
  822.     public function getDebugInfo()
  823.     {
  824.         return array (  849 => 355,  838 => 351,  827 => 347,  817 => 344,  809 => 343,  799 => 340,  791 => 339,  783 => 338,  779 => 336,  777 => 335,  773 => 333,  769 => 331,  762 => 329,  753 => 327,  751 => 326,  747 => 324,  745 => 323,  725 => 306,  720 => 304,  712 => 298,  709 => 297,  700 => 294,  697 => 293,  695 => 292,  692 => 291,  688 => 290,  685 => 289,  683 => 288,  670 => 278,  662 => 273,  646 => 260,  635 => 252,  631 => 251,  623 => 246,  616 => 241,  609 => 238,  600 => 237,  598 => 236,  587 => 229,  584 => 228,  582 => 227,  572 => 219,  564 => 217,  561 => 216,  553 => 212,  550 => 211,  548 => 210,  530 => 203,  523 => 199,  514 => 197,  504 => 196,  497 => 191,  490 => 187,  480 => 184,  474 => 181,  468 => 178,  460 => 175,  454 => 172,  448 => 169,  442 => 166,  433 => 160,  429 => 158,  427 => 157,  423 => 155,  419 => 154,  407 => 153,  399 => 152,  395 => 151,  389 => 148,  385 => 147,  377 => 142,  374 => 141,  362 => 137,  351 => 133,  347 => 132,  339 => 127,  333 => 126,  325 => 121,  321 => 120,  317 => 119,  299 => 103,  283 => 102,  263 => 100,  251 => 90,  246 => 88,  243 => 87,  238 => 86,  234 => 85,  231 => 84,  226 => 82,  223 => 81,  218 => 80,  214 => 79,  210 => 77,  205 => 76,  202 => 75,  197 => 74,  193 => 73,  189 => 71,  184 => 70,  181 => 69,  176 => 68,  172 => 67,  122 => 30,  110 => 29,  93 => 15,  84 => 9,  77 => 4,  64 => 3,  35 => 1,);
  825.     }
  826.     public function getSourceContext()
  827.     {
  828.         return new Source("{% extends 'layouts/layout_b2c.html.twig' %}
  829. {% block content %}
  830.     <div id=\"main-content\" class=\"main-content shopinshop\" >
  831.         
  832.        
  833.         <section class=\"sub-header\">
  834.             <div class=\"name-page py-5 text-center\">
  835.                 {{ pimcore_input('headline', {'placeholder':'Headline'}) }}
  836.             </div>
  837.                 <nav aria-label=\"breadcrumb\" class=\" breadcrumb-nav\">
  838.                     <ol class=\"container breadcrumb responsive-breadcrumb\">
  839.                         <li class=\"breadcrumb-item\"><a href=\"/\">home</a></li>
  840.                         <li class=\"breadcrumb-item\"><a >
  841.                         {{document.title}}
  842.                         </a></li>
  843.                     </ol>
  844.                 </nav>
  845.         </section> 
  846.         <div class=\"container\">            
  847.             
  848.             <div class=\"row\">
  849.                 <div class=\"col-lg-10\">
  850.                     <nav class=\"toolbox sticky-header ml-0 ml-lg-4\" data-sticky-options=\"{'mobile': true}\">
  851.                         <div class=\"layout-modes  toolbox-left\">
  852.                             <p class=\"numresults font-weight-bold\">
  853.                                 {{offset}}-{{limit}} di {{totalCount}} {{ 'risultati per'|trans }} {{brandObj.name}}
  854.                                 {{paginationVariables.totalCount}} {{ 'risultati'|trans }} {% if term != \"\" %} per \"{{term}}\" {% endif %} in {{brandObj.name}}
  855.                             </p>
  856.                         </div>
  857.                         <!-- End .toolbox-left -->
  858.                         <div class=\"toolbox-right\">
  859.                             <a href=\"#\" class=\"sidebar-toggle\">
  860.                                 <svg data-name=\"Layer 3\" id=\"Layer_3\" viewBox=\"0 0 32 32\" xmlns=\"http://www.w3.org/2000/svg\">
  861.                                     <line x1=\"15\" x2=\"26\" y1=\"9\" y2=\"9\" class=\"cls-1\"></line>
  862.                                     <line x1=\"6\" x2=\"9\" y1=\"9\" y2=\"9\" class=\"cls-1\"></line>
  863.                                     <line x1=\"23\" x2=\"26\" y1=\"16\" y2=\"16\" class=\"cls-1\"></line>
  864.                                     <line x1=\"6\" x2=\"17\" y1=\"16\" y2=\"16\" class=\"cls-1\"></line>
  865.                                     <line x1=\"17\" x2=\"26\" y1=\"23\" y2=\"23\" class=\"cls-1\"></line>
  866.                                     <line x1=\"6\" x2=\"11\" y1=\"23\" y2=\"23\" class=\"cls-1\"></line>
  867.                                     <path
  868.                                         d=\"M14.5,8.92A2.6,2.6,0,0,1,12,11.5,2.6,2.6,0,0,1,9.5,8.92a2.5,2.5,0,0,1,5,0Z\"
  869.                                         class=\"cls-2\"></path>
  870.                                     <path d=\"M22.5,15.92a2.5,2.5,0,1,1-5,0,2.5,2.5,0,0,1,5,0Z\" class=\"cls-2\"></path>
  871.                                     <path d=\"M21,16a1,1,0,1,1-2,0,1,1,0,0,1,2,0Z\" class=\"cls-3\"></path>
  872.                                     <path
  873.                                         d=\"M16.5,22.92A2.6,2.6,0,0,1,14,25.5a2.6,2.6,0,0,1-2.5-2.58,2.5,2.5,0,0,1,5,0Z\"
  874.                                         class=\"cls-2\"></path>
  875.                                 </svg>
  876.                                 <span>Filter</span>
  877.                             </a>
  878.                             <div class=\"toolbox-item change-view\">
  879.                                 <div class=\"layout-btn btn-grid custom-pointer tileview active\" title=\"&nbsp;\" >
  880.                                     <i class=\"icon-mode-grid\"></i>                                            
  881.                                 </div>
  882.                                 <div class=\"layout-btn btn-list custom-pointer gridview\">
  883.                                     <i class=\"icon-mode-list\"></i>
  884.                                 </div>
  885.                             </div>
  886.                             <div class=\"select-custom\">                               
  887.                                 <select name=\"orderby_check\" id=\"orderby_check\" class=\"form-control\">   
  888.                                     {% if orderby == \"popularity\" %}   
  889.                                         <option value=\"popularity\" selected>{{ 'Ordina per popolarità'|trans }}</option>
  890.                                     {%  else %} 
  891.                                         <option value=\"popularity\">{{ 'Ordina per popolarità'|trans }}</option>
  892.                                     {%  endif %}  
  893.                                     {% if  orderby == \"date\" %}   
  894.                                         <option value=\"date\" selected>{{ 'Nuovi'|trans }}</option>
  895.                                     {%  else %} 
  896.                                         <option value=\"date\">{{ 'Nuovi'|trans }}</option>
  897.                                     {%  endif %}  
  898.                                     {% if orderby == \"price\" %}   
  899.                                         <option value=\"price\" selected>{{ 'Ordina per prezzo: ascendente'|trans }}</option>
  900.                                     {%  else %} 
  901.                                         <option value=\"price\">{{ 'Ordina per prezzo: ascendente'|trans }}</option>
  902.                                     {%  endif %}
  903.                                         {% if  orderby == \"price-desc\" %}   
  904.                                         <option value=\"price-desc\" selected>{{ 'Ordina per prezzo: discendente'|trans }}</option>
  905.                                     {%  else %} 
  906.                                         <option value=\"price-desc\">{{ 'Ordina per prezzo: discendente'|trans }}</option>
  907.                                     {%  endif %}
  908.                                 </select>
  909.                             </div>
  910.                             <!-- End .layout-modes -->
  911.                         </div>
  912.                         <!-- End .toolbox-right -->
  913.                     </nav><!--- end nav-->
  914.                     <!-- row Grid -->
  915.                     
  916.                     <div class=\"row view ml-0 ml-lg-4 mr-0 mr-lg-auto tileview-listing\" title=\"&nbsp;\" name=\"Grid-view\" >     
  917.                                         
  918.                         {%  for item in results %}                                                                      
  919.                             <!-- CARD PRODUCT -->  
  920.                                 {% include 'product_b2c/product_teaser.html.twig' with {'product': item} %}                                
  921.                             {% endfor %}                          
  922.                     </div>
  923.                     <!-- End .row Grid -->
  924.                     <!-- row List -->                        
  925.                     <div class=\"row view ml-0 ml-lg-4 mr-0 mr-lg-auto gridview-listing custom-hidden\" >
  926.                         <hr class=\"custom-hr d-none d-lg-block\">
  927.                         <div class=\"ct\">
  928.                             <div class=\"ct-table no-padding\">
  929.                                 <table>
  930.                                     <thead class=\"grey\" >
  931.                                         <tr>
  932.                                             <th></th>
  933.                                             <th>SKU</th>
  934.                                             <th>Img</th>                                                
  935.                                             <th>{{ 'Q.tà'|trans }}</th>
  936.                                             <th>{{ 'Prodotto'|trans }}</th>
  937.                                             <th class=\"text-right\">{{ 'Prezzo'|trans }}</th>
  938.                                             <th></th>
  939.                                         </tr>
  940.                                     </thead>
  941.                                     <tbody>                                            
  942.                                         {%  for item in results %}  
  943.                                             {% set detailLink = app_product_detaillink(item) %}                                                   
  944.                                             <!-- ROW PRODUCT -->
  945.                                             <tr class=\"product-default\">
  946.                                             <!-- example of different layout -->
  947.                                                 <td redirectto=\"\">                                                     
  948.                                                     {% if item.isInWishList == true %}                                 
  949.                                                     <a href=\"{{ path('wishlist-add', {'id': item.id,'remove': 'false'}) }}\" data-href=\"false\"  data-id=\"{{item.id}}\" title=\"Aggiungi ai preferiti\" class=\"btn-icon btn-icon-wish added-wishlist wish-{{item.id}}\">
  950.                                                         <i class=\"icon-star-empty\"></i>
  951.                                                     </a>
  952.                                                     {% else %}
  953.                                                     <a href=\"{{ path('wishlist-add', {'id': item.id,'remove': 'true'}) }}\" data-href=\"false\"  data-id=\"{{item.id}}\" title=\"Aggiungi ai preferiti\" class=\"btn-icon btn-icon-wish custom-btn-wish wish-{{item.id}}\">
  954.                                                         <i class=\"icon-star-empty\"></i>
  955.                                                     </a>
  956.                                                     {% endif %}
  957.                                                 </td>
  958.                                                 <td>{{ item.Item }}</td>
  959.                                                 <td class=\"custom-pointer\">                                                    
  960.                                                     <img
  961.                                                         class=\"custom-popup-img\" 
  962.                                                         src=\"/mecstore/assets/images/custom_icons/search-icon.svg\" 
  963.                                                         data-src=\"{{ item.mainImage.thumbnail({'height': 217, 'width': 217, 'format': 'jpeg'}) }}\" 
  964.                                                         data-title=\"{{ truncate_name(item.subText) | raw }}\" 
  965.                                                     >
  966.                                                 </td>                                                    
  967.                                                 <td class=\"quantity\"><div class=\"availability tooltipBox availabilityModal\" data-attr=\"{{item.id}}\" >
  968.                                                     <div class=\"my-3 {% if item.Disponibilita < 1 %}red{% else %}custom-green {% endif %}\">
  969.                                                         {% if item.Disponibilita < 1 %}0{% else %} {{ european_count(item.Disponibilita) }} {% endif %} {{item.BaseUoM}}
  970.                                                         {% if item.getPendingOrders  is not empty and isMecstoreUser %}<div class=\"i\">i</div> {% endif %}
  971.                                                     </div>
  972.                                                     
  973.                                                     {% if item.getPendingOrders  is not empty %}
  974.                                                     <div class=\"tooltipContainer\">
  975.                                                         <div class=\"tooltipHead\">
  976.                                                             {{ 'ORDINI MECSTORE AL FORNITORE'|trans }}
  977.                                                         </div>
  978.                                                         <div class=\"tooltipBody\">
  979.                                                             <div class=\"tooltipTable\">
  980.                                                                 <div class=\"row\">
  981.                                                                     <div class=\"col-4 col-sm-3 pb-3\">
  982.                                                                         <strong>{{ 'DATA ORDINE'|trans }}</strong>
  983.                                                                     </div>
  984.                                                                     <div class=\"col-4 col-sm-3 pb-3\">
  985.                                                                         <strong>{{ 'QUANTITÀ'|trans }}</strong>
  986.                                                                     </div>
  987.                                                                     <div class=\"col-4 col-sm-6 pb-3\">
  988.                                                                         <strong>{{ 'DATA CONSEGNA PREVISTA'|trans }}</strong>
  989.                                                                     </div>
  990.                                                                 </div>
  991.                                                                 {% for order in item.getPendingOrders %}                                            
  992.                                                                 <div class=\"row\">                                            
  993.                                                                     <div class=\"col-4 col-sm-3 pb-3\">
  994.                                                                         {{order['OrderDate']}}
  995.                                                                     </div>
  996.                                                                     <div class=\"col-4 col-sm-3 pb-3\">
  997.                                                                         {{order['Residuo']}}
  998.                                                                     </div>
  999.                                                                     <div class=\"col-4 col-sm-6 pb-3\">
  1000.                                                                     {{order['ExpectedDeliveryDate']}}
  1001.                                                                     </div>
  1002.                                                                 </div>
  1003.                                                                 {% endfor %}                                            
  1004.                                                             </div>
  1005.                                                         </div>
  1006.                                                     </div>
  1007.                                                     {% endif %}                                                   
  1008.                                                 
  1009.                                                     </div>
  1010.                                                 
  1011.                                             </td>                                                
  1012.                                             <td class=\"product product-title\"><a href=\"{{ detailLink }}\" title=\"{{ item.item }} {{ truncate_name(item.subText) | raw }}\">{{ item.subText | raw }}</a>
  1013.                                                 <figure class=\"custom-hidden\"><img src=\"{{ item.mainImage.thumbnail({'height': 217, 'width': 217, 'format': 'jpeg'}) }}\" width=\"217\" height=\"217\" alt=\"{{ item.item }} {{ truncate_name(item.subText) | raw }}\"></figure>
  1014.                                             </td>
  1015.                                             <td class=\"price text-right\" >{{ item.EuropeanPrice  }}</td>
  1016.                                             <td class=\"add-cart-container\">
  1017.                                                 <div class=\"product-single-qty text-center\">
  1018.                                                     <div class=\"input-group  bootstrap-touchspin \">
  1019.                                                         <input class=\"horizontal-quantity form-control\" min-qty=\"{{item.MinimumSaleQty}}\" max-qty=\"{% if item.Disponibilita is not empty %}{{item.Disponibilita}}{% else %}1{% endif %}\" value=\"{{item.MinimumSaleQty}}\" type=\"text\">
  1020.                                                         <span class=\"input-group-btn-vertical\">
  1021.                                                             <button class=\"btn btn-outline bootstrap-touchspin-up \" type=\"button\">+</button>
  1022.                                                             <button class=\"btn btn-outline bootstrap-touchspin-down\" type=\"button\">-</button>
  1023.                                                         </span>
  1024.                                                     </div>
  1025.                                                 </div><!-- End .product-single-qty -->
  1026.                                                 {% if allow_user('draft_create') or allow_user('booking_create') or allow_user('order_create') or allow_user('order_view')  %}
  1027.                                                     {% if app.user.partner.isMecstoreHQ != true %}
  1028.                                                     <a href=\"{{ path('shop-add-to-cart', { id: item.id }) }}\" title=\"Aggiungi al carrello\" class=\"btn-add-cart product-type-simple\">
  1029.                                                         <i class=\"fas fa-shopping-cart\"></i>
  1030.                                                     </a>
  1031.                                                     {% endif %}
  1032.                                                 {% endif %}
  1033.                                             </td>
  1034.                                         </tr><!--END ROW PRODUCT -->                        
  1035.                                         {% endfor %}      
  1036.                                     </tbody>
  1037.                                 </table>
  1038.                             </div>
  1039.                         </div>
  1040.                     </div>                        
  1041.                     <!-- End .row List -->
  1042.                     {% set paginationType = 'prodotti' %}
  1043.                     {% set ordertype = 'prodotti' %}
  1044.                     {% include 'includes/pagination.html.twig' %}      
  1045.                                   
  1046.                 </div>
  1047.                 <!-- End .col-lg-9 -->
  1048.                 <div class=\"sidebar-overlay\"></div>
  1049.                 <aside class=\"sidebar-shop col-lg-2 order-lg-first mobile-sidebar\">
  1050.                     {% if brandObj.logo is not empty %}
  1051.                     <div class=\"brand-logo listing\" {% if brandObj.color %}style=\"background-color:{{brandObj.color.hex}};\" {% endif %}>
  1052.                         <img src=\"{{brandObj.logo.path}}{{brandObj.logo.filename}}\" />
  1053.                     </div>
  1054.                     {% endif %}
  1055.                     <form class=\"checkbox-filter-container\" id=\"js_filterfield\" action=\"#\">
  1056.                     <div class=\"sidebar-wrapper\" style=\"border-bottom: 0px none rgb(119, 119, 119); \">
  1057.                         <div class=\"widget\">
  1058.                             <h3 class=\"widget-title no-row\">
  1059.                                 {{ 'Ricerca libera'|trans }}
  1060.                             </h3>
  1061.                             <div id=\"search-catalog\" class=\"container-searchbox\">
  1062.                                 <input type=\"hidden\" name=\"categoria\" value=\"\" id=\"input-category\">
  1063.                                 <input type=\"search\" name=\"term\" value=\"{{term}}\" id=\"input-search\">
  1064.                                 <input id=\"submit-button\" class=\"btn btn-yellow\" type=\"submit\" value=\"{{ 'Cerca'|trans }}\">
  1065.                             </div>
  1066.                             <!-- End .collapse -->
  1067.                         </div>
  1068.                         <!-- End .widget -->
  1069.                         <div class=\"widget prezzo\">
  1070.                             <h3 class=\"widget-title\">
  1071.                                 <a data-toggle=\"collapse\" href=\"#widget-body-3\" role=\"button\" aria-expanded=\"true\" aria-controls=\"widget-body-3\">{{ 'Prezzo'|trans }}</a>
  1072.                             </h3>
  1073.                             <div class=\"collapse show\" id=\"widget-body-3\">
  1074.                                 <div class=\"widget-body pb-0\">                                            
  1075.                                             <div class=\"price-slider-wrapper\">
  1076.                                                 <div id=\"price-slider\"></div>
  1077.                                                 <!-- End #price-slider -->
  1078.                                             </div>
  1079.                                             <!-- End .price-slider-wrapper -->
  1080.                                             <div class=\"filter-price-action d-flex align-items-center justify-content-between flex-wrap\">
  1081.                                                 <div class=\"filter-price-text\">
  1082.                                                     {{ 'Prezzo:'|trans }}
  1083.                                                     <span id=\"filter-price-range\"></span>
  1084.                                                 </div>
  1085.                                                 <!-- End .filter-price-text -->
  1086.                                                 <button type=\"submit\" id=\"submit-button\" class=\"btn btn-yellow\">{{ 'filtra'|trans }}</button>
  1087.                                             </div>
  1088.                                             <!-- End .filter-price-action -->                                                                             
  1089.                                 </div>
  1090.                                 <!-- End .widget-body -->
  1091.                             </div>
  1092.                             <!-- End .collapse -->
  1093.                         </div>
  1094.                         <!-- End .widget -->
  1095.                                                                                 
  1096.                             {% if(filterDefinition.filters|length > 0) %}
  1097.                                 {% for filter in filterDefinition.filters %}
  1098.                                     {% set filterMarkup = filterService.filterFrontend(filter, productListing, currentFilter) %}
  1099.                                     {{ filterMarkup | raw  }}
  1100.                                 {% endfor %}
  1101.                             {% endif %}
  1102.                             <!-- End .collapse -->                            
  1103.                         <!-- End .widget --> 
  1104.                                                    
  1105.                     </div>  
  1106.                     <input type=\"hidden\" name=\"orderby\" value=\"\" id=\"orderby\">   
  1107.                     <input type=\"hidden\" name=\"limit\" value=\"\" id=\"limit\" value=\"{{limit}}\" >  
  1108.                         
  1109.                     <input type=\"hidden\" name=\"max_range\" id=\"max_range\" class=\"max_range\" value=\"{{maxRange}}\" />              
  1110.                     </form>
  1111.                     <!-- End .sidebar-wrapper -->
  1112.                 </aside>
  1113.                 <!-- End .col-lg-3 -->
  1114.             </div>
  1115.             
  1116.         <!--  Brand banner -->
  1117.             {% if brandObj.footerBanner is not empty %}
  1118.             <div class=\"brand-banner\">
  1119.                 
  1120.                 {% if brandObj.footerLink %}
  1121.                    <a href=\"{{brandObj.footerLink.href}}\"><img src=\"{{brandObj.footerBanner.path}}{{brandObj.footerBanner.filename}}\"></a>
  1122.                 {% else %}
  1123.                     <img src=\"{{brandObj.footerBanner.path}}{{brandObj.footerBanner.filename}}\">
  1124.                 {% endif %}
  1125.             </div>
  1126.             {% endif %}
  1127.         </div><!-- End .container -->
  1128.                 {% if brandObj is not empty and brandObj.enableDedicatedPage %}
  1129.                 <style>
  1130.                     .intro-shopinshop .brand-box .cta .inner{
  1131.                         background-color: {% if brandObj.color %} {{brandObj.color.hex}} {% endif %};
  1132.                         border: 1px solid {% if brandObj.color %} {{brandObj.textColor.hex}} {% endif %};
  1133.                         color: {% if brandObj.color %} {{brandObj.textColor.hex}} {% endif %};
  1134.                     }
  1135.                     .intro-shopinshop .shop-slider .cta .inner{
  1136.                         background-color: {% if brandObj.color %} {{brandObj.color.hex}} {% endif %};
  1137.                         color: {% if brandObj.color %} {{brandObj.textColor.hex}} {% endif %};
  1138.                     }
  1139.                     .intro-shopinshop .shop-slider .owl-dots .owl-dot span {
  1140.                         border: 1px solid {% if brandObj.color %} {{brandObj.color.hex}} {% endif %};
  1141.                     }
  1142.                     .intro-shopinshop .shop-slider .owl-dots .owl-dot.active span,
  1143.                     .intro-shopinshop .shop-slider .owl-dots .owl-dot.active span:before {
  1144.                         background-color: {% if brandObj.color %} {{brandObj.color.hex}} {% endif %};
  1145.                     }
  1146.                 </style>
  1147.                 {% endif %}
  1148.     </div>
  1149. {% endblock %}""product_b2c/shop-in-shop_b2c_listing.html.twig""/home/ubuntu/mecstore/website/templates/product_b2c/shop-in-shop_b2c_listing.html.twig");
  1150.     }
  1151. }